Luna::RHI::IDevice::new_query_heap

virtual R< Ref< IQueryHeap > > new_query_heap(const QueryHeapDesc &desc)=0

Creates one new query heap that can be used to store GPU query result.

Parameters

  • in desc

    The descriptor object.

Return value

Returns the created query heap object.