示例#1
0
 public Command()
 {
     TextureStages = new TextureStage[16];
     for (int stage = 0; stage < 16; stage++)
     {
         TextureStages[stage] = new TextureStage();
     }
 }
示例#2
0
 public FrameState()
 {
     // Create the commands texture stage data
     TextureStages = new TextureStage[numStages];
     for (int i = 0; i < numStages; i++)
     {
         TextureStages[i] = new TextureStage();
     }
 }