|
| enum | Errors { NO_LOCATION = -1
} |
| |
| typedef Handle | AttributeLocation |
| |
| typedef Handle | VaryingLocation |
| |
| typedef Handle | UniformBinding |
| |
| typedef UnorderedMap< AttributeLocation, AttributeBuffer * > | LocationAttributeBufferMap |
| |
| typedef UnorderedMap< UniformBinding, Uniform * > | BindingUniformMap |
| |
| typedef UnorderedMap< AttributeLocation, bool > | AttributeEnabled |
| |
| typedef UnorderedMap< String, Handle > | StringLocation |
| |
| typedef UnorderedMap< UniformBinding, int > | BindingIntMap |
| |
| typedef UnorderedMap< UniformBinding, float > | BindingFloatMap |
| |
| typedef UnorderedMap< UniformBinding, int > | BindingIntPointerMap |
| |
| typedef UnorderedMap< UniformBinding, float > | BindingFloatPointerMap |
| |
| typedef UnorderedMap< UniformBinding, Vector2fArray > | BindingVector2fArrayMap |
| |
| typedef UnorderedMap< UniformBinding, Vector3fArray > | BindingVector3fArrayMap |
| |
| typedef UnorderedMap< UniformBinding, Vector4fArray > | BindingVector4fArrayMap |
| |
| typedef UnorderedMap< UniformBinding, HeapArray< Matrix3f > > | BindingMatrix3fArrayMap |
| |
| typedef UnorderedMap< UniformBinding, HeapArray< Matrix4f > > | BindingMatrix4fArrayMap |
| |
| typedef UnorderedMap< UniformBinding, UniformDescriptorType > | BindingDescriptorTypeMap |
| |
|
| | Program () |
| |
| virtual | ~Program () |
| |
| virtual void | init () |
| |
| void | update () |
| |
| DrawPrimitive | getDrawPrimitive () const |
| |
| void | setDrawPrimitive (DrawPrimitive drawPrimitive) |
| |
| void | setElementBufferUsage (const DrawUsageHint usage) |
| |
| bool | hasUniformBuffer (UniformBinding binding) |
| |
| void | addUniformMatrix3f (UniformBinding binding, Matrix3f *pMatrix=nullptr, uint count=1) |
| |
| void | addUniformMatrix4f (UniformBinding binding, Matrix4f *pMatrix=nullptr, uint count=1) |
| |
| void | setUniformMatrix4f (UniformBinding binding, Matrix4f *pMatrix) |
| |
| void | addUniformValue1i (UniformBinding binding, int value) |
| |
| void | addUniformSampler2D (UniformBinding binding, Texture *pTexture, TextureType textureType=QUAD_MAP) |
| |
| void | addUniformSampler2D (UniformBinding binding, TextureUnit textureUnit, TextureType textureType=QUAD_MAP) |
| |
| void | addUniformValue1f (UniformBinding binding, float value) |
| |
| void | updateUniformValue1i (UniformBinding binding, int value) |
| |
| void | updateUniformValue1f (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) |
| |
| ProgramHandle | getHandle () |
| |
| void | create (const HeapArray< Shader * > &pShader) |
| |
| void | addGlobalAttribute (const String &typeString, const String &location) |
| |
| void | addGlobalUniform (const String &typeString, const String &binding, ShaderType type) |
| |
| void | addGlobalSampler (const String &typeString, const String &binding) |
| |
| void | addGlobalVarying (const String &typeString, const String &location) |
| |
| bool | hasGlobalAttribute (const String &location) |
| |
| bool | hasGlobalAttribute (const String &typeString, const String &location) |
| |
| bool | hasGlobalUniform (const String &location, ShaderType type) |
| |
| bool | hasGlobalVarying (const String &location) |
| |
| AttributeLocation | getAttributeLocation (const String &str) |
| |
| UniformBinding | getUniformBinding (const String &str) |
| |
| ProgramHandle | getProgramHandle () |
| |
| bool | hasShader (ShaderType shaderType) |
| |
| Shader * | getShader (ShaderType shaderType) |
| |
| HeapArray< Shader * > | getShaders () |
| |
| bool | getDepthBufferWrite () |
| |
| void | enable () |
| |
| void | disable () |
| |
| 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 | setTriangleVertexOrientation (VertexOrientation orientation) |
| |
| void | setDepthTestFunction (CompareOperation function) |
| |
| void | setDepthBufferWrite (bool write=true) |
| |
| void | setLineWidth (float width) |
| |
| void | setBlendFactors (BlendFactor sBlendFactor, BlendFactor dBlendFactor) |
| |
| void | setBlend () |
| |
| void | bindAttributeBuffers () |
| |
| void | submit (ElementBuffer *pElementBuffer) |
| |
| void | submitUniforms () |
| |
| void | setUniformSampler2D (UniformBinding binding, Texture *pTexture, TextureType textureType) |
| |
| void | setUniformValue1i (UniformBinding location, int value) |
| |
| void | setUniformValue1f (UniformBinding location, float value) |
| |
| void | setUniformBuffer1f (UniformBinding location, float *pBuffer) |
| |
| void | updateUniformPointer1i (UniformBinding location, int count, int *pBuffer) |
| |
| void | updateUniformPointer1f (UniformBinding location, int count, float *pBuffer) |
| |
| void | updateUniformPointer2f (UniformBinding location, int count, float *pBuffer) |
| |
| void | updateUniformPointer3f (UniformBinding location, int count, float *pBuffer) |
| |
| void | updateUniformPointer4f (UniformBinding location, int count, float *pBuffer) |
| |
| void | updateUniformMatrix3f (UniformBinding location, int count, float *pBuffer) |
| |
| void | updateUniformMatrix4f (UniformBinding location, int count, float *pBuffer) |
| |
| | 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 |
| |