Navigation
API > API/Runtime > API/Runtime/RenderCore
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.
| Name | TStaticRasterizerState |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RHIStaticStates.h |
| Include Path | #include "RHIStaticStates.h" |
Syntax
template<ERasterizerFillMode FillMode, ERasterizerCullMode CullMode, ERasterizerDepthClipMode DepthClipMode, bool bEnableMSAA>
class TStaticRasterizerState : public TStaticStateRHI< TStaticRasterizerState< FM_Solid, CM_None, ERasterizerDepthClipMode::DepthClip, true >, FRasterizerStateRHIRef, FRHIRasterizerState * >
Inheritance Hierarchy
- TStaticStateRHI → TStaticRasterizerState
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FRasterizerStateRHIRef CreateRHI() |
RHIStaticStates.h |