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

PVR header mode2. More...

#include <pvr_header.h>

Data Fields

pvr_uv_size_t v_size:3
 
pvr_uv_size_t u_size:3
 < Texture height
 
pvr_txr_shading_mode_t shading:2
 < Texture width
 
uint32_t mip_bias:4
 < Shading mode
 
bool supersampling:1
 < Bias for mipmaps
 
pvr_filter_mode_t filter_mode:2
 < Enable texture supersampling
 
bool v_clamp:1
 < Texture filtering mode
 
bool u_clamp:1
 < Clamp V to 1.0
 
bool v_flip:1
 < Clamp U to 1.0
 
bool u_flip:1
 < Flip V after 1.0
 
bool txralpha_dis:1
 < Flip U after 1.0
 
bool alpha:1
 < Disable alpha channel in textures
 
bool fog_clamp:1
 < Enable alpha channel in vertex colors
 
pvr_fog_type_t fog_type:2
 < Enable fog clamping
 
bool blend_dst_acc2:1
 < Select fog type
 
bool blend_src_acc2:1
 < Blend to the 2nd accumulation buffer
 
pvr_blend_mode_t blend_dst:3
 < Blend from the 2nd accumulation buffer
 
pvr_blend_mode_t blend_src:3
 < Blend mode for the background
 

Detailed Description

PVR header mode2.

This structure contains all the fields for the mode2 parameter of PVR headers.

Field Documentation

◆ alpha

bool pvr_poly_hdr_mode2_t::alpha

< Disable alpha channel in textures

◆ blend_dst

pvr_blend_mode_t pvr_poly_hdr_mode2_t::blend_dst

< Blend from the 2nd accumulation buffer

◆ blend_dst_acc2

bool pvr_poly_hdr_mode2_t::blend_dst_acc2

< Select fog type

◆ blend_src

pvr_blend_mode_t pvr_poly_hdr_mode2_t::blend_src

< Blend mode for the background

◆ blend_src_acc2

bool pvr_poly_hdr_mode2_t::blend_src_acc2

< Blend to the 2nd accumulation buffer

◆ filter_mode

pvr_filter_mode_t pvr_poly_hdr_mode2_t::filter_mode

< Enable texture supersampling

◆ fog_clamp

bool pvr_poly_hdr_mode2_t::fog_clamp

< Enable alpha channel in vertex colors

◆ fog_type

pvr_fog_type_t pvr_poly_hdr_mode2_t::fog_type

< Enable fog clamping

◆ mip_bias

uint32_t pvr_poly_hdr_mode2_t::mip_bias

< Shading mode

◆ shading

pvr_txr_shading_mode_t pvr_poly_hdr_mode2_t::shading

< Texture width

◆ supersampling

bool pvr_poly_hdr_mode2_t::supersampling

< Bias for mipmaps

◆ txralpha_dis

bool pvr_poly_hdr_mode2_t::txralpha_dis

< Flip U after 1.0

◆ u_clamp

bool pvr_poly_hdr_mode2_t::u_clamp

< Clamp V to 1.0

◆ u_flip

bool pvr_poly_hdr_mode2_t::u_flip

< Flip V after 1.0

◆ u_size

pvr_uv_size_t pvr_poly_hdr_mode2_t::u_size

< Texture height

◆ v_clamp

bool pvr_poly_hdr_mode2_t::v_clamp

< Texture filtering mode

◆ v_flip

bool pvr_poly_hdr_mode2_t::v_flip

< Clamp U to 1.0

◆ v_size

pvr_uv_size_t pvr_poly_hdr_mode2_t::v_size

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