#include <materialinstance.h>
Public Attributes | |
ResourcePtr< Material > | mMaterial |
Property: "Material" source material. More... | |
EBlendMode | mBlendMode = EBlendMode::NotSet |
Property: "BlendMode" Blend mode override. Uses source material blend mode by default. More... | |
EDepthMode | mDepthMode = EDepthMode::NotSet |
Property: "DepthMode" Depth mode override. Uses source material depth mode by default. 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... | |
MaterialInstanceResource is the 'resource' or 'data' counterpart of MaterialInstance, intended to be used as fields in ComponentResources. The object must be passed to MaterialInstance's init() function.
EBlendMode mBlendMode = EBlendMode::NotSet |
Property: "BlendMode" Blend mode override. Uses source material blend mode by default.
EDepthMode mDepthMode = EDepthMode::NotSet |
Property: "DepthMode" Depth mode override. Uses source material depth mode by default.
ResourcePtr<Material> mMaterial |
Property: "Material" source material.