Search Results for

    Show / Hide Table of Contents

    Enum Texture.StateFlags

    Represents a set of flags for the buffer state.

    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public enum Texture.StateFlags

    Fields

    Name Description
    CopyDst

    Copy destination.

    CopySrc

    Copy source.

    DepthRead

    Allows the texture to be used as depth buffer for depth reads.

    DepthWrite

    Allows the texture to be used as depth buffer for depth writes.

    NonPixelShaderResource

    Enables sampling in non-pixel shaders.

    None

    No Flags.

    PixelShaderResource

    Enables sampling in pixel shaders.

    PresentSrc

    Allows the texture to be used as present source in a swapchain.

    RenderTarget

    Allows the texture to be used as a RenderTarget.

    ResolveDst

    Allows the texture to be used as depth buffer for depth writes.

    ResolveSrc

    Allows the texture to be used as depth buffer for depth writes.

    UnorderedAccess

    Allows the texture to be used as an Unordered Access View. Mainly for writing in compute shader.

    Extension Methods

    DX12ExtensionsMethods.ToDirectX(Texture.StateFlags)
    VKExtensionsMethods.ToVulkan(Texture.StateFlags)
    EnumExtensions.HasFlag(Enum, Enum)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX