Search Results for

    Show / Hide Table of Contents

    Class GPUSampler

    GPU texture sampler object.

    Inheritance
    System.Object
    Object
    GPUResource
    GPUSampler
    Inherited Members
    GPUResource.ReleaseGPU()
    GPUResource.ResourceType
    GPUResource.MemoryUsage
    GPUResource.Name
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class GPUSampler : GPUResource

    Constructors

    GPUSampler()

    Initializes a new instance of the GPUSampler.

    Declaration
    public GPUSampler()

    Properties

    Description

    Gets sampler description structure.

    Declaration
    [Unmanaged]
    public GPUSamplerDescription Description { get; }
    Property Value
    GPUSamplerDescription

    Methods

    Init(ref GPUSamplerDescription)

    Creates new sampler.

    Declaration
    [Unmanaged]
    public bool Init(ref GPUSamplerDescription desc)
    Parameters
    GPUSamplerDescription desc

    The sampler description.

    Returns
    System.Boolean

    True if cannot create sampler, otherwise false.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)

    See Also

    GPUResource
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat