 | 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)
Syntaxpublic string Source { get; set; }
Public Property Source As String
Get
Set
public:
property String^ Source {
String^ get ();
void set (String^ value);
}
member Source : string with get, set
Property Value
Type:
String
ExceptionsException | Condition |
---|
GLException | InvalidOperation 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