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

#include <MetalBaseShader.h>

+ Inheritance diagram for FMetalShaderData:

Public Attributes

FMetalShaderBindings Bindings
 
TMap< uint32, MTL::ArgumentEncoder * > ArgumentEncoders
 
TMap< uint32, TBitArray<> > ArgumentBitmasks
 
TArray< FUniformBufferStaticSlotStaticSlots
 
int32 SideTableBinding = -1
 
uint32 SourceLen = 0
 
uint32 SourceCRC = 0
 
uint32 ConstantValueHash = 0
 
MTLFunctionPtr Function
 
MTLLibraryPtr Library
 
NS::String * GlslCodeNSString = nullptr
 
TArray< uint8CompressedSource
 
uint32 CodeSize = 0
 
bool bHasFunctionConstants = false
 
bool bDeviceFunctionConstants = false
 
uint32 LibraryFunctionIndex = -1
 

Member Data Documentation

◆ ArgumentBitmasks

TMap<uint32, TBitArray<> > FMetalShaderData::ArgumentBitmasks

◆ ArgumentEncoders

TMap<uint32, MTL::ArgumentEncoder*> FMetalShaderData::ArgumentEncoders

◆ bDeviceFunctionConstants

bool FMetalShaderData::bDeviceFunctionConstants = false

◆ bHasFunctionConstants

bool FMetalShaderData::bHasFunctionConstants = false

◆ Bindings

FMetalShaderBindings FMetalShaderData::Bindings

External bindings for this shader.

◆ CodeSize

uint32 FMetalShaderData::CodeSize = 0

The uncompressed text source size

◆ CompressedSource

TArray<uint8> FMetalShaderData::CompressedSource

The compressed text source

◆ ConstantValueHash

uint32 FMetalShaderData::ConstantValueHash = 0

Hash for the shader/material permutation constants

◆ Function

MTLFunctionPtr FMetalShaderData::Function

◆ GlslCodeNSString

NS::String* FMetalShaderData::GlslCodeNSString = nullptr

The debuggable text source

◆ Library

MTLLibraryPtr FMetalShaderData::Library

◆ LibraryFunctionIndex

uint32 FMetalShaderData::LibraryFunctionIndex = -1

Index of the function (in the library) pointing to the function requested by the user (when GetCompiledFunction() is called with an explicit index).

◆ SideTableBinding

int32 FMetalShaderData::SideTableBinding = -1

The binding for the buffer side-table if present

◆ SourceCRC

uint32 FMetalShaderData::SourceCRC = 0

◆ SourceLen

uint32 FMetalShaderData::SourceLen = 0

CRC & Len for name disambiguation

◆ StaticSlots

TArray<FUniformBufferStaticSlot> FMetalShaderData::StaticSlots

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