glwt.program

Undocumented in source.

Members

Aliases

bind
alias bind = use

glUseProgram wrapper. Binds program to be used by future calls.

getAttribLocation
alias getAttribLocation = getAttribute
getAttributeLocation
alias getAttributeLocation = getAttribute

glGetAttribLocation wrapper

getUniformLocation
alias getUniformLocation = getUniform

glGetUniformLocation

setUniform
alias setUniform = uniform
Undocumented in source.
setUniformArray
alias setUniformArray = uniformArray
Undocumented in source.
setUniformMatrices
alias setUniformMatrices = uniformMatrices
Undocumented in source.
setUniformMatrix
alias setUniformMatrix = uniformMatrix
Undocumented in source.
setUniformVector
alias setUniformVector = uniformVector
Undocumented in source.

Functions

attach
void attach(Program program, Shader!shaderType shader)

glAttachShader wrapper

checkError
void checkError(T id)
Undocumented in source. Be warned that the author may not have intended to support it.
create
void create(Program program)

glCreateShader wrapper.

del
void del(Program program)

glDeleteProgram wrapper.

getAttribute
int getAttribute(Program program, string name)

glGetAttribLocation wrapper

getUniform
int getUniform(Program program, string name)

glGetUniformLocation

link
void link(Program program)

glLinkProgram wrapper

uniform
void uniform(Program program, int uniform, Type value)

glUniform wrapper

uniformArray
void uniformArray(Program program, int uniform, Type[size][length] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniformMatrices
void uniformMatrices(Program program, int uniform, Type[width][height][amount] value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
uniformMatrix
void uniformMatrix(Program program, int uniform, Type[width][height] value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniformVector
void uniformVector(Program program, int uniform, Type[size] value)
Undocumented in source. Be warned that the author may not have intended to support it.
use
void use(Program program)

glUseProgram wrapper. Binds program to be used by future calls.

Structs

Program
struct Program

A wrapper for a program.

Variables

program_ensureBound_m
enum string program_ensureBound_m;
Undocumented in source.
program_ensureGen_m
enum string program_ensureGen_m;
Undocumented in source.

Meta