Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CProfiler2GPU Class Reference

Used by CProfiler2 for GPU profiling support. More...

#include <Profiler2GPU.h>

Collaboration diagram for CProfiler2GPU:

Public Member Functions

 CProfiler2GPU (CProfiler2 &profiler)
 
 ~CProfiler2GPU ()
 
void FrameStart (Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
 
void FrameEnd (Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
 
void RegionEnter (Renderer::Backend::IDeviceCommandContext *deviceCommandContext, const char *id)
 
void RegionLeave (Renderer::Backend::IDeviceCommandContext *deviceCommandContext, const char *id)
 

Private Member Functions

 NONCOPYABLE (CProfiler2GPU)
 

Private Attributes

CProfiler2 & m_Profiler
 
std::unique_ptr< CProfiler2GPUImpl > m_Impl
 

Detailed Description

Used by CProfiler2 for GPU profiling support.

Constructor & Destructor Documentation

◆ CProfiler2GPU()

CProfiler2GPU::CProfiler2GPU ( CProfiler2 &  profiler)

◆ ~CProfiler2GPU()

CProfiler2GPU::~CProfiler2GPU ( )
default

Member Function Documentation

◆ FrameEnd()

void CProfiler2GPU::FrameEnd ( Renderer::Backend::IDeviceCommandContext *  deviceCommandContext)

◆ FrameStart()

void CProfiler2GPU::FrameStart ( Renderer::Backend::IDeviceCommandContext *  deviceCommandContext)

◆ NONCOPYABLE()

CProfiler2GPU::NONCOPYABLE ( CProfiler2GPU  )
private

◆ RegionEnter()

void CProfiler2GPU::RegionEnter ( Renderer::Backend::IDeviceCommandContext *  deviceCommandContext,
const char *  id 
)

◆ RegionLeave()

void CProfiler2GPU::RegionLeave ( Renderer::Backend::IDeviceCommandContext *  deviceCommandContext,
const char *  id 
)

Member Data Documentation

◆ m_Impl

std::unique_ptr<CProfiler2GPUImpl> CProfiler2GPU::m_Impl
private

◆ m_Profiler

CProfiler2& CProfiler2GPU::m_Profiler
private

The documentation for this class was generated from the following files: