Language:
Discover
By Skill Level
By Category

EVertexElementType

Choose your OS:

Syntax

enum EVertexElementType
{
    VET_None,
    VET_Float1,
    VET_Float2,
    VET_Float3,
    VET_Float4,
    VET_PackedNormal,
    VET_UByte4,
    VET_UByte4N,
    VET_Color,
    VET_Short2,
    VET_Short4,
    VET_Short2N,
    VET_Half2,
    VET_Half4,
    VET_Short4N,
    VET_UShort2,
    VET_UShort4,
    VET_UShort2N,
    VET_UShort4N,
    VET_URGB10A2N,
    VET_MAX,
    VET_NumBits         = 5,
}

Values

Name

Description

VET_None

VET_Float1

VET_Float2

VET_Float3

VET_Float4

VET_PackedNormal

VET_UByte4

FPackedNormal .

VET_UByte4N

VET_Color

VET_Short2

VET_Short4

VET_Short2N

VET_Half2

16 bit word normalized to (value/32767.0,value/32767.0,0,0,1)

VET_Half4

16 bit float using 1 bit sign, 5 bit exponent, 10 bit mantissa

VET_Short4N

VET_UShort2

4 X 16 bit word, normalized

VET_UShort4

VET_UShort2N

VET_UShort4N

16 bit word normalized to (value/65535.0,value/65535.0,0,0,1)

VET_URGB10A2N

4 X 16 bit word unsigned, normalized

VET_MAX

10 bit r, g, b and 2 bit a normalized to (value/1023.0f, value/1023.0f, value/1023.0f, value/3.0f)

VET_NumBits

References

Module

RHI

Header

Runtime/RHI/Public/RHIDefinitions.h