RavEngine
Loading...
Searching...
No Matches
RavEngine::MeshParticleRenderMaterialInstance Struct Reference
Inheritance diagram for RavEngine::MeshParticleRenderMaterialInstance:
[legend]
Collaboration diagram for RavEngine::MeshParticleRenderMaterialInstance:
[legend]

Public Types

using MaterialVariant = std::variant< Ref< MeshParticleRenderMaterial< LightingMode::Lit > >, Ref< MeshParticleRenderMaterial< LightingMode::Unlit > > >
 

Public Member Functions

 MeshParticleRenderMaterialInstance (const decltype(material)&mat, Ref< MeshCollectionStatic > meshes)
 
 MeshParticleRenderMaterialInstance (const decltype(material)&mat, Ref< MeshCollectionStatic > meshes, Ref< MeshParticleMeshSelectionMaterialInstance > customSelection)
 
void SetMeshSelectionFunction (const Ref< MeshParticleMeshSelectionMaterialInstance > selfn)
 
auto GetMaterial () const
 
- Public Member Functions inherited from RavEngine::ParticleRenderMaterialInstance
virtual uint8_t SetPushConstantData (std::span< std::byte, 128 > data) const
 

Static Public Attributes

static constexpr uint32_t kEngineDataBinding = 21
 

Friends

class RenderEngine
 

Additional Inherited Members

- Protected Attributes inherited from RavEngine::ParticleRenderMaterialInstance
std::array< Ref< Texture >, 16 > textureBindings
 
std::bitset< 16 > samplerBindings
 

The documentation for this struct was generated from the following file: