Open CASCADE Technology  7.4.1.dev
Data Structures | Typedefs | Enumerations
Graphic3d_Buffer.hxx File Reference
#include <Graphic3d_BufferRange.hxx>
#include <Graphic3d_Vec.hxx>
#include <NCollection_Array1.hxx>
#include <NCollection_Buffer.hxx>
#include <Standard_NotImplemented.hxx>

Data Structures

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

Typedefs

typedef NCollection_Array1< Graphic3d_AttributeGraphic3d_Array1OfAttribute
 

Enumerations

enum  Graphic3d_TypeOfAttribute {
  Graphic3d_TOA_POS = 0, Graphic3d_TOA_NORM, Graphic3d_TOA_UV, Graphic3d_TOA_COLOR,
  Graphic3d_TOA_CUSTOM
}
 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, Graphic3d_TOD_FLOAT
}
 Type of the element in Vertex or Index Buffer. More...
 

Typedef Documentation

◆ Graphic3d_Array1OfAttribute

Enumeration Type Documentation

◆ Graphic3d_TypeOfAttribute

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

◆ Graphic3d_TypeOfData

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

Graphic3d_TOD_FLOAT 

float value