Open CASCADE Technology  6.9.0
Data Structures | Enumerations

Graphic3d_Buffer.hxx File Reference

#include <Graphic3d_Vec.hxx>
#include <NCollection_Buffer.hxx>

Data Structures

struct  Graphic3d_Attribute
 Vertex attribute definition. More...
 
class  Graphic3d_Buffer
 Buffer of vertex attributes. More...
 

Enumerations

enum  Graphic3d_TypeOfAttribute {
  Graphic3d_TOA_POS = 0, Graphic3d_TOA_NORM, Graphic3d_TOA_UV, Graphic3d_TOA_COLOR,
  Graphic3d_TOA_CUSTOM = 10
}
 Type of attribute in Vertex Buffer. More...
 
enum  Graphic3d_TypeOfData {
  Graphic3d_TOD_USHORT, Graphic3d_TOD_UINT, Graphic3d_TOD_VEC2, Graphic3d_TOD_VEC3,
  Graphic3d_TOD_VEC4, Graphic3d_TOD_VEC4UB
}
 Type of the element in Vertex or Index Buffer. More...
 

Enumeration Type Documentation

Type of attribute in Vertex Buffer.

Enumerator
Graphic3d_TOA_POS 

vertex position

Graphic3d_TOA_NORM 

normal

Graphic3d_TOA_UV 

texture coordinates

Graphic3d_TOA_COLOR 

per-vertex color

Graphic3d_TOA_CUSTOM 

custom attributes

Type of the element in Vertex or Index Buffer.

Enumerator
Graphic3d_TOD_USHORT 

unsigned 16-bit integer

Graphic3d_TOD_UINT 

unsigned 32-bit integer

Graphic3d_TOD_VEC2 

2-components float vector

Graphic3d_TOD_VEC3 

3-components float vector

Graphic3d_TOD_VEC4 

4-components float vector

Graphic3d_TOD_VEC4UB 

4-components unsigned byte vector