Search Results for

    Show / Hide Table of Contents

    Class WGPUSamplerState

    This class represents the a Metal samplerState object.

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

    Constructors

    WGPUSamplerState(GraphicsContext, ref SamplerStateDescription)

    Initializes a new instance of the WGPUSamplerState class.

    Declaration
    public WGPUSamplerState(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 WGPUSampler NativeSampler
    Field Value
    Type Description
    WGPUSampler

    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

    Destroy()

    Destroy graphics native resources.

    Declaration
    protected override void Destroy()
    Overrides
    SamplerState.Destroy()

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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