UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FD3D12VertexDeclaration Class Reference

#include <D3D12Shader.h>

+ Inheritance diagram for FD3D12VertexDeclaration:

Public Member Functions

 FD3D12VertexDeclaration (const FD3D12VertexElements &InElements, const uint16 *InStrides, const uint32 InHash, const uint32 InHashNoStrides)
 
virtual bool GetInitializer (FVertexDeclarationElementList &Init) final override
 
virtual uint32 GetPrecachePSOHash () const final override
 
- Public Member Functions inherited from FRHIVertexDeclaration
 FRHIVertexDeclaration ()
 
virtual bool GetInitializer (FVertexDeclarationElementList &Init)
 
- Public Member Functions inherited from FRHIResource
RHI_API FRHIResource (ERHIResourceType InResourceType)
 
uint32 AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 
bool IsValid () const
 
void DisableLifetimeExtension ()
 
ERHIResourceType GetType () const
 
FName GetOwnerName () const
 
void SetOwnerName (FName InOwnerName)
 

Public Attributes

FD3D12VertexElements VertexElements
 
TStaticArray< uint16, MaxVertexElementCountStreamStrides
 
uint32 Hash
 
uint32 HashNoStrides
 

Additional Inherited Members

- Protected Member Functions inherited from FRHIResource
virtual RHI_API ~FRHIResource ()
 

Detailed Description

This represents a vertex declaration that hasn't been combined with a specific shader to create a bound shader.

Constructor & Destructor Documentation

◆ FD3D12VertexDeclaration()

FD3D12VertexDeclaration::FD3D12VertexDeclaration ( const FD3D12VertexElements InElements,
const uint16 InStrides,
const uint32  InHash,
const uint32  InHashNoStrides 
)
inlineexplicit

Initialization constructor.

Member Function Documentation

◆ GetInitializer()

bool FD3D12VertexDeclaration::GetInitializer ( FVertexDeclarationElementList Init)
finaloverridevirtual

◆ GetPrecachePSOHash()

virtual uint32 FD3D12VertexDeclaration::GetPrecachePSOHash ( ) const
inlinefinaloverridevirtual

Reimplemented from FRHIVertexDeclaration.

Member Data Documentation

◆ Hash

uint32 FD3D12VertexDeclaration::Hash

◆ HashNoStrides

uint32 FD3D12VertexDeclaration::HashNoStrides

◆ StreamStrides

TStaticArray<uint16, MaxVertexElementCount> FD3D12VertexDeclaration::StreamStrides

◆ VertexElements

FD3D12VertexElements FD3D12VertexDeclaration::VertexElements

Elements of the vertex declaration.


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