UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TStaticRasterizerState< FillMode, CullMode, DepthClipMode, bEnableMSAA > Class Template Reference

#include <RHIStaticStates.h>

+ Inheritance diagram for TStaticRasterizerState< FillMode, CullMode, DepthClipMode, bEnableMSAA >:

Static Public Member Functions

static FRasterizerStateRHIRef CreateRHI ()
 
- Static Public Member Functions inherited from TStaticStateRHI< InitializerType, RHIRefType, RHIParamRefType >
static RHIParamRefType GetRHI ()
 

Detailed Description

template<ERasterizerFillMode FillMode = FM_Solid, ERasterizerCullMode CullMode = CM_None, ERasterizerDepthClipMode DepthClipMode = ERasterizerDepthClipMode::DepthClip, bool bEnableMSAA = true>
class TStaticRasterizerState< FillMode, CullMode, DepthClipMode, bEnableMSAA >

A static RHI rasterizer state resource. TStaticRasterizerStateRHI<...>::GetStaticState() will return a FRasterizerStateRHIRef to a rasterizer state with the desired settings. Should only be used from the rendering thread.

Member Function Documentation

◆ CreateRHI()

template<ERasterizerFillMode FillMode = FM_Solid, ERasterizerCullMode CullMode = CM_None, ERasterizerDepthClipMode DepthClipMode = ERasterizerDepthClipMode::DepthClip, bool bEnableMSAA = true>
static FRasterizerStateRHIRef TStaticRasterizerState< FillMode, CullMode, DepthClipMode, bEnableMSAA >::CreateRHI ( )
inlinestatic

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