Search Results for

    Show / Hide Table of Contents

    Class GPUTextureFlags

    GPU texture usage flags.

    Inheritance
    System.Object
    GPUTextureFlags
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class GPUTextureFlags : Enum

    Fields

    BackBuffer

    Create a texture that can be used as a native window swap chain backbuffer surface.

    Declaration
    public const GPUTextureFlags BackBuffer
    Field Value
    GPUTextureFlags

    DepthStencil

    Create a texture can be bound as a depth stencil buffer.

    Declaration
    public const GPUTextureFlags DepthStencil
    Field Value
    GPUTextureFlags

    None

    No texture flags.

    Declaration
    public const GPUTextureFlags None
    Field Value
    GPUTextureFlags

    PerMipViews

    Create texture views per texture mip map (valid only for Texture2D with ShaderResource or RenderTarget flag).

    Declaration
    public const GPUTextureFlags PerMipViews
    Field Value
    GPUTextureFlags

    PerSliceViews

    Create texture views per texture slice map (valid only for Texture3D with ShaderResource or RenderTarget flag).

    Declaration
    public const GPUTextureFlags PerSliceViews
    Field Value
    GPUTextureFlags

    ReadOnlyDepthView

    Create read-only view for depth-stencil buffer. Valid only if texture uses depth-stencil and the graphics device supports it.

    Declaration
    public const GPUTextureFlags ReadOnlyDepthView
    Field Value
    GPUTextureFlags

    RenderTarget

    Create a texture that can be bound as a render target.

    Declaration
    public const GPUTextureFlags RenderTarget
    Field Value
    GPUTextureFlags

    ShaderResource

    Create a texture that can be bound as a shader resource.

    Declaration
    public const GPUTextureFlags ShaderResource
    Field Value
    GPUTextureFlags

    UnorderedAccess

    Create a texture can be bound as an unordered access buffer.

    Declaration
    public const GPUTextureFlags UnorderedAccess
    Field Value
    GPUTextureFlags

    value__

    Declaration
    public int value__
    Field Value
    System.Int32

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat