![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 () |
This represents a vertex declaration that hasn't been combined with a specific shader to create a bound shader.
| FMetalVertexDeclaration::FMetalVertexDeclaration | ( | const FVertexDeclarationElementList & | InElements | ) |
Initialization constructor.
| FMetalVertexDeclaration::~FMetalVertexDeclaration | ( | ) |
|
protected |
|
finaloverridevirtual |
Reimplemented from FRHIVertexDeclaration.
| uint32 FMetalVertexDeclaration::BaseHash |
Hash without considering strides which may be overriden
| FVertexDeclarationElementList FMetalVertexDeclaration::Elements |
Cached element info array (offset, stream index, etc)
| FMetalHashedVertexDescriptor FMetalVertexDeclaration::Layout |
This is the layout for the vertex elements