Open CASCADE Technology: Graphic3d_Buffer.hxx File Reference

Open CASCADE Technology 6.8.0

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

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

enum 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

enum 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