Navigation
API > API/Runtime > API/Runtime/RenderCore
A static RHI sampler state resource. TStaticSamplerStateRHI<...>::GetStaticState() will return a FSamplerStateRHIRef to a sampler state with the desired settings. Should only be used from the rendering thread.
| Name | TStaticSamplerState |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RHIStaticStates.h |
| Include Path | #include "RHIStaticStates.h" |
Syntax
template<ESamplerFilter Filter, ESamplerAddressMode AddressU, ESamplerAddressMode AddressV, ESamplerAddressMode AddressW, int32 MipBias, int32 MaxAnisotropy, uint32 BorderColor, ESamplerCompareFunction SamplerComparisonFunction>
class TStaticSamplerState : public TStaticStateRHI< TStaticSamplerState< SF_Point, AM_Clamp, AM_Clamp, AM_Clamp, 0, 1, 0, SCF_Never >, FSamplerStateRHIRef, FRHISamplerState * >
Inheritance Hierarchy
- TStaticStateRHI → TStaticSamplerState
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FSamplerStateRHIRef CreateRHI() |
RHIStaticStates.h |