Search Results for

    Show / Hide Table of Contents

    Enum ElementFormat

    Vertex element format.

    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public enum ElementFormat

    Fields

    Name Description
    Byte

    A signed 8-bit value.

    Byte2

    Two signed 8-bit values.

    Byte2Normalized

    Two signed 8-bit normalized values.

    Byte3

    Three 8-bit signed values.

    Byte3Normalized

    Three signed, normalized 8-bit values.

    Byte4

    Four 8-bit signed values.

    Byte4Normalized

    Four signed normalized 8-bit values.

    ByteNormalized

    A single signed normalized 8-bit value.

    Float

    A single-component, 32-bit floating-point format that uses 32 bits for the red channel.

    Float2

    A two-component, 64-bit floating-point format that allocates 32 bits to the red channel and 32 bits to the green channel.

    Float3

    A three-component, 96-bit floating-point format that supports 32 bits per color channel.

    Float4

    A four-component, 128-bit floating-point format that supports 32 bits per channel, including alpha.

    Half

    A half-precision floating-point value.

    Half2

    Two half-precision floating-point values.

    Half3

    Three half-precision floating-point values.

    Half4

    Four half-precision floating-point values.

    Int

    A signed 32-bit integer value.

    Int2

    Two signed 32-bit integer values.

    Int3

    Three signed 32-bit integer values.

    Int4

    Four signed 32-bit integer values.

    Short

    A signed 16-bit value.

    Short2

    Two signed 16-bit values.

    Short2Normalized

    Two signed, normalized 16-bit values.

    Short3

    Three 16-bit signed values.

    Short3Normalized

    Three signed, normalized 16-bit values.

    Short4

    Four 16-bit signed values.

    Short4Normalized

    Four 16-bit signed normalized values.

    ShortNormalized

    A single signed normalized 16-bit value.

    UByte

    An unsigned 8-bit value.

    UByte2

    Two 8-bit unsigned values.

    UByte2Normalized

    Two unsigned, normalized 8-bit values.

    UByte3

    Three unsigned 8-bit values.

    UByte3Normalized

    Three unsigned, normalized 8-bit values.

    UByte4

    Four unsigned 8-bit values.

    UByte4Normalized

    Four unsigned, normalized 8-bit values.

    UByteNormalized

    An unsigned normalized 8-bit value.

    UInt

    One unsigned 32-bit integer value.

    UInt2

    Two unsigned 32-bit integer values.

    UInt3

    Three unsigned 32-bit integer values.

    UInt4

    Four unsigned 32-bit integer values.

    UShort

    A single unsigned 16-bit value.

    UShort2

    Two unsigned 16-bit values.

    UShort2Normalized

    Two unsigned, normalized 16-bit values.

    UShort3

    Three unsigned 16-bit values.

    UShort3Normalized

    Three unsigned, normalized 16-bit values.

    UShort4

    Four unsigned 16-bit values.

    UShort4Normalized

    Four 16-bit unsigned normalized values.

    UShortNormalized

    A single unsigned normalized 16-bit value.

    Extension Methods

    DX11ExtensionsMethods.ToDirectX(ElementFormat)
    DX12ExtensionsMethods.ToDirectX(ElementFormat)
    MTLExtensionsMethods.ToMetal(ElementFormat)
    VKExtensionsMethods.ToVulkan(ElementFormat)
    WGPUExtensionsMethods.ToWGPU(ElementFormat)
    EnumExtensions.HasFlag(Enum, Enum)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX