Struct SamplerState ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Addressing a trilinear filtered texture is read with. Equal states share one sampler object per GraphicsDevice, see GraphicsDevice.GetSampler(in SamplerState).
csharp
public readonly record struct SamplerState : IEquatable<SamplerState>Implements ​
Constructors ​
SamplerState(RsTextureAddressMode, RsTextureAddressMode) ​
Addressing a trilinear filtered texture is read with. Equal states share one sampler object per GraphicsDevice, see GraphicsDevice.GetSampler(in SamplerState).
csharp
public SamplerState(RsTextureAddressMode AddressS, RsTextureAddressMode AddressT)Parameters ​
AddressS RsTextureAddressMode
Addressing mode across the width.
AddressT RsTextureAddressMode
Addressing mode across the height.
Properties ​
AddressS ​
Addressing mode across the width.
csharp
public RsTextureAddressMode AddressS { get; init; }Property Value ​
AddressT ​
Addressing mode across the height.
csharp
public RsTextureAddressMode AddressT { get; init; }Property Value ​
MaxAnisotropy ​
Maximum anisotropic filtering samples, 1 for none.
csharp
public float MaxAnisotropy { get; init; }Property Value ​
float

