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