Click or drag to resize

Shader.Source Property

Get, set or replace the source code in a shader object.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public string Source { get; set; }

Property Value

Type: String
Exceptions
ExceptionCondition
GLExceptionInvalidOperation if a shader compiler is not supported.
Remarks
When setting, any source code previously stored in the shader object is completely replaced.

OpenGL API: glShaderSource, glGetShaderSource

See Also