#include <shdinterface.h>
Public Member Functions | |
| VertexStreamStruct () | |
Public Attributes | |
| const Vector3 * | Locations |
| const Vector3 * | Normals |
| const Vector2 * | UV [MAX_TEXTURE_STAGES] |
| const unsigned * | DiffuseInt |
| const Vector4 * | DiffuseFloat |
| const Vector3 * | S |
| const Vector3 * | T |
| const Vector3 * | SxT |
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.
|
inline |
Definition at line 65 of file shdinterface.h.
| const Vector4* VertexStreamStruct::DiffuseFloat |
Definition at line 81 of file shdinterface.h.
| const unsigned* VertexStreamStruct::DiffuseInt |
Definition at line 80 of file shdinterface.h.
| const Vector3* VertexStreamStruct::Locations |
Definition at line 77 of file shdinterface.h.
| const Vector3* VertexStreamStruct::Normals |
Definition at line 78 of file shdinterface.h.
| const Vector3* VertexStreamStruct::S |
Definition at line 82 of file shdinterface.h.
| const Vector3* VertexStreamStruct::SxT |
Definition at line 84 of file shdinterface.h.
| const Vector3* VertexStreamStruct::T |
Definition at line 83 of file shdinterface.h.
| const Vector2* VertexStreamStruct::UV[MAX_TEXTURE_STAGES] |
Definition at line 79 of file shdinterface.h.