UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMetalHashedVertexDescriptor Struct Reference

#include <MetalHashedVertexDescriptor.h>

Public Member Functions

 FMetalHashedVertexDescriptor ()
 
 FMetalHashedVertexDescriptor (MTLVertexDescriptorPtr Desc, uint32 Hash)
 
 FMetalHashedVertexDescriptor (FMetalHashedVertexDescriptor const &Other)
 
 ~FMetalHashedVertexDescriptor ()
 
FMetalHashedVertexDescriptoroperator= (FMetalHashedVertexDescriptor const &Other)
 
bool operator== (FMetalHashedVertexDescriptor const &Other) const
 

Public Attributes

NS::UInteger VertexDescHash
 
MTLVertexDescriptorPtr VertexDesc
 

Friends

uint32 GetTypeHash (FMetalHashedVertexDescriptor const &Hash)
 

Detailed Description

The MTLVertexDescriptor and a pre-calculated hash value used to simplify comparisons (as vendor MTLVertexDescriptor implementations are not all comparable).

Constructor & Destructor Documentation

◆ FMetalHashedVertexDescriptor() [1/3]

FMetalHashedVertexDescriptor::FMetalHashedVertexDescriptor ( )

◆ FMetalHashedVertexDescriptor() [2/3]

FMetalHashedVertexDescriptor::FMetalHashedVertexDescriptor ( MTLVertexDescriptorPtr  Desc,
uint32  Hash 
)

◆ FMetalHashedVertexDescriptor() [3/3]

FMetalHashedVertexDescriptor::FMetalHashedVertexDescriptor ( FMetalHashedVertexDescriptor const &  Other)

◆ ~FMetalHashedVertexDescriptor()

FMetalHashedVertexDescriptor::~FMetalHashedVertexDescriptor ( )

Member Function Documentation

◆ operator=()

FMetalHashedVertexDescriptor & FMetalHashedVertexDescriptor::operator= ( FMetalHashedVertexDescriptor const &  Other)

◆ operator==()

bool FMetalHashedVertexDescriptor::operator== ( FMetalHashedVertexDescriptor const &  Other) const

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( FMetalHashedVertexDescriptor const &  Hash)
friend

Member Data Documentation

◆ VertexDesc

MTLVertexDescriptorPtr FMetalHashedVertexDescriptor::VertexDesc

◆ VertexDescHash

NS::UInteger FMetalHashedVertexDescriptor::VertexDescHash

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