Class MTLSamplerState
This class represents the a Metal samplerState object.
Inherited Members
Namespace: Evergine.Metal
Assembly: Evergine.Metal.dll
Syntax
public class MTLSamplerState : SamplerState, ILoadable, IDisposable, IDependencyObject
Constructors
MTLSamplerState(GraphicsContext, ref SamplerStateDescription)
Initializes a new instance of the MTLSampler
Declaration
public MTLSamplerState(GraphicsContext context, ref SamplerStateDescription description)
Parameters
Type | Name | Description |
---|---|---|
Graphics |
context | The graphics context. Graphics |
Sampler |
description | The sampler state description. Sampler |
Fields
NativeSampler
The native sampler state.
Declaration
public readonly MTLSamplerState NativeSampler
Field Value
Type | Description |
---|---|
MTLSampler |
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 |
---|---|
Int |
Overrides
Methods
Dispose()
Dispose this instance.
Declaration
public override void Dispose()