public void AttachShaders() { this.AttachShaders(this.vert, this.frag, this.geom); }
protected override void OnCopyDataTo(object target, ICloneOperation operation) { base.OnCopyDataTo(target, operation); ShaderProgram targetShader = target as ShaderProgram; targetShader.AttachShaders(); targetShader.Compile(); }