Classes | Enumerations
Graphics module

2D graphics module: sprites, text, shapes, ... More...

Classes

class  cpp3ds::BlendMode
 Blending modes for drawing. More...
 
class  cpp3ds::CircleShape
 Specialized shape representing a circle. More...
 
class  cpp3ds::Color
 Utility class for manpulating RGBA colors. More...
 
class  cpp3ds::ConvexShape
 Specialized shape representing a convex polygon. More...
 
class  cpp3ds::Drawable
 Abstract base class for objects that can be drawn to a render target. More...
 
class  cpp3ds::Font
 Class for loading and manipulating character fonts. More...
 
class  cpp3ds::Glyph
 Structure describing a glyph. More...
 
class  cpp3ds::Image
 Class for loading, manipulating and saving images. More...
 
class  cpp3ds::Rect< T >
 Utility class for manipulating 2D axis aligned rectangles. More...
 
class  cpp3ds::RectangleShape
 Specialized shape representing a rectangle. More...
 
class  cpp3ds::RenderStates
 Define the states used for drawing to a RenderTarget. More...
 
class  cpp3ds::RenderTarget
 Base class for all render targets (window, texture, ...) More...
 
class  cpp3ds::RenderTexture
 Target for off-screen 2D rendering into a texture. More...
 
class  cpp3ds::Shader
 Shader class (vertex and fragment) More...
 
class  cpp3ds::Shape
 Base class for textured shapes with outline. More...
 
class  cpp3ds::Sprite
 Drawable representation of a texture, with its own transformations, color, etc. More...
 
class  cpp3ds::Text
 Graphical text that can be drawn to a render target. More...
 
class  cpp3ds::Texture
 some things could easily be broken/////// More...
 
class  cpp3ds::Transform
 Define a 3x3 transform matrix. More...
 
class  cpp3ds::Transformable
 Decomposed transform defined by a position, a rotation and a scale. More...
 
class  cpp3ds::Vertex
 Define a point with color and texture coordinates. More...
 
class  cpp3ds::VertexArray
 Define a set of one or more 2D primitives. More...
 
class  cpp3ds::View
 2D camera that defines what region is shown on screen More...
 

Enumerations

enum  cpp3ds::PrimitiveType {
  cpp3ds::Points,
  cpp3ds::Lines,
  cpp3ds::LinesStrip,
  cpp3ds::Triangles,
  cpp3ds::TrianglesStrip,
  cpp3ds::TrianglesFan,
  cpp3ds::Quads
}
 Types of primitives that a cpp3ds::VertexArray can render. More...
 

Detailed Description

2D graphics module: sprites, text, shapes, ...

Enumeration Type Documentation

Types of primitives that a cpp3ds::VertexArray can render.

Points and lines have no area, therefore their thickness will always be 1 pixel, regarldess the current transform and view.

Enumerator
Points 

List of individual points.

Lines 

List of individual lines.

LinesStrip 

List of connected lines, a point uses the previous point to form a line.

Triangles 

List of individual triangles.

TrianglesStrip 

List of connected triangles, a point uses the two previous points to form a triangle.

TrianglesFan 

List of connected triangles, a point uses the common center and the previous point to form a triangle.

Quads 

List of individual quads (deprecated, don't work with OpenGL ES)

Definition at line 39 of file PrimitiveType.hpp.