Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VertexElement

Add this in your code:

#include <engine/graphics/3d_graphics/vertex_descriptor.h>

Description

Enum of all different vertex element types.

Values


NameDescription
NONEDefault value, no selected element
POSITION_32_BITSFloat position
POSITION_16_BITSShort position, PSP only, Not tested, may not work
POSITION_8_BITSByte position, PSP only, Not tested, may not work
NORMAL_32_BITSFloat normal
NORMAL_16_BITSShort normal, PSP only, Not tested, may not work
NORMAL_8_BITSByte normal, PSP only, Not tested, may not work
UV_32_BITSFloat UV
UV_16_BITSShort UV, PSP only, Not tested, may not work
UV_8_BITSByte UV, PSP only, Not tested, may not work
COLOR_4_FLOATSFloat color
COLOR_32_BITS_UINTUnsigned int32 color, PSP only