Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
ShaderModelRendererInternals Struct Reference

Internal data of the ShaderModelRenderer. More...

Public Member Functions

 ShaderModelRendererInternals (ShaderModelRenderer *r)
 

Public Attributes

bool cpuLighting
 
char * normals
 Scratch space for normal vector calculation. More...
 
size_t normalsNumVertices
 
ShaderModelDefshadermodeldef
 Previously prepared modeldef. More...
 
ShaderModelRendererm_Renderer
 Back-link to "our" renderer. More...
 
ModelVertexRendererPtr vertexRenderer
 ModelVertexRenderer used for vertex transformations. More...
 
std::vector< CModel * > submissions
 List of submitted models for rendering in this frame. More...
 

Detailed Description

Internal data of the ShaderModelRenderer.

Separated into the source file to increase implementation hiding (and to avoid some causes of recompiles).

Definition at line 92 of file HWLightingModelRenderer.cpp.

Constructor & Destructor Documentation

ShaderModelRendererInternals::ShaderModelRendererInternals ( ShaderModelRenderer r)
inline

Definition at line 209 of file ModelRenderer.cpp.

Member Data Documentation

bool ShaderModelRendererInternals::cpuLighting

Definition at line 94 of file HWLightingModelRenderer.cpp.

ShaderModelRenderer* ShaderModelRendererInternals::m_Renderer

Back-link to "our" renderer.

Definition at line 212 of file ModelRenderer.cpp.

char* ShaderModelRendererInternals::normals

Scratch space for normal vector calculation.

Only used if cpuLighting == true. Space is reserved so we don't have to do frequent reallocations. Allocated with rtl_AllocateAligned(normalsNumVertices*16, 16) for SSE writes.

Definition at line 102 of file HWLightingModelRenderer.cpp.

size_t ShaderModelRendererInternals::normalsNumVertices

Definition at line 103 of file HWLightingModelRenderer.cpp.

ShaderModelDef* ShaderModelRendererInternals::shadermodeldef

Previously prepared modeldef.

Definition at line 106 of file HWLightingModelRenderer.cpp.

std::vector<CModel*> ShaderModelRendererInternals::submissions

List of submitted models for rendering in this frame.

Definition at line 218 of file ModelRenderer.cpp.

ModelVertexRendererPtr ShaderModelRendererInternals::vertexRenderer

ModelVertexRenderer used for vertex transformations.

Definition at line 215 of file ModelRenderer.cpp.


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