gapi.shader

Undocumented in source.

Members

Classes

ShaderError
class ShaderError
Undocumented in source.

Enums

ShaderType
enum ShaderType
Undocumented in source.

Functions

bindShaderProgram
void bindShaderProgram(ShaderProgram program)
Undocumented in source. Be warned that the author may not have intended to support it.
checkProgramStatus
GLint checkProgramStatus(ShaderProgram program, GLenum pname)
Undocumented in source. Be warned that the author may not have intended to support it.
checkShaderStatus
GLint checkShaderStatus(Shader shader, GLenum pname)
Undocumented in source. Be warned that the author may not have intended to support it.
createShader
Shader createShader(string name, ShaderType shaderType, string source)
Undocumented in source. Be warned that the author may not have intended to support it.
createShaderProgram
ShaderProgram createShaderProgram(string name, Shader[] shaders)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteShaderProgram
void deleteShaderProgram(ShaderProgram program)
Undocumented in source. Be warned that the author may not have intended to support it.
getShaderLocation
GLuint getShaderLocation(ShaderProgram program, string location)
Undocumented in source. Be warned that the author may not have intended to support it.
unbindShaderProgram
void unbindShaderProgram()
Undocumented in source. Be warned that the author may not have intended to support it.
validateShaderProgram
void validateShaderProgram(ShaderProgram program)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Shader
struct Shader
Undocumented in source.
ShaderProgram
struct ShaderProgram
Undocumented in source.

Variables

inAttrColors
auto inAttrColors;
Undocumented in source.
inAttrNormals
auto inAttrNormals;
Undocumented in source.
inAttrPosition
auto inAttrPosition;
Undocumented in source.
inAttrTextCoords
auto inAttrTextCoords;
Undocumented in source.

Meta