#include <materialinstance.h>
Public Member Functions | |
ComputeMaterialInstanceResource () | |
![]() | |
rttr::property | getMaterialProperty () const |
const std::string & | getMaterialPropertyName () const |
Public Attributes | |
ResourcePtr< ComputeMaterial > | mComputeMaterial |
Property: "ComputeMaterial" source material. More... | |
![]() | |
std::vector< ResourcePtr< UniformStruct > > | mUniforms |
Property: "Uniforms" uniform structs to override. More... | |
std::vector< ResourcePtr< Sampler > > | mSamplers |
Property: "Samplers" samplers that you're overriding. More... | |
std::vector< ResourcePtr< BufferBinding > > | mBuffers |
Property: "Buffers" buffer bindings to override. More... | |
std::vector< ResourcePtr< ShaderConstant > > | mConstants |
Property: "Constants" shader constants to override. More... | |
Static Public Attributes | |
static constexpr const char * | matProperty = "ComputeMaterial" |
Additional Inherited Members | |
![]() | |
BaseMaterialInstanceResource (std::string &&materialPropertyName) | |
![]() | |
std::string | mMaterialPropertyName |
ComputeMaterialInstanceResource is the 'resource' or 'data' counterpart of ComputeMaterialInstance, intended to be used as fields in ComponentResources. The object must be passed to ComputeMaterialInstance's init() function.
|
staticconstexpr |
ResourcePtr<ComputeMaterial> mComputeMaterial |
Property: "ComputeMaterial" source material.