Programming API Reference: EduGraf.OpenGL
Class public GlShading
This is the generic shading implementation for OpenGL.Property public GlApi
Api { get; }: Ditto.Constructor()
string
nameGlGraphic
graphicstring
vertexShaderstring
fragShader
Constructor()
Constructor()
Method protected void
DoInContext()
Execute the action in the context of this shader.Method protected void
Set()
Pass value for name to the shader.string
nameint
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
nameuint
valuestring
glslTypebool
checked
Method protected void
Set()
Pass value for name to the shader.string
namebool
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
namefloat
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
nameColor3
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
nameColor4
valuebool
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
namebool
transposeMatrix2
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
namebool
transposeMatrix3
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
namebool
transposeMatrix4
valuebool
checked
Method protected void
Set()
Pass value for name to the shader.string
nameint
dimensionsfloat
[
] valuesbool
checked
Method protected void
Reset()
Reset value for name in the shader.string
inputbool
assertExists