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

Public Member Functions

 UnlitMaterial (const std::string_view vsh_name, const std::string_view fsh_name, const PipelineOptions &pipeOptions={}, const MaterialRenderOptions &options={ .requiredAttributes=defaultMeshAttributes })
 
 UnlitMaterial (const std::string_view name, const PipelineOptions &pipeOptions, const MaterialRenderOptions &options={ .requiredAttributes=defaultMeshAttributes })
 
- Public Member Functions inherited from RavEngine::Material
virtual ~Material ()
 
auto GetMainRenderPipeline () const
 
auto GetShadowRenderPipeline () const
 
auto GetDepthPrepassPipeline () const
 
MeshAttributes GetAttributes () const
 

Static Public Attributes

static constexpr MeshAttributes defaultMeshAttributes
 

Additional Inherited Members

- Protected Member Functions inherited from RavEngine::Material
bool IsTransparent () const
 
 Material (const std::string_view name, const MaterialConfig &config)
 
 Material (const std::string_view vsh_name, const std::string_view fsh_name, const MaterialConfig &config)
 
- Protected Attributes inherited from RavEngine::Material
RGLRenderPipelinePtr renderPipeline
 
RGLRenderPipelinePtr shadowRenderPipeline
 
RGLRenderPipelinePtr depthPrepassPipeline
 
RGLPipelineLayoutPtr pipelineLayout
 
OpacityMode opacityMode
 
const MeshAttributes requiredAttributes
 

Member Data Documentation

◆ defaultMeshAttributes

constexpr MeshAttributes RavEngine::UnlitMaterial::defaultMeshAttributes
staticconstexpr
Initial value:
= {
.position = true,
.normal = true,
.tangent = true,
.bitangent = true,
.uv0 = true,
.lightmapUV = false,
}

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