Open 3D Engine Meshlets Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Meshlets::MeshletsRenderPass Class Reference

Inherits RPI::RasterPass, and RPI::ShaderReloadNotificationBus::Handler.

Public Member Functions

 AZ_RTTI (MeshletsRenderPass, "{753E455B-8E36-4DC3-B315-789F0EF0483C}", RasterPass)
 
 AZ_CLASS_ALLOCATOR (MeshletsRenderPass, SystemAllocator)
 
bool FillDrawRequestData (RHI::DrawPacketBuilder::DrawRequest &drawRequest)
 
bool AddDrawPackets (AZStd::list< const RHI::DrawPacket * > drawPackets)
 
Data::Instance< RPI::Shader > GetShader ()
 
void SetFeatureProcessor (MeshletsFeatureProcessor *featureProcessor)
 

Static Public Member Functions

static RPI::Ptr< MeshletsRenderPassCreate (const RPI::PassDescriptor &descriptor)
 

Protected Member Functions

 MeshletsRenderPass (const RPI::PassDescriptor &descriptor)
 
void OnShaderReinitialized (const RPI::Shader &shader) override
 
void OnShaderAssetReinitialized (const Data::Asset< RPI::ShaderAsset > &shaderAsset) override
 
void OnShaderVariantReinitialized (const AZ::RPI::ShaderVariant &shaderVariant) override
 
void SetShaderPath (const char *shaderPath)
 
bool LoadShader ()
 
bool InitializePipelineState ()
 
bool AcquireFeatureProcessor ()
 
void BuildShaderAndRenderData ()
 
void CompileResources (const RHI::FrameGraphCompileContext &context) override
 

Protected Attributes

MeshletsFeatureProcessorm_featureProcessor = nullptr
 
Data::Instance< RPI::Shader > m_shader = nullptr
 
AZStd::string m_shaderPath = "dummyShaderPath"
 
RPI::PassDescriptor m_passDescriptor
 
const RHI::PipelineState * m_pipelineState = nullptr
 
RPI::ViewPtr m_currentView = nullptr
 

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