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

#include <MetalState.h>

+ Inheritance diagram for FMetalDepthStencilState:

Public Member Functions

 FMetalDepthStencilState (MTL::Device *Device, const FDepthStencilStateInitializerRHI &Initializer)
 
 ~FMetalDepthStencilState ()
 
virtual bool GetInitializer (FDepthStencilStateInitializerRHI &Init) override final
 
- Public Member Functions inherited from FRHIDepthStencilState
 FRHIDepthStencilState ()
 
- 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

FDepthStencilStateInitializerRHI Initializer
 
MTL::DepthStencilState * State
 
bool bIsDepthWriteEnabled
 
bool bIsStencilWriteEnabled
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ FMetalDepthStencilState()

FMetalDepthStencilState::FMetalDepthStencilState ( MTL::Device *  Device,
const FDepthStencilStateInitializerRHI Initializer 
)

Constructor/destructor

◆ ~FMetalDepthStencilState()

FMetalDepthStencilState::~FMetalDepthStencilState ( )

Member Function Documentation

◆ GetInitializer()

bool FMetalDepthStencilState::GetInitializer ( FDepthStencilStateInitializerRHI Init)
finaloverridevirtual

Reimplemented from FRHIDepthStencilState.

Member Data Documentation

◆ bIsDepthWriteEnabled

bool FMetalDepthStencilState::bIsDepthWriteEnabled

◆ bIsStencilWriteEnabled

bool FMetalDepthStencilState::bIsStencilWriteEnabled

◆ Initializer

FDepthStencilStateInitializerRHI FMetalDepthStencilState::Initializer

◆ State

MTL::DepthStencilState* FMetalDepthStencilState::State

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