DDraceNetwork Docs
CCommandProcessorFragment_GLBase Class Referenceabstract

#include <backend_base.h>

Inheritance diagram for CCommandProcessorFragment_GLBase:
[legend]
Collaboration diagram for CCommandProcessorFragment_GLBase:
[legend]

Classes

struct  SCommand_Init
 
struct  SCommand_PostShutdown
 
struct  SCommand_PreInit
 
struct  SCommand_Shutdown
 

Public Types

enum  { CMD_PRE_INIT = CCommandBuffer::CMDGROUP_PLATFORM_GL , CMD_INIT , CMD_SHUTDOWN , CMD_POST_SHUTDOWN }
 

Public Member Functions

virtual ~CCommandProcessorFragment_GLBase ()=default
 
virtual ERunCommandReturnTypes RunCommand (const CCommandBuffer::SCommand *pBaseCommand)=0
 
virtual void StartCommands (size_t CommandCount, size_t EstimatedRenderCallCount)
 
virtual void EndCommands ()
 
const SGfxErrorContainerGetError ()
 
virtual void ErroneousCleanup ()
 
const SGfxWarningContainerGetWarning ()
 

Protected Member Functions

virtual bool GetPresentedImageData (uint32_t &Width, uint32_t &Height, CImageInfo::EImageFormat &Format, std::vector< uint8_t > &vDstData)=0
 

Static Protected Member Functions

static bool Texture2DTo3D (uint8_t *pImageBuffer, int ImageWidth, int ImageHeight, size_t PixelSize, int SplitCountWidth, int SplitCountHeight, uint8_t *pTarget3DImageData, int &Target3DImageWidth, int &Target3DImageHeight)
 

Protected Attributes

SGfxErrorContainer m_Error
 
SGfxWarningContainer m_Warning
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CMD_PRE_INIT 
CMD_INIT 
CMD_SHUTDOWN 
CMD_POST_SHUTDOWN 

Constructor & Destructor Documentation

◆ ~CCommandProcessorFragment_GLBase()

virtual CCommandProcessorFragment_GLBase::~CCommandProcessorFragment_GLBase ( )
virtualdefault

Member Function Documentation

◆ EndCommands()

virtual void CCommandProcessorFragment_GLBase::EndCommands ( )
inlinevirtual

◆ ErroneousCleanup()

virtual void CCommandProcessorFragment_GLBase::ErroneousCleanup ( )
inlinevirtual

◆ GetError()

const SGfxErrorContainer & CCommandProcessorFragment_GLBase::GetError ( )
inline

◆ GetPresentedImageData()

virtual bool CCommandProcessorFragment_GLBase::GetPresentedImageData ( uint32_t &  Width,
uint32_t &  Height,
CImageInfo::EImageFormat Format,
std::vector< uint8_t > &  vDstData 
)
protectedpure virtual

◆ GetWarning()

const SGfxWarningContainer & CCommandProcessorFragment_GLBase::GetWarning ( )
inline

◆ RunCommand()

virtual ERunCommandReturnTypes CCommandProcessorFragment_GLBase::RunCommand ( const CCommandBuffer::SCommand pBaseCommand)
pure virtual

◆ StartCommands()

virtual void CCommandProcessorFragment_GLBase::StartCommands ( size_t  CommandCount,
size_t  EstimatedRenderCallCount 
)
inlinevirtual

◆ Texture2DTo3D()

bool CCommandProcessorFragment_GLBase::Texture2DTo3D ( uint8_t *  pImageBuffer,
int  ImageWidth,
int  ImageHeight,
size_t  PixelSize,
int  SplitCountWidth,
int  SplitCountHeight,
uint8_t *  pTarget3DImageData,
int &  Target3DImageWidth,
int &  Target3DImageHeight 
)
staticprotected

Member Data Documentation

◆ m_Error

SGfxErrorContainer CCommandProcessorFragment_GLBase::m_Error
protected

◆ m_Warning

SGfxWarningContainer CCommandProcessorFragment_GLBase::m_Warning
protected

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