ezEngine Release 26.9
Loading...
Searching...
No Matches
ezMeshRenderer Class Reference

#include <MeshRenderer.h>

Inheritance diagram for ezMeshRenderer:

Public Member Functions

virtual void GetSupportedRenderDataTypes (ezDynamicArray< const ezRTTI * > &out_types) const override
 
virtual void RenderBatch (const ezRenderViewContext &renderContext, const ezRenderPipelinePass *pPass, const ezRenderDataBatch &batch) const override
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTI * GetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Protected Member Functions

virtual void SetAdditionalData (const ezRenderViewContext &renderViewContext, const ezMeshRenderData *pRenderData) const
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTI * GetStaticRTTI ()
 

Detailed Description

Implements rendering of static meshes.

All meshes in one batch are rendered with a single instanced draw call.

Member Function Documentation

◆ GetSupportedRenderDataTypes()

void ezMeshRenderer::GetSupportedRenderDataTypes ( ezDynamicArray< const ezRTTI * > &  out_types) const
overridevirtual

Implements ezRenderer.

◆ RenderBatch()

void ezMeshRenderer::RenderBatch ( const ezRenderViewContext &  renderContext,
const ezRenderPipelinePass *  pPass,
const ezRenderDataBatch &  batch 
) const
overridevirtual

Implements ezRenderer.

◆ SetAdditionalData()

void ezMeshRenderer::SetAdditionalData ( const ezRenderViewContext &  renderViewContext,
const ezMeshRenderData *  pRenderData 
) const
protectedvirtual

Sets additional shader data specific to the current render data.

Can be overridden to bind custom per-object data.


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