|
bool | SetInt (size_t chunk, size_t offset, int data) |
| Sets an integer that should be sent to the Material's pipeline when the material is bound. More...
|
|
bool | SetFloat (size_t chunk, size_t offset, float data) |
| Sets a float that should be sent to the Material's pipeline when the material is bound. More...
|
|
bool | SetFloat3 (size_t chunk, size_t offset, Math::Vector3 data) |
| Sets a Float3/Math::Vector3 that should be sent to the Material's pipeline when the material is bound. More...
|
|
bool | SetFloat4 (size_t chunk, size_t offset, Math::Vector4 data) |
| Sets a Float4/Math::Vector4 that should be sent to the Material's pipeline when the material is bound. More...
|
|
bool | SetMatrix4 (size_t chunk, size_t offset, Math::Matrix4 data) |
| Sets a Float16/Math::Vector4 that should be sent to the Material's pipeline when the material is bound. More...
|
|
virtual bool | VBindTexture (std::string name, TextureHandle texture)=0 |
|
virtual bool | VUnbindTexture (std::string name, TextureHandle texture)=0 |
|
virtual bool | VUpdate ()=0 |
|
virtual PipelineHandle const | VGetPipeline () const =0 |
|
bool Hatchit::Graphics::MaterialBase::SetFloat |
( |
size_t |
chunk, |
|
|
size_t |
offset, |
|
|
float |
data |
|
) |
| |
Sets a float that should be sent to the Material's pipeline when the material is bound.
- Parameters
-
chunk | The index describing which ShaderVariableChunk this data should be placed in |
offset | The offset describing how far into the chunk the data should be placed |
data | The data to actually insert into the material's shader info |
- Returns
- A boolean representing whether or not this operation succeeded
bool Hatchit::Graphics::MaterialBase::SetFloat3 |
( |
size_t |
chunk, |
|
|
size_t |
offset, |
|
|
Math::Vector3 |
data |
|
) |
| |
Sets a Float3/Math::Vector3 that should be sent to the Material's pipeline when the material is bound.
- Parameters
-
chunk | The index describing which ShaderVariableChunk this data should be placed in |
offset | The offset describing how far into the chunk the data should be placed |
data | The data to actually insert into the material's shader info |
- Returns
- A boolean representing whether or not this operation succeeded
bool Hatchit::Graphics::MaterialBase::SetFloat4 |
( |
size_t |
chunk, |
|
|
size_t |
offset, |
|
|
Math::Vector4 |
data |
|
) |
| |
Sets a Float4/Math::Vector4 that should be sent to the Material's pipeline when the material is bound.
- Parameters
-
chunk | The index describing which ShaderVariableChunk this data should be placed in |
offset | The offset describing how far into the chunk the data should be placed |
data | The data to actually insert into the material's shader info |
- Returns
- A boolean representing whether or not this operation succeeded
bool Hatchit::Graphics::MaterialBase::SetInt |
( |
size_t |
chunk, |
|
|
size_t |
offset, |
|
|
int |
data |
|
) |
| |
Sets an integer that should be sent to the Material's pipeline when the material is bound.
- Parameters
-
chunk | The index describing which ShaderVariableChunk this data should be placed in |
offset | The offset describing how far into the chunk the data should be placed |
data | The data to actually insert into the material's shader info |
- Returns
- A boolean representing whether or not this operation succeeded
bool Hatchit::Graphics::MaterialBase::SetMatrix4 |
( |
size_t |
chunk, |
|
|
size_t |
offset, |
|
|
Math::Matrix4 |
data |
|
) |
| |
Sets a Float16/Math::Vector4 that should be sent to the Material's pipeline when the material is bound.
- Parameters
-
chunk | The index describing which ShaderVariableChunk this data should be placed in |
offset | The offset describing how far into the chunk the data should be placed |
data | The data to actually insert into the material's shader info |
- Returns
- A boolean representing whether or not this operation succeeded
The documentation for this class was generated from the following files: