CommonLibSSE NG
Loading...
Searching...
No Matches
RE::BSGraphics::Vertex Struct Reference

#include <VertexDesc.h>

Public Types

enum  Attribute : std::uint8_t {
  VA_POSITION = 0x0 , VA_TEXCOORD0 = 0x1 , VA_TEXCOORD1 = 0x2 , VA_NORMAL = 0x3 ,
  VA_BINORMAL = 0x4 , VA_COLOR = 0x5 , VA_SKINNING = 0x6 , VA_LANDDATA = 0x7 ,
  VA_EYEDATA = 0x8 , VA_COUNT = 9
}
 
enum  Flags : std::uint16_t {
  VF_VERTEX = 1 << VA_POSITION , VF_UV = 1 << VA_TEXCOORD0 , VF_UV_2 = 1 << VA_TEXCOORD1 , VF_NORMAL = 1 << VA_NORMAL ,
  VF_TANGENT = 1 << VA_BINORMAL , VF_COLORS = 1 << VA_COLOR , VF_SKINNED = 1 << VA_SKINNING , VF_LANDDATA = 1 << VA_LANDDATA ,
  VF_EYEDATA = 1 << VA_EYEDATA , VF_FULLPREC = 0x400
}
 
enum  Masks : std::uint64_t {
  DESC_MASK_VERT = 0xFFFFFFFFFFFFFFF0 , DESC_MASK_UVS = 0xFFFFFFFFFFFFFF0F , DESC_MASK_NBT = 0xFFFFFFFFFFFFF0FF , DESC_MASK_SKCOL = 0xFFFFFFFFFFFF0FFF ,
  DESC_MASK_DATA = 0xFFFFFFFFFFF0FFFF , DESC_MASK_OFFSET = 0xFFFFFF0000000000 , DESC_MASK_FLAGS = ~(DESC_MASK_OFFSET)
}
 

Member Enumeration Documentation

◆ Attribute

enum RE::BSGraphics::Vertex::Attribute : std::uint8_t
Enumerator
VA_POSITION 
VA_TEXCOORD0 
VA_TEXCOORD1 
VA_NORMAL 
VA_BINORMAL 
VA_COLOR 
VA_SKINNING 
VA_LANDDATA 
VA_EYEDATA 
VA_COUNT 

◆ Flags

enum RE::BSGraphics::Vertex::Flags : std::uint16_t
Enumerator
VF_VERTEX 
VF_UV 
VF_UV_2 
VF_NORMAL 
VF_TANGENT 
VF_COLORS 
VF_SKINNED 
VF_LANDDATA 
VF_EYEDATA 
VF_FULLPREC 

◆ Masks

enum RE::BSGraphics::Vertex::Masks : std::uint64_t
Enumerator
DESC_MASK_VERT 
DESC_MASK_UVS 
DESC_MASK_NBT 
DESC_MASK_SKCOL 
DESC_MASK_DATA 
DESC_MASK_OFFSET 
DESC_MASK_FLAGS 

The documentation for this struct was generated from the following file: