Logo
Classes | Public Types | Static Public Member Functions | List of all members
SharpKmyGfx.VertexDescriptor Class Reference

Classes

struct  VDItem
 

Public Types

enum  Attribute {
  POSITION , NORMAL , TANGENT , UV0 ,
  UV1 , COLOR , SKINIDX , SKINWGT
}
 
enum  Format {
  SN8_4 , UN8_4 , SN16_4 , UN16_4 ,
  SN32_4 , UN32_4 , F16_4 , F32_4 ,
  SN32_3 , UN32_3 , F32_3 , SN8_2 ,
  UN8_2 , SN16_2 , UN16_2 , SN32_2 ,
  UN32_2 , F16_2 , F32_2 , SN8_1 ,
  UN8_1 , SN16_1 , UN16_1 , SN32_1 ,
  UN32_1 , F16_1 , F32_1 , UN10_3 ,
  SN10_3 , INT_4
}
 

Static Public Member Functions

static int create (VDItem[] items)
 
static int getByteSize (int handle)
 

Member Enumeration Documentation

◆ Attribute

Enumerator
POSITION 
NORMAL 
TANGENT 
UV0 
UV1 
COLOR 
SKINIDX 
SKINWGT 

◆ Format

Enumerator
SN8_4 
UN8_4 
SN16_4 
UN16_4 
SN32_4 
UN32_4 
F16_4 
F32_4 
SN32_3 
UN32_3 
F32_3 
SN8_2 
UN8_2 
SN16_2 
UN16_2 
SN32_2 
UN32_2 
F16_2 
F32_2 
SN8_1 
UN8_1 
SN16_1 
UN16_1 
SN32_1 
UN32_1 
F16_1 
F32_1 
UN10_3 
SN10_3 
INT_4 

Member Function Documentation

◆ create()

static int SharpKmyGfx.VertexDescriptor.create ( VDItem[]  items)
static

◆ getByteSize()

static int SharpKmyGfx.VertexDescriptor.getByteSize ( int  handle)
static