Pyrogenesis trunk
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CDecalRData Class Reference

#include <DecalRData.h>

Inheritance diagram for CDecalRData:
Inheritance graph
[legend]
Collaboration diagram for CDecalRData:
Collaboration graph
[legend]

Classes

struct  SDecalVertex
 

Public Member Functions

 CDecalRData (CModelDecal *decal, CSimulation2 *simulation)
 
 ~CDecalRData ()
 
void Update (CSimulation2 *simulation)
 
CModelDecalGetDecal ()
 
- Public Member Functions inherited from CRenderData
 CRenderData ()
 
virtual ~CRenderData ()
 

Static Public Member Functions

static Renderer::Backend::IVertexInputLayoutGetVertexInputLayout ()
 
static void RenderDecals (Renderer::Backend::IDeviceCommandContext *deviceCommandContext, Renderer::Backend::IVertexInputLayout *vertexInputLayout, const std::vector< CDecalRData * > &decals, const CShaderDefines &context, ShadowMap *shadow)
 

Private Member Functions

void BuildVertexData ()
 
 cassert (sizeof(SDecalVertex)==32)
 

Private Attributes

CVertexBufferManager::Handle m_VBDecals
 
CVertexBufferManager::Handle m_VBDecalsIndices
 
CModelDecalm_Decal
 
CSimulation2m_Simulation
 

Additional Inherited Members

- Public Attributes inherited from CRenderData
int m_UpdateFlags
 

Constructor & Destructor Documentation

◆ CDecalRData()

CDecalRData::CDecalRData ( CModelDecal decal,
CSimulation2 simulation 
)

◆ ~CDecalRData()

CDecalRData::~CDecalRData ( )
default

Member Function Documentation

◆ BuildVertexData()

void CDecalRData::BuildVertexData ( )
private

◆ cassert()

CDecalRData::cassert ( sizeof(SDecalVertex = =32)
private

◆ GetDecal()

CModelDecal * CDecalRData::GetDecal ( )
inline

◆ GetVertexInputLayout()

Renderer::Backend::IVertexInputLayout * CDecalRData::GetVertexInputLayout ( )
static

◆ RenderDecals()

void CDecalRData::RenderDecals ( Renderer::Backend::IDeviceCommandContext deviceCommandContext,
Renderer::Backend::IVertexInputLayout vertexInputLayout,
const std::vector< CDecalRData * > &  decals,
const CShaderDefines context,
ShadowMap shadow 
)
static

◆ Update()

void CDecalRData::Update ( CSimulation2 simulation)

Member Data Documentation

◆ m_Decal

CModelDecal* CDecalRData::m_Decal
private

◆ m_Simulation

CSimulation2* CDecalRData::m_Simulation
private

◆ m_VBDecals

CVertexBufferManager::Handle CDecalRData::m_VBDecals
private

◆ m_VBDecalsIndices

CVertexBufferManager::Handle CDecalRData::m_VBDecalsIndices
private

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