Open 3D Engine AtomLyIntegration Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#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 () |
Holds and manages an RHI DrawPacket for a specific mesh, and the resources that are needed to build and maintain it.