UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RHIStaticStates.h File Reference
#include "Stats/Stats.h"
#include "Async/TaskGraphInterfaces.h"
#include "Containers/StaticArray.h"
#include "RHI.h"
#include "RenderResource.h"
#include "Misc/ScopedEvent.h"

Go to the source code of this file.

Classes

class  FInitStaticResourceRenderThreadTask
 
class  TStaticStateRHI< InitializerType, RHIRefType, RHIParamRefType >
 
class  TStaticSamplerState< Filter, AddressU, AddressV, AddressW, MipBias, MaxAnisotropy, BorderColor, SamplerComparisonFunction >
 
class  TStaticRasterizerState< FillMode, CullMode, DepthClipMode, bEnableMSAA >
 
class  TStaticDepthStencilState< bEnableDepthWrite, DepthTest, bEnableFrontFaceStencil, FrontFaceStencilTest, FrontFaceStencilFailStencilOp, FrontFaceDepthFailStencilOp, FrontFacePassStencilOp, bEnableBackFaceStencil, BackFaceStencilTest, BackFaceStencilFailStencilOp, BackFaceDepthFailStencilOp, BackFacePassStencilOp, StencilReadMask, StencilWriteMask >
 
class  TStaticBlendState< RT0ColorWriteMask, RT0ColorBlendOp, RT0ColorSrcBlend, RT0ColorDestBlend, RT0AlphaBlendOp, RT0AlphaSrcBlend, RT0AlphaDestBlend, RT1ColorWriteMask, RT1ColorBlendOp, RT1ColorSrcBlend, RT1ColorDestBlend, RT1AlphaBlendOp, RT1AlphaSrcBlend, RT1AlphaDestBlend, RT2ColorWriteMask, RT2ColorBlendOp, RT2ColorSrcBlend, RT2ColorDestBlend, RT2AlphaBlendOp, RT2AlphaSrcBlend, RT2AlphaDestBlend, RT3ColorWriteMask, RT3ColorBlendOp, RT3ColorSrcBlend, RT3ColorDestBlend, RT3AlphaBlendOp, RT3AlphaSrcBlend, RT3AlphaDestBlend, RT4ColorWriteMask, RT4ColorBlendOp, RT4ColorSrcBlend, RT4ColorDestBlend, RT4AlphaBlendOp, RT4AlphaSrcBlend, RT4AlphaDestBlend, RT5ColorWriteMask, RT5ColorBlendOp, RT5ColorSrcBlend, RT5ColorDestBlend, RT5AlphaBlendOp, RT5AlphaSrcBlend, RT5AlphaDestBlend, RT6ColorWriteMask, RT6ColorBlendOp, RT6ColorSrcBlend, RT6ColorDestBlend, RT6AlphaBlendOp, RT6AlphaSrcBlend, RT6AlphaDestBlend, RT7ColorWriteMask, RT7ColorBlendOp, RT7ColorSrcBlend, RT7ColorDestBlend, RT7AlphaBlendOp, RT7AlphaSrcBlend, RT7AlphaDestBlend, bUseAlphaToCoverage >
 
class  TStaticBlendStateWriteMask< RT0ColorWriteMask, RT1ColorWriteMask, RT2ColorWriteMask, RT3ColorWriteMask, RT4ColorWriteMask, RT5ColorWriteMask, RT6ColorWriteMask, RT7ColorWriteMask, bUseAlphaToCoverage >
 

Functions

template<bool bEnableMSAA>
FRHIRasterizerStateGetStaticRasterizerState (ERasterizerFillMode FillMode, ERasterizerCullMode CullMode)
 

Function Documentation

◆ GetStaticRasterizerState()

template<bool bEnableMSAA>
FRHIRasterizerState * GetStaticRasterizerState ( ERasterizerFillMode  FillMode,
ERasterizerCullMode  CullMode 
)
inline

Given a fill and cull mode, returns a static rasterizer state.