Search Results for

    Show / Hide Table of Contents

    Enum ResourceUsage

    Identifies the expected texture use during rendering.

    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public enum ResourceUsage : byte

    Fields

    Name Description
    Default

    A resource that requires read and write access by the GPU. Default value.

    Dynamic

    A resource that is accessible by both the GPU (read-only) and the CPU (write-only). A dynamic resource is a good choice for a resource that will be updated by the CPU at least once per frame.

    Immutable

    A resource that can only be read by the GPU. It cannot be written by the GPU, and it cannot be accessed at all by the CPU. This type of resource must be initialized when it is created since it cannot be changed after creation.

    Staging

    A resource that supports data transfer (copying) from the GPU to the CPU.

    Extension Methods

    DX11ExtensionsMethods.ToDirectX(ResourceUsage)
    EnumExtensions.HasFlag(Enum, Enum)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX