|
| Program () |
|
virtual | ~Program () |
|
virtual void | init () |
|
DrawPrimitive | getDrawPrimitive () const |
|
void | setDrawPrimitive (DrawPrimitive drawPrimitive) |
|
void | setElementBufferUsage (const DrawUsageHint usage) |
|
bool | hasShader (ShaderType shaderType) |
|
Shader * | getShader (ShaderType shaderType) |
|
HeapArray< Shader * > | getShaders () |
|
ProgramHandle | getHandle () |
|
void | create (const HeapArray< Shader * > &pShader) |
|
void | addVertexAttribute (const String &typeString, const String &str) |
|
void | addUniformBuffer (const String &typeString, const String &binding, ShaderType type, uint size=1) |
|
void | addUniformSampler (const String &typeString, const String &binding, ShaderType type, uint size=1) |
|
void | addPushConstant (const String &typeString, const String &binding, ShaderType type) |
|
void | addVarying (ShaderType type, const Varying &varying, VaryingLocation location) |
|
void | addVarying (const String &typeString, const String &str, ShaderType type, bool out, uint size=1) |
|
bool | hasVertexAttribute (const String &str) |
|
bool | hasVertexAttribute (const char *str) |
|
bool | hasUniform (const String &str, ShaderType type) |
|
bool | hasVarying (const String &str, ShaderType type) |
|
bool | hasVarying (ShaderType type) |
|
VaryingLocation | getVaryingLocation (const Varying &varying) |
|
const HeapArray< Varying > & | getVarying (ShaderType type) |
|
const Attribute & | getAttribute (const String &str) |
|
UniformBinding | getUniformBinding (const String &str) |
|
ProgramHandle | getProgramHandle () |
|
void | enable () |
|
bool | hasEnableState (PipelineState state) |
|
void | addEnableState (PipelineState state) |
|
void | removeEnableState (PipelineState state) |
|
void | setStates () |
|
bool | isTransparent () |
|
void | setTransparent (bool transparent=true) |
|
void | setStencilComparisonArgs (CompareOperation stencilTestFunction, int stencilComparisonValue, Handle stencilComparisonMask) |
|
void | setStencilOperationArgs (StencilOperation stencilOperationFail, StencilOperation stencilOperationDepthFail, StencilOperation stencilOperationDepthPass) |
|
void | setDepthTestFunction (CompareOperation function) |
|
void | setLineWidth (float width) |
|
void | setPatchControlPointSize (uint size) |
|
uint | getPatchControlPointSize () |
|
void | setBlendFactors (BlendFactor sBlendFactor, BlendFactor dBlendFactor) |
|
void | setBlend () |
|
void | bindAttributeBuffers () |
|
void | submit (ElementBuffer *pElementBuffer) |
|
void | submitUniforms () |
|
bool | hasUniform (UniformBinding binding) |
|
void | addUniformSampler2D (UniformBinding binding, Texture *pTexture, TextureType textureType=QUAD_MAP) |
|
void | addUniformSampler2D (UniformBinding binding, int textureUnit, TextureType textureType=QUAD_MAP) |
|
void | addUniformMatrix3f (UniformBinding binding, Matrix3f *pMatrix=nullptr, uint count=1) |
|
void | addUniformMatrix4f (UniformBinding binding, Matrix4f *pMatrix=nullptr, uint count=1) |
|
void | addUniformValue1i (UniformBinding binding, int value) |
|
void | addUniformValue1f (UniformBinding binding, float value) |
|
void | addUniformBuffer1i (UniformBinding binding, int *pValue, uint count=1) |
|
void | addUniformBuffer1f (UniformBinding binding, float *pValue, uint count=1) |
|
void | addUniformBuffer2f (UniformBinding binding, float *pArray, uint count=1) |
|
void | addUniformBuffer3f (UniformBinding binding, float *pArray, uint count=1) |
|
void | addUniformBuffer4f (UniformBinding binding, float *pArray, uint count=1) |
|
void | setUniformBuffer2f (UniformBinding binding, float *pArray) |
|
void | setUniformBuffer3f (UniformBinding binding, float *pArray) |
|
void | setUniformBuffer4f (UniformBinding binding, float *pArray) |
|
void | setUniformValue1i (UniformBinding location, int value) |
|
void | setUniformValue1f (UniformBinding location, float value) |
|
void | setUniformBuffer1f (UniformBinding location, float *pBuffer) |
|
void | setUniformMatrix3f (UniformBinding binding, Matrix3f *pMatrix) |
|
void | setUniformMatrix4f (UniformBinding binding, Matrix4f *pMatrix) |
|
void | setUniformSampler2D (UniformBinding binding, Texture *pTexture, TextureType textureType) |
|
| DynamicType () |
|
template<class C > |
void | addType () |
|
TypeID | getDerivedTypeId () const |
|
template<class C > |
const bool | isType () const |
|
template<class C > |
const C * | cast () const |
|
template<class C > |
C * | cast () |
|
template<class FROM , class TO > |
TO * | cast () |
|
template<class FROM , class TO > |
const TO * | cast () const |
|