PSXSDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
GsDrawEnv Struct Reference

Drawing environment. More...

#include <psxgpu.h>

Data Fields

unsigned char dither
 Dithering enabled flag.
 
unsigned char draw_on_display
 Enable drawing on display area flag.
 
short x
 Drawing area X start coordinate in framebuffer.
 
short y
 Drawing area Y start coordinate in framebuffer.
 
short w
 Drawing area width.
 
short h
 Drawing area height.
 
unsigned char ignore_mask
 Masking settings (can also be set with GsSetMasking())
 
unsigned char set_mask
 If this is set, every pixel drawn will have the mask bit set.
 

Detailed Description

Drawing environment.

Field Documentation

unsigned char GsDrawEnv::dither

Dithering enabled flag.

unsigned char GsDrawEnv::draw_on_display

Enable drawing on display area flag.

If this flag is enabled, drawing on display area is allowed.

Usually you enable this flag when you do not want to use double buffering.

short GsDrawEnv::h

Drawing area height.

unsigned char GsDrawEnv::ignore_mask

Masking settings (can also be set with GsSetMasking())

Do not draw over pixels which have their mask bit set

unsigned char GsDrawEnv::set_mask

If this is set, every pixel drawn will have the mask bit set.

short GsDrawEnv::w

Drawing area width.

short GsDrawEnv::x

Drawing area X start coordinate in framebuffer.

short GsDrawEnv::y

Drawing area Y start coordinate in framebuffer.


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