DDraceNetwork Docs
CCommandProcessorFragment_SDL Class Reference

#include <backend_sdl.h>

Classes

struct  SCommand_Init
 
struct  SCommand_Shutdown
 

Public Types

enum  { CMD_INIT = CCommandBuffer::CMDGROUP_PLATFORM_SDL , CMD_SHUTDOWN }
 

Public Member Functions

 CCommandProcessorFragment_SDL ()
 
bool RunCommand (const CCommandBuffer::SCommand *pBaseCommand)
 

Private Member Functions

void Cmd_Init (const SCommand_Init *pCommand)
 
void Cmd_Shutdown (const SCommand_Shutdown *pCommand)
 
void Cmd_Swap (const CCommandBuffer::SCommand_Swap *pCommand)
 
void Cmd_VSync (const CCommandBuffer::SCommand_VSync *pCommand)
 
void Cmd_WindowCreateNtf (const CCommandBuffer::SCommand_WindowCreateNtf *pCommand)
 
void Cmd_WindowDestroyNtf (const CCommandBuffer::SCommand_WindowDestroyNtf *pCommand)
 

Private Attributes

SDL_Window * m_pWindow = nullptr
 
SDL_GLContext m_GLContext = nullptr
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CMD_INIT 
CMD_SHUTDOWN 

Constructor & Destructor Documentation

◆ CCommandProcessorFragment_SDL()

CCommandProcessorFragment_SDL::CCommandProcessorFragment_SDL ( )
default

Member Function Documentation

◆ Cmd_Init()

void CCommandProcessorFragment_SDL::Cmd_Init ( const SCommand_Init pCommand)
private

◆ Cmd_Shutdown()

void CCommandProcessorFragment_SDL::Cmd_Shutdown ( const SCommand_Shutdown pCommand)
private

◆ Cmd_Swap()

void CCommandProcessorFragment_SDL::Cmd_Swap ( const CCommandBuffer::SCommand_Swap pCommand)
private

◆ Cmd_VSync()

void CCommandProcessorFragment_SDL::Cmd_VSync ( const CCommandBuffer::SCommand_VSync pCommand)
private

◆ Cmd_WindowCreateNtf()

void CCommandProcessorFragment_SDL::Cmd_WindowCreateNtf ( const CCommandBuffer::SCommand_WindowCreateNtf pCommand)
private

◆ Cmd_WindowDestroyNtf()

void CCommandProcessorFragment_SDL::Cmd_WindowDestroyNtf ( const CCommandBuffer::SCommand_WindowDestroyNtf pCommand)
private

◆ RunCommand()

bool CCommandProcessorFragment_SDL::RunCommand ( const CCommandBuffer::SCommand pBaseCommand)

Member Data Documentation

◆ m_GLContext

SDL_GLContext CCommandProcessorFragment_SDL::m_GLContext = nullptr
private

◆ m_pWindow

SDL_Window* CCommandProcessorFragment_SDL::m_pWindow = nullptr
private

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