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

#include <CrossCompilerCommon.h>

Public Member Functions

void EnableField (int32 Index)
 
bool IsFieldEnabled (int32 Index) const
 

Public Attributes

uint32 Bitmask = 0
 

Static Public Attributes

static constexpr int32 MaxIndex = (sizeof(decltype(FShaderBindingInOutMask::Bitmask)) * 8u) - 1u
 
static constexpr int32 DepthStencilMaskIndex = MaxIndex
 

Friends

bool operator== (const FShaderBindingInOutMask &Lhs, const FShaderBindingInOutMask &Rhs)
 
bool operator!= (const FShaderBindingInOutMask &Lhs, const FShaderBindingInOutMask &Rhs)
 

Member Function Documentation

◆ EnableField()

void CrossCompiler::FShaderBindingInOutMask::EnableField ( int32  Index)
inline

Sets the specified bitfield in this bitmask and validates its index boundary.

◆ IsFieldEnabled()

bool CrossCompiler::FShaderBindingInOutMask::IsFieldEnabled ( int32  Index) const
inline

Returns whether the specified bitfield in this bitmask is set and validates its index boundary.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const FShaderBindingInOutMask Lhs,
const FShaderBindingInOutMask Rhs 
)
friend

◆ operator==

bool operator== ( const FShaderBindingInOutMask Lhs,
const FShaderBindingInOutMask Rhs 
)
friend

Member Data Documentation

◆ Bitmask

uint32 CrossCompiler::FShaderBindingInOutMask::Bitmask = 0

◆ DepthStencilMaskIndex

constexpr int32 CrossCompiler::FShaderBindingInOutMask::DepthStencilMaskIndex = MaxIndex
staticconstexpr

Index to mark the binding of a depth-stencil output resource.

◆ MaxIndex

constexpr int32 CrossCompiler::FShaderBindingInOutMask::MaxIndex = (sizeof(decltype(FShaderBindingInOutMask::Bitmask)) * 8u) - 1u
staticconstexpr

Maximum value for a valid index in this bitmask.


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