KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
pvr_sprite_cxt_t Struct Reference

PVR sprite context. More...

#include <dc/pvr.h>

Data Fields

int list_type
 Primitive list.
 
struct { 
 
   int   alpha 
 Enable or disable alpha. More...
 
   int   fog_type 
 Fog type. More...
 
   int   culling 
 Culling mode. More...
 
   int   color_clamp 
 Color clamp enable/disable. More...
 
   int   clip_mode 
 Clipping mode. More...
 
   int   specular 
 Offset color enable/disable. More...
 
gen 
 General parameters.
 
struct { 
 
   int   src 
 Source blending mode. More...
 
   int   dst 
 Dest blending mode. More...
 
   int   src_enable 
 Source blending enable. More...
 
   int   dst_enable 
 Dest blending enable. More...
 
blend 
 
struct { 
 
   int   comparison 
 Depth comparison mode. More...
 
   int   write 
 Enable or disable depth writes. More...
 
depth 
 Depth comparison/write modes.
 
struct { 
 
   int   enable 
 Enable/disable texturing. More...
 
   int   filter 
 Filtering mode. More...
 
   int   mipmap 
 Enable/disable mipmaps. More...
 
   int   mipmap_bias 
 Mipmap bias. More...
 
   int   uv_flip 
 Enable/disable U/V flipping. More...
 
   int   uv_clamp 
 Enable/disable U/V clamping. More...
 
   int   alpha 
 Enable/disable texture alpha. More...
 
   int   env 
 Texture color contribution. More...
 
   int   width 
 Texture width (requires a power of 2) More...
 
   int   height 
 Texture height (requires a power of 2) More...
 
   int   format 
 Texture format. More...
 
   pvr_ptr_t   base 
 Texture pointer. More...
 
txr 
 Texturing params.
 

Detailed Description

PVR sprite context.

You should use this more human readable format for specifying your sprite contexts, and then compile them into sprite headers when you are ready to start using them.

Unfortunately, it seems that Doxygen chokes up a little bit on this structure, and others like it. The documentation should still be mostly understandable though...

Field Documentation

◆ alpha

int pvr_sprite_cxt_t::alpha

Enable or disable alpha.

Enable/disable texture alpha.

See also
Alpha Toggle
Alpha Toggle

◆ base

pvr_ptr_t pvr_sprite_cxt_t::base

Texture pointer.

◆ [struct]

struct { ... } pvr_sprite_cxt_t::blend

◆ clip_mode

int pvr_sprite_cxt_t::clip_mode

Clipping mode.

See also
Clipping Modes

◆ color_clamp

int pvr_sprite_cxt_t::color_clamp

Color clamp enable/disable.

See also
Clamping Toggle

◆ comparison

int pvr_sprite_cxt_t::comparison

Depth comparison mode.

See also
Comparison Modes

◆ culling

int pvr_sprite_cxt_t::culling

Culling mode.

See also
Culling Modes

◆ [struct]

struct { ... } pvr_sprite_cxt_t::depth

Depth comparison/write modes.

◆ dst

int pvr_sprite_cxt_t::dst

Dest blending mode.

See also
Blending Modes

◆ dst_enable

int pvr_sprite_cxt_t::dst_enable

Dest blending enable.

See also
Blending Toggle

◆ enable

int pvr_sprite_cxt_t::enable

Enable/disable texturing.

See also
Toggle

◆ env

int pvr_sprite_cxt_t::env

Texture color contribution.

See also
Color Calculation Modes

◆ filter

int pvr_sprite_cxt_t::filter

Filtering mode.

See also
Sampling Modes

◆ fog_type

int pvr_sprite_cxt_t::fog_type

Fog type.

See also
Fog Modes

◆ format

int pvr_sprite_cxt_t::format

Texture format.

See also
Formats

◆ [struct]

struct { ... } pvr_sprite_cxt_t::gen

General parameters.

◆ height

int pvr_sprite_cxt_t::height

Texture height (requires a power of 2)

◆ list_type

int pvr_sprite_cxt_t::list_type

Primitive list.

See also
Polygon Lists

◆ mipmap

int pvr_sprite_cxt_t::mipmap

Enable/disable mipmaps.

See also
Mipmap Toggle

◆ mipmap_bias

int pvr_sprite_cxt_t::mipmap_bias

Mipmap bias.

See also
Mipmap Bias Modes

◆ specular

int pvr_sprite_cxt_t::specular

Offset color enable/disable.

See also
Offset Toggle

◆ src

int pvr_sprite_cxt_t::src

Source blending mode.

See also
Blending Modes

◆ src_enable

int pvr_sprite_cxt_t::src_enable

Source blending enable.

See also
Blending Toggle

◆ [struct]

struct { ... } pvr_sprite_cxt_t::txr

Texturing params.

◆ uv_clamp

int pvr_sprite_cxt_t::uv_clamp

Enable/disable U/V clamping.

See also
U/V Clamp Mode

◆ uv_flip

int pvr_sprite_cxt_t::uv_flip

Enable/disable U/V flipping.

See also
U/V Flip Mode

◆ width

int pvr_sprite_cxt_t::width

Texture width (requires a power of 2)

◆ write

int pvr_sprite_cxt_t::write

Enable or disable depth writes.

See also
Write Toggle

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