Programming API Reference: EduGraf.OpenGL

Class public GlShading

: Shading
This is the generic shading implementation for OpenGL.
Property public GlApi Api { get; }: Ditto.

Constructor()

Create a new shading.
  • string name
  • GlGraphic graphic
  • string vertexShader
  • string fragShader

Constructor()

Create a new shading.

Constructor()

Create a new shading.

Method protected void DoInContext()

Execute the action in the context of this shader.
  • Action action

Method protected void Set()

Pass value for name to the shader.
  • string name
  • int value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • uint value
  • string glslType
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • bool value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • float value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • Color3 value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • Color4 value
  • bool checked

Method protected void Set()

Pass value for name to the shader.

Method protected void Set()

Pass value for name to the shader.

Method protected void Set()

Pass value for name to the shader.

Method protected void Set()

Pass value for name to the shader.
  • string name
  • bool transpose
  • Matrix2 value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • bool transpose
  • Matrix3 value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • bool transpose
  • Matrix4 value
  • bool checked

Method protected void Set()

Pass value for name to the shader.
  • string name
  • int dimensions
  • float[values
  • bool checked

Method protected void Reset()

Reset value for name in the shader.
  • string input
  • bool assertExists