Programming API Reference: EduGraf.OpenGL

Class public GlShading

: Shading
This is the generic shading implementation for OpenGL.
Property public GlShadingAspect[Aspects { get; }: setting up shading context

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.
  • string name
  • Point3 value
  • bool checked

Method protected void Set()

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

Method protected void Set()

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

Method protected void SetMatrix2()

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

Method protected void SetMatrix3()

Pass value for name to the shader.
  • string name
  • bool transpose
  • float[elements
  • 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