public TexturedGraphicModule(string programID) { _programID = programID; Program = MainGraphic.GetProgramById(_programID); Program.DisposeChildren = true; Data = new ShaderData(); }
public GraphicModule(string programID, int shaderSize, Color shaderColor) { _programID = programID; _shaderSize = shaderSize; _shaderColor = shaderColor; Program = MainGraphic.GetProgramById(_programID); Program.DisposeChildren = true; Data = new ShaderData(shaderColor); }