struct ProfileGPUBlock

Helper class that performs GPU profiling in the current block.

Profiling sample is started when the class is constructed and ended upon destruction.

Public

Constructors

ProfileGPUBlock

ProfileGPUBlock(render::GpuCommandBuffer &commandBuffer, ProfilerString name)

Methods

~ProfileGPUBlock

~ProfileGPUBlock() noexcept

Private

Fields

mCommandBuffer

render::GpuCommandBuffer & mCommandBuffer