Changeset 3032
- Timestamp:
- 10/15/08 18:53:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShaderProgram.h
r3029 r3032 32 32 class GPUProgramParameters 33 33 { 34 struct Parameter Value1f34 struct ParameterFloat 35 35 { 36 unsigned int mParameterIdx;37 float mValue;36 float mValues[4]; 37 int numEntries; 38 38 }; 39 39 40 struct ParameterValue 2f40 struct ParameterValueArray 41 41 { 42 unsigned int mParameterIdx; 43 float mValue; 42 float mValues[256]; 43 int numEntries; 44 45 float numComponents; 44 46 }; 45 47 46 struct ParameterValue3f 47 {48 unsigned int mParameterIdx; 49 float mValue;50 };48 49 std::map<int, ParameterFloat> mParametersFloat; 50 51 std::map<int, int> mParametersTex; 52 std::map<int, Matrix4x4 *> mParametersMatrix; 51 53 }; 52 54 … … 102 104 103 105 CGprogram mProgram; 106 107 CGParameterArray mParameters; 104 108 }; 105 109
Note: See TracChangeset
for help on using the changeset viewer.