Documentation
Urho3D::ShaderParameter Struct Reference
Shader parameter definition. More...
#include <OGLShaderProgram.h>
Collaboration diagram for Urho3D::ShaderParameter:
Public Member Functions | |
| ShaderParameter () | |
| Construct with defaults. | |
| ShaderParameter (ShaderType type, const String &name, unsigned buffer, unsigned offset, unsigned size, ConstantBuffer *ptr=0) | |
| Construct with parameters. | |
| ShaderParameter () | |
| Construct with defaults. | |
Public Attributes | |
| ShaderType | type_ |
| Shader type. | |
| String | name_ |
| Name of the parameter. | |
| unsigned | buffer_ |
| Constant buffer index. | |
| unsigned | offset_ |
| Offset in constant buffer. | |
| unsigned | size_ |
| Size of parameter in bytes. | |
| ConstantBuffer * | bufferPtr_ |
| Constant buffer pointer. Defined only in shader programs. More... | |
| int | location_ |
| Uniform location or byte offset in constant buffer. | |
| unsigned | type_ |
| Element type. | |
Detailed Description
Shader parameter definition.
Member Data Documentation
| ConstantBuffer * Urho3D::ShaderParameter::bufferPtr_ |
Constant buffer pointer. Defined only in shader programs.
Constant buffer pointer.
The documentation for this struct was generated from the following files:
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/Direct3D11/D3D11ShaderVariation.h
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/OpenGL/OGLShaderProgram.h
