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

#include <MetalVertexDeclaration.h>

+ Inheritance diagram for FMetalVertexDeclaration:

Public Member Functions

 FMetalVertexDeclaration (const FVertexDeclarationElementList &InElements)
 
 ~FMetalVertexDeclaration ()
 
virtual bool GetInitializer (FVertexDeclarationElementList &Init) override final
 
virtual uint32 GetPrecachePSOHash () const override final
 
- 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

FVertexDeclarationElementList Elements
 
FMetalHashedVertexDescriptor Layout
 
uint32 BaseHash
 

Protected Member Functions

void GenerateLayout (const FVertexDeclarationElementList &Elements)
 
- 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

◆ FMetalVertexDeclaration()

FMetalVertexDeclaration::FMetalVertexDeclaration ( const FVertexDeclarationElementList InElements)

Initialization constructor.

◆ ~FMetalVertexDeclaration()

FMetalVertexDeclaration::~FMetalVertexDeclaration ( )

Member Function Documentation

◆ GenerateLayout()

void FMetalVertexDeclaration::GenerateLayout ( const FVertexDeclarationElementList Elements)
protected

◆ GetInitializer()

bool FMetalVertexDeclaration::GetInitializer ( FVertexDeclarationElementList Init)
finaloverridevirtual

◆ GetPrecachePSOHash()

virtual uint32 FMetalVertexDeclaration::GetPrecachePSOHash ( ) const
inlinefinaloverridevirtual

Reimplemented from FRHIVertexDeclaration.

Member Data Documentation

◆ BaseHash

uint32 FMetalVertexDeclaration::BaseHash

Hash without considering strides which may be overriden

◆ Elements

FVertexDeclarationElementList FMetalVertexDeclaration::Elements

Cached element info array (offset, stream index, etc)

◆ Layout

FMetalHashedVertexDescriptor FMetalVertexDeclaration::Layout

This is the layout for the vertex elements


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