Class VKSamplerState
This class represents a Vulkan samplerState object.
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public class VKSamplerState : SamplerState, ILoadable, IDependencyObject
Constructors
VKSamplerState(GraphicsContext, ref SamplerStateDescription)
Initializes a new instance of the VKSampler
Declaration
public VKSamplerState(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 VkSampler NativeSampler
Field Value
Type | Description |
---|---|
Vk |
Properties
Name
Gets or sets a string identifying this instance. It can be used in graphics debugger tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
NativePointer
Gets the native pointer.
Declaration
public override nint NativePointer { get; }
Property Value
Type | Description |
---|---|
nint |
Overrides
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()