public GBufferShaderStep(string name) { this.Name = name; this.vertexVBO = new VBO(this.Name + "_v"); this.indexVBO = new VBO(this.Name + "_i", BufferTarget.ElementArrayBuffer); this.gbuffer = new GBuffer(this.Name + "_gb", false); this.program = new ShaderProgram(this.Name + "_sp"); }
public GBufferCombiner(GBuffer gb, ShaderProgram prog) : this(gb) { this.CombineProgram = prog; }
public GBufferCombiner(GBuffer gb) : this() { this.GBuffer = gb; }