libRocket
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Attributes | List of all members
Rocket::Core::Vertex Struct Reference

#include <Vertex.h>

Public Attributes

Vector2f position
 Two-dimensional position of the vertex (usually in pixels). More...
 
Colourb colour
 RGBA-ordered 8-bit / channel colour. More...
 
Vector2f tex_coord
 Texture coordinate for any associated texture. More...
 

Detailed Description

The element that makes up all geometry sent to the renderer.

Author
Peter Curry

Member Data Documentation

Colourb Rocket::Core::Vertex::colour

RGBA-ordered 8-bit / channel colour.

Vector2f Rocket::Core::Vertex::position

Two-dimensional position of the vertex (usually in pixels).

Vector2f Rocket::Core::Vertex::tex_coord

Texture coordinate for any associated texture.


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