GLShaderProgram

Constructors

this
this(GLShader[] shs)

create()

Members

Functions

attachShaders
void attachShaders()

makes shaders if are not compiled and attach their

attribLocations
uint[string] attribLocations()
bindAttribLocations
void bindAttribLocations()

uses result of attribLocations() call, affect after link() call

bindFragDataLocations
void bindFragDataLocations()

uses result of fragDataLocations() call, affect after link() call

check
void check()

check link status, throw exception if false

create
void create()

create program, attach shaders, bind attrib locations, link program

detachShaders
void detachShaders()
fragDataLocations
uint[string] fragDataLocations()
id
uint id()
link
void link()

link program and check status

preChildsDestroy
void preChildsDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
selfConstruct
void selfConstruct()
Undocumented in source. Be warned that the author may not have intended to support it.
selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void use()

Mixins

__anonymous
mixin DES
Undocumented in source.
__anonymous
mixin ClassLogger
Undocumented in source.

Properties

thisInUse
bool thisInUse [@property getter]

check this is current shader program

thisInUse
bool thisInUse [@property setter]

glUseProgram, set this is current shader program or set zero (if u==false)

Variables

_id
uint _id;
Undocumented in source.
shaders
GLShader[] shaders;

Meta