Nugget
Loading...
Searching...
No Matches
Public Member Functions | List of all members
psyqo::Prim::DrawingOffset Struct Reference

The DrawingOffset primitive. More...

#include <psyqo/primitives/control.hh>

Public Member Functions

 DrawingOffset (Vertex p)
 

Detailed Description

The DrawingOffset primitive.

This primitive will define the end location of the drawing area. It will be used by the GPU class when changing buffers, so there shouldn't be any need to use it directly. Any primitive drawn will be shifted by the offset specified in the constructor. There is no set method for the Vertex field, as there is no other field in the struct, and one can simply use a copy constructor to set it.

Constructor & Destructor Documentation

◆ DrawingOffset()

psyqo::Prim::DrawingOffset::DrawingOffset ( Vertex  p)
inline

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