core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

gl_client_array Struct Reference

#include <mtypes.h>


Detailed Description

Client vertex array attributes.

Data Fields

GLint Size
 components per element (1,2,3,4)
GLenum Type
 datatype: GL_FLOAT, GL_INT, etc
GLenum Format
 default: GL_RGBA, but may be GL_BGRA
GLsizei Stride
 user-specified stride
GLsizei StrideB
 actual stride in bytes
const GLubyte * Ptr
 Points to array data.
GLboolean Enabled
 Enabled flag is a boolean.
GLboolean Normalized
 GL_ARB_vertex_program.
GLuint _ElementSize
 size of each element in bytes
struct gl_buffer_objectBufferObj
 GL_ARB_vertex_buffer_object.
GLuint _MaxElement
 max element index into array buffer + 1

Field Documentation

GLint gl_client_array::Size

components per element (1,2,3,4)

GLenum gl_client_array::Type

datatype: GL_FLOAT, GL_INT, etc

GLenum gl_client_array::Format

default: GL_RGBA, but may be GL_BGRA

GLsizei gl_client_array::Stride

user-specified stride

GLsizei gl_client_array::StrideB

actual stride in bytes

const GLubyte* gl_client_array::Ptr

Points to array data.

GLboolean gl_client_array::Enabled

Enabled flag is a boolean.

GLboolean gl_client_array::Normalized

GL_ARB_vertex_program.

GLuint gl_client_array::_ElementSize

size of each element in bytes

struct gl_buffer_object* gl_client_array::BufferObj [read]

GL_ARB_vertex_buffer_object.

GLuint gl_client_array::_MaxElement

max element index into array buffer + 1


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:46 2009 for Mesa Main by  doxygen 1.5.4