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

PVR header mode2. More...

#include <pvr_header.h>

Data Fields

enum pvr_uv_size v_size:3
 
enum pvr_uv_size u_size:3
 < Texture height
 
enum pvr_txr_shading_mode shading:2
 < Texture width
 
uint32_t mip_bias:4
 < Shading mode
 
bool supersampling:1
 < Bias for mipmaps
 
enum pvr_filter_mode 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
 
enum pvr_fog_type 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
 
enum pvr_blend_mode blend_dst:3
 < Blend from the 2nd accumulation buffer
 
enum pvr_blend_mode 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::alpha

< Disable alpha channel in textures

◆ blend_dst

enum pvr_blend_mode pvr_poly_hdr_mode2::blend_dst

< Blend from the 2nd accumulation buffer

◆ blend_dst_acc2

bool pvr_poly_hdr_mode2::blend_dst_acc2

< Select fog type

◆ blend_src

enum pvr_blend_mode pvr_poly_hdr_mode2::blend_src

< Blend mode for the background

◆ blend_src_acc2

bool pvr_poly_hdr_mode2::blend_src_acc2

< Blend to the 2nd accumulation buffer

◆ filter_mode

enum pvr_filter_mode pvr_poly_hdr_mode2::filter_mode

< Enable texture supersampling

◆ fog_clamp

bool pvr_poly_hdr_mode2::fog_clamp

< Enable alpha channel in vertex colors

◆ fog_type

enum pvr_fog_type pvr_poly_hdr_mode2::fog_type

< Enable fog clamping

◆ mip_bias

uint32_t pvr_poly_hdr_mode2::mip_bias

< Shading mode

◆ shading

enum pvr_txr_shading_mode pvr_poly_hdr_mode2::shading

< Texture width

◆ supersampling

bool pvr_poly_hdr_mode2::supersampling

< Bias for mipmaps

◆ txralpha_dis

bool pvr_poly_hdr_mode2::txralpha_dis

< Flip U after 1.0

◆ u_clamp

bool pvr_poly_hdr_mode2::u_clamp

< Clamp V to 1.0

◆ u_flip

bool pvr_poly_hdr_mode2::u_flip

< Flip V after 1.0

◆ u_size

enum pvr_uv_size pvr_poly_hdr_mode2::u_size

< Texture height

◆ v_clamp

bool pvr_poly_hdr_mode2::v_clamp

< Texture filtering mode

◆ v_flip

bool pvr_poly_hdr_mode2::v_flip

< Clamp U to 1.0

◆ v_size

enum pvr_uv_size pvr_poly_hdr_mode2::v_size

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