PSYQo
Public Attributes | List of all members
psyqo::Prim::Scissor Struct Reference

A compounded Scissor primitive. More...

#include <primitives.hh>

Collaboration diagram for psyqo::Prim::Scissor:
Collaboration graph
[legend]

Public Attributes

DrawingAreaStart start = DrawingAreaStart(Vertex{{.x = 0, .y = 0}})
 
DrawingAreaEnd end = DrawingAreaEnd(Vertex{{.x = 1024, .y = 512}})
 
DrawingOffset offset = DrawingOffset(Vertex{{.x = 0, .y = 0}})
 

Detailed Description

A compounded Scissor primitive.

This compounds the necessary primitives to alter the drawing area for all drawing commands. It's meant to be used by the GPU class, but can be used sometimes to clip a different area within the vram.

The default constructor will create a Scissor which will clip over the entire VRAM, effectively disabling scissoring.


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