Open 3D Engine AtomLyIntegration 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::Render::EditorStateMeshDrawPacket Class Reference

#include <EditorStateMeshDrawPacket.h>

Public Types

using ShaderList = AZStd::vector< Data::Instance< RPI::Shader > >
 

Public Member Functions

 EditorStateMeshDrawPacket (RPI::ModelLod &modelLod, size_t modelLodMeshIndex, Data::Instance< RPI::Material > materialOverride, AZ::Name drawList, Data::Instance< RPI::ShaderResourceGroup > objectSrg, const RPI::MaterialModelUvOverrideMap &materialModelUvMap={})
 
 AZ_DEFAULT_COPY (EditorStateMeshDrawPacket)
 
 AZ_DEFAULT_MOVE (EditorStateMeshDrawPacket)
 
bool Update (const RPI::Scene &parentScene, bool forceUpdate=false)
 
const RHI::DrawPacket * GetRHIDrawPacket () const
 
void SetStencilRef (uint8_t stencilRef)
 
void SetSortKey (RHI::DrawItemSortKey sortKey)
 
bool SetShaderOption (const Name &shaderOptionName, RPI::ShaderOptionValue value)
 
Data::Instance< RPI::Material > GetMaterial ()
 

Detailed Description

Holds and manages an RHI DrawPacket for a specific mesh, and the resources that are needed to build and maintain it.

Note
This class is based on the meshDrawPacket class and could be paired down even further to leave only the pertinent parts of the interface and implementation.

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