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

The FastFill primitive. More...

#include <psyqo/primitives/misc.hh>

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

Public Member Functions

 FastFill ()
 
 FastFill (Color c)
 
FastFillsetColor (Color c)
 

Public Attributes

Rect rect
 

Detailed Description

The FastFill primitive.

Sending this command will fill the VRAM space specified by the rect member with the color specified by the Color argument of the constructor or the setColor method.

This primitive will ignore the current scissor, so it's not a good idea to use it directly. It'll be used properly by the various GPU clear commands.

Constructor & Destructor Documentation

◆ FastFill() [1/2]

psyqo::Prim::FastFill::FastFill ( )
inline

◆ FastFill() [2/2]

psyqo::Prim::FastFill::FastFill ( Color  c)
inline

Member Function Documentation

◆ setColor()

FastFill & psyqo::Prim::FastFill::setColor ( Color  c)
inline

Member Data Documentation

◆ rect

Rect psyqo::Prim::FastFill::rect

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