KallistiOS
2.0.0
|
PVR sprite context. More...
#include <dc/pvr.h>
Data Fields | |
int | list_type |
Primitive list. | |
struct { | |
int alpha | |
Enable or disable alpha outside modifier. | |
int fog_type | |
Fog type outside modifier. | |
int culling | |
Culling mode. | |
int color_clamp | |
Color clamp enable/disable outside modifier. | |
int clip_mode | |
Clipping mode. | |
} | gen |
General parameters. | |
struct { | |
int src | |
Source blending mode outside modifier. | |
int dst | |
Dest blending mode outside modifier. | |
int src_enable | |
Source blending enable outside modifier. | |
int dst_enable | |
Dest blending enable outside modifier. | |
} | blend |
struct { | |
int comparison | |
Depth comparison mode. | |
int write | |
Enable or disable depth writes. | |
} | depth |
Depth comparison/write modes. | |
struct { | |
int enable | |
Enable/disable texturing. | |
int filter | |
Filtering mode. | |
int mipmap | |
Enable/disable mipmaps. | |
int mipmap_bias | |
Mipmap bias. | |
int uv_flip | |
Enable/disable U/V flipping. | |
int uv_clamp | |
Enable/disable U/V clamping. | |
int alpha | |
Enable/disable texture alpha. | |
int env | |
Texture color contribution. | |
int width | |
Texture width (requires a power of 2) | |
int height | |
Texture height (requires a power of 2) | |
int format | |
Texture format. | |
pvr_ptr_t base | |
Texture pointer. | |
} | txr |
Texturing params. |
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...
int pvr_sprite_cxt_t::alpha |
Enable or disable alpha outside modifier.
Enable/disable texture alpha.
pvr_ptr_t pvr_sprite_cxt_t::base |
Texture pointer.
struct { ... } pvr_sprite_cxt_t::blend |
int pvr_sprite_cxt_t::clip_mode |
Clipping mode.
int pvr_sprite_cxt_t::color_clamp |
Color clamp enable/disable outside modifier.
int pvr_sprite_cxt_t::comparison |
Depth comparison mode.
int pvr_sprite_cxt_t::culling |
Culling mode.
struct { ... } pvr_sprite_cxt_t::depth |
Depth comparison/write modes.
int pvr_sprite_cxt_t::dst |
Dest blending mode outside modifier.
int pvr_sprite_cxt_t::dst_enable |
Dest blending enable outside modifier.
int pvr_sprite_cxt_t::enable |
Enable/disable texturing.
int pvr_sprite_cxt_t::env |
Texture color contribution.
int pvr_sprite_cxt_t::filter |
Filtering mode.
int pvr_sprite_cxt_t::fog_type |
Fog type outside modifier.
int pvr_sprite_cxt_t::format |
Texture format.
struct { ... } pvr_sprite_cxt_t::gen |
General parameters.
int pvr_sprite_cxt_t::height |
Texture height (requires a power of 2)
int pvr_sprite_cxt_t::list_type |
Primitive list.
int pvr_sprite_cxt_t::mipmap |
Enable/disable mipmaps.
int pvr_sprite_cxt_t::mipmap_bias |
Mipmap bias.
int pvr_sprite_cxt_t::src |
Source blending mode outside modifier.
int pvr_sprite_cxt_t::src_enable |
Source blending enable outside modifier.
struct { ... } pvr_sprite_cxt_t::txr |
Texturing params.
int pvr_sprite_cxt_t::uv_clamp |
Enable/disable U/V clamping.
int pvr_sprite_cxt_t::uv_flip |
Enable/disable U/V flipping.
int pvr_sprite_cxt_t::width |
Texture width (requires a power of 2)
int pvr_sprite_cxt_t::write |
Enable or disable depth writes.