Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- TStaticStateRHI
- TStaticSamplerState
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RHIStaticStates.h |
| Include | #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< Filter, AddressU, AddressV, AddressW, MipBias, MaxAnisotropy, BorderColor, SamplerComparisonFunction >, FSamplerStateRHIRef, FRHISamplerState * >
Remarks
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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FSamplerStateRHIRef | CreateRHI () |