Class DX11SamplerState
The DirectX sampler state.
Inherited Members
Namespace: Evergine.DirectX11
Assembly: Evergine.DirectX11.dll
Syntax
public class DX11SamplerState : SamplerState, ILoadable, IDisposable, IDependencyObject
Constructors
DX11SamplerState(GraphicsContext, ref SamplerStateDescription)
Initializes a new instance of the DX11SamplerState class.
Declaration
public DX11SamplerState(GraphicsContext context, ref SamplerStateDescription description)
Parameters
Type | Name | Description |
---|---|---|
GraphicsContext | context | The graphics context. GraphicsContext. |
SamplerStateDescription | description | The sampler state description. SamplerStateDescription. |
Fields
NativeSampler
The native sampler state.
Declaration
public readonly ID3D11SamplerState NativeSampler
Field Value
Type | Description |
---|---|
ID3D11SamplerState |
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
NativePointer
Gets the native pointer.
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Overrides
Methods
Dispose()
Dispose this instance.
Declaration
public override void Dispose()