KWin
Loading...
Searching...
No Matches
Public Attributes | List of all members
KWin::GLVertexAttrib Struct Reference

#include <glvertexbuffer.h>

Public Attributes

size_t attributeIndex
 
size_t componentCount
 
GLenum type
 
size_t relativeOffset
 

Detailed Description

Describes the format of a vertex attribute stored in a buffer object.

The attribute format consists of the attribute index, the number of vector components, the data type, and the offset of the first element relative to the start of the vertex data.

Definition at line 51 of file glvertexbuffer.h.

Member Data Documentation

◆ attributeIndex

size_t KWin::GLVertexAttrib::attributeIndex

Definition at line 53 of file glvertexbuffer.h.

◆ componentCount

size_t KWin::GLVertexAttrib::componentCount

Definition at line 54 of file glvertexbuffer.h.

◆ relativeOffset

size_t KWin::GLVertexAttrib::relativeOffset

The type (e.g. GL_FLOAT)

Definition at line 56 of file glvertexbuffer.h.

◆ type

GLenum KWin::GLVertexAttrib::type

Definition at line 55 of file glvertexbuffer.h.


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