mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-17 21:53:47 +00:00
Merge branch 'CustomShaderFeatures' of https://github.com/Areloch/Torque3D into development
This commit is contained in:
commit
741fcaed5a
37 changed files with 1365 additions and 38 deletions
|
|
@ -473,6 +473,12 @@ void MatInstance::setNodeTransforms(const MatrixF *address, const U32 numTransfo
|
|||
mProcessedMaterial->setNodeTransforms(address, numTransforms, getCurPass());
|
||||
}
|
||||
|
||||
void MatInstance::setCustomShaderData(Vector<CustomShaderBindingData> &shaderData)
|
||||
{
|
||||
PROFILE_SCOPE(MatInstance_setCustomShaderData);
|
||||
mProcessedMaterial->setCustomShaderData(shaderData, getCurPass());
|
||||
}
|
||||
|
||||
void MatInstance::setSceneInfo(SceneRenderState * state, const SceneData& sgData)
|
||||
{
|
||||
PROFILE_SCOPE(MatInstance_setSceneInfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue