MeVisLab Toolbox Reference
SoVertexAttributeInfo Struct Reference

Open Inventor element storing a list of vertex attributes. More...

#include <SoGLVertexAttributeElement.h>

Public Member Functions

 SoVertexAttributeInfo ()
 

Public Attributes

SbString _name
 the name of the attribute
 
SoNode * _node
 the node that holds the attribute
 
const void_data
 a pointer to the data (not owned by this object)
 
uint32_t _numBytes
 the number of bytes in _data
 
uint32_t _numValues
 the number of values in _data
 
bool _perInstance
 set if data should be used for instanced rendering
 
GLenum _type
 the GL data type to use for sending
 
int _numComponents
 the number of components for GL
 
bool _normalized
 a flag if the attribute should be normalized by GL
 
SoVBO _vbo
 a VBO to manage the data
 
GLint _index
 the index of the attribute in the current shader program, only becomes valid while attribute is enabled
 
bool _shouldFlipRGBAOnLittleEndian
 indicates the 4ub data should be flipped
 

Detailed Description

Open Inventor element storing a list of vertex attributes.

Struct to store information on an vertex attribute, typically located in a SoVertexAttributeBase base class.

Definition at line 26 of file SoGLVertexAttributeElement.h.

Constructor & Destructor Documentation

◆ SoVertexAttributeInfo()

SoVertexAttributeInfo::SoVertexAttributeInfo ( )

Member Data Documentation

◆ _data

const void* SoVertexAttributeInfo::_data

a pointer to the data (not owned by this object)

Definition at line 38 of file SoGLVertexAttributeElement.h.

◆ _index

GLint SoVertexAttributeInfo::_index

the index of the attribute in the current shader program, only becomes valid while attribute is enabled

Definition at line 59 of file SoGLVertexAttributeElement.h.

◆ _name

SbString SoVertexAttributeInfo::_name

the name of the attribute

Definition at line 32 of file SoGLVertexAttributeElement.h.

◆ _node

SoNode* SoVertexAttributeInfo::_node

the node that holds the attribute

Definition at line 35 of file SoGLVertexAttributeElement.h.

◆ _normalized

bool SoVertexAttributeInfo::_normalized

a flag if the attribute should be normalized by GL

Definition at line 52 of file SoGLVertexAttributeElement.h.

◆ _numBytes

uint32_t SoVertexAttributeInfo::_numBytes

the number of bytes in _data

Definition at line 40 of file SoGLVertexAttributeElement.h.

◆ _numComponents

int SoVertexAttributeInfo::_numComponents

the number of components for GL

Definition at line 50 of file SoGLVertexAttributeElement.h.

◆ _numValues

uint32_t SoVertexAttributeInfo::_numValues

the number of values in _data

Definition at line 42 of file SoGLVertexAttributeElement.h.

◆ _perInstance

bool SoVertexAttributeInfo::_perInstance

set if data should be used for instanced rendering

Definition at line 45 of file SoGLVertexAttributeElement.h.

◆ _shouldFlipRGBAOnLittleEndian

bool SoVertexAttributeInfo::_shouldFlipRGBAOnLittleEndian

indicates the 4ub data should be flipped

Definition at line 62 of file SoGLVertexAttributeElement.h.

◆ _type

GLenum SoVertexAttributeInfo::_type

the GL data type to use for sending

Definition at line 48 of file SoGLVertexAttributeElement.h.

◆ _vbo

SoVBO SoVertexAttributeInfo::_vbo

a VBO to manage the data

Definition at line 55 of file SoGLVertexAttributeElement.h.


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