Search Results for

    Show / Hide Table of Contents

    Class DX12SamplerState

    The DirectX sampler state instance.

    Inheritance
    object
    GraphicsResource
    SamplerState
    DX12SamplerState
    Implements
    ILoadable
    IDependencyObject
    Inherited Members
    SamplerState.Id
    SamplerState.ReaderVersion
    SamplerState.Invalidated
    SamplerState.Dependencies
    SamplerState.Description
    SamplerState.Invalidate(ILoadable)
    SamplerState.ReleaseUnusedMemory()
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.Disposed
    Namespace: Evergine.DirectX12
    Assembly: Evergine.DirectX12.dll
    Syntax
    public class DX12SamplerState : SamplerState, ILoadable, IDependencyObject

    Constructors

    DX12SamplerState(GraphicsContext, ref SamplerStateDescription)

    Initializes a new instance of the DX12SamplerState class.

    Declaration
    public DX12SamplerState(GraphicsContext context, ref SamplerStateDescription description)
    Parameters
    Type Name Description
    GraphicsContext context

    The graphics context. See GraphicsContext.

    SamplerStateDescription description

    The sampler state description. See SamplerStateDescription.

    Fields

    NativeSampler

    The native sampler state.

    Declaration
    public readonly CpuDescriptorHandle NativeSampler
    Field Value
    Type Description
    CpuDescriptorHandle

    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
    SamplerState.Name

    NativePointer

    Gets the native pointer.

    Declaration
    public override nint NativePointer { get; }
    Property Value
    Type Description
    nint
    Overrides
    GraphicsResource.NativePointer

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public override void Dispose()
    Overrides
    SamplerState.Dispose()

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX