Class VKSamplerState
This class represents the a Vulkan samplerState object.
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public class VKSamplerState : SamplerState, ILoadable, IDisposable, IDependencyObject
Constructors
VKSamplerState(GraphicsContext, ref SamplerStateDescription)
Initializes a new instance of the VKSamplerState class.
Declaration
public VKSamplerState(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 VkSampler NativeSampler
Field Value
Type | Description |
---|---|
VkSampler |
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()