Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
VertexStreamStruct Struct Reference

#include <shdinterface.h>

Public Member Functions

 VertexStreamStruct ()
 

Public Attributes

const Vector3Locations
 
const Vector3Normals
 
const Vector2UV [MAX_TEXTURE_STAGES]
 
const unsigned * DiffuseInt
 
const Vector4DiffuseFloat
 
const Vector3S
 
const Vector3T
 
const Vector3SxT
 

Detailed Description

Utility structure for passing in streams to the shader. Those streams that are not available will be NULL, and the shader should ASSERT that it is passed everything it needs in its Copy_Vertex_Stream() function. The caller of the Copy_Vertex_Stream() should use query functions (such as Requires_Normals()) in the definition to determine which streams the shader needs.

Definition at line 63 of file shdinterface.h.

Constructor & Destructor Documentation

◆ VertexStreamStruct()

VertexStreamStruct::VertexStreamStruct ( )
inline

Definition at line 65 of file shdinterface.h.

Member Data Documentation

◆ DiffuseFloat

const Vector4* VertexStreamStruct::DiffuseFloat

Definition at line 81 of file shdinterface.h.

◆ DiffuseInt

const unsigned* VertexStreamStruct::DiffuseInt

Definition at line 80 of file shdinterface.h.

◆ Locations

const Vector3* VertexStreamStruct::Locations

Definition at line 77 of file shdinterface.h.

◆ Normals

const Vector3* VertexStreamStruct::Normals

Definition at line 78 of file shdinterface.h.

◆ S

const Vector3* VertexStreamStruct::S

Definition at line 82 of file shdinterface.h.

◆ SxT

const Vector3* VertexStreamStruct::SxT

Definition at line 84 of file shdinterface.h.

◆ T

const Vector3* VertexStreamStruct::T

Definition at line 83 of file shdinterface.h.

◆ UV

const Vector2* VertexStreamStruct::UV[MAX_TEXTURE_STAGES]

Definition at line 79 of file shdinterface.h.


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