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

PVR polygon header. More...

#include <pvr_header.h>

Data Fields

union { 
 
   uint32_t   cmd 
 Raw access to cmd param. More...
 
   pvr_poly_hdr_cmd_t   m0 
 command parameters More...
 
};  
 
union { 
 
   uint32_t   mode1 
 Raw access to mode1 param. More...
 
   pvr_poly_hdr_mode1_t   m1 
 mode1 parameters More...
 
};  
 
union { 
 
   uint32_t   mode2 
 Raw access to mode2 param. More...
 
   uint32_t   mode2_0 
 Legacy name. More...
 
   pvr_poly_hdr_mode2_t   m2 
 mode2 parameters (modifiers: outside volume) More...
 
};  
 
union { 
 
   uint32_t   mode3 
 Raw access to mode3 param. More...
 
   uint32_t   mode3_0 
 Legacy name. More...
 
   pvr_poly_hdr_mode3_t   m3 
 mode3 parameters (modifiers: outside volume) More...
 
};  
 
union { 
 
   struct { 
 
      float   a 
 Intensity color alpha. More...
 
      float   r 
 Intensity color red. More...
 
      float   g 
 Intensity color green. More...
 
      float   b 
 Intensity color blue. More...
 
   }  
 
   struct { 
 
      union { 
 
         struct { 
 
            uint32_t   mode2_1 
 Legacy name. More...
 
            uint32_t   mode3_1 
 Legacy name. More...
 
         }  
 
         struct { 
 
            pvr_poly_hdr_mode2_t   m2 
 mode2 parameters (modifiers: inside volume) More...
 
            pvr_poly_hdr_mode3_t   m3 
 mode3 parameters (modifiers: inside volume) More...
 
         }   modifier 
 Modifier volume parameters. More...
 
      }  
 
   }  
 
   struct { 
 
      uint32_t   argb 
 32-bit ARGB vertex color for sprites More...
 
      uint32_t   oargb 
 32-bit ARGB specular color for sprites More...
 
   }  
 
   struct { 
 
      uint32_t   start_x 
 Left (inclusive) border of user clip area. More...
 
      uint32_t   start_y 
 Top (inclusive) border of user clip area. More...
 
      uint32_t   end_x 
 Right (inclusive) border of user clip area. More...
 
      uint32_t   end_y 
 Bottom (inclusive) border of user clip area. More...
 
   }  
 
};  
 

Detailed Description

PVR polygon header.

This structure contains information about how the following polygons should be rendered.

Field Documentation

◆ [union]

union { ... } pvr_poly_hdr_t

◆ [union]

union { ... } pvr_poly_hdr_t

◆ [union]

union { ... } pvr_poly_hdr_t

◆ [union]

union { ... } pvr_poly_hdr_t

◆ [union]

union { ... } pvr_poly_hdr_t

◆ a

float pvr_poly_hdr_t::a

Intensity color alpha.

◆ argb

uint32_t pvr_poly_hdr_t::argb

32-bit ARGB vertex color for sprites

◆ b

float pvr_poly_hdr_t::b

Intensity color blue.

◆ cmd

uint32_t pvr_poly_hdr_t::cmd

Raw access to cmd param.

◆ end_x

uint32_t pvr_poly_hdr_t::end_x

Right (inclusive) border of user clip area.

◆ end_y

uint32_t pvr_poly_hdr_t::end_y

Bottom (inclusive) border of user clip area.

◆ g

float pvr_poly_hdr_t::g

Intensity color green.

◆ m0

pvr_poly_hdr_cmd_t pvr_poly_hdr_t::m0

command parameters

◆ m1

pvr_poly_hdr_mode1_t pvr_poly_hdr_t::m1

mode1 parameters

◆ m2

pvr_poly_hdr_mode2_t pvr_poly_hdr_t::m2

mode2 parameters (modifiers: outside volume)

mode2 parameters (modifiers: inside volume)

◆ m3

pvr_poly_hdr_mode3_t pvr_poly_hdr_t::m3

mode3 parameters (modifiers: outside volume)

mode3 parameters (modifiers: inside volume)

◆ mode1

uint32_t pvr_poly_hdr_t::mode1

Raw access to mode1 param.

◆ mode2

uint32_t pvr_poly_hdr_t::mode2

Raw access to mode2 param.

◆ mode2_0

uint32_t pvr_poly_hdr_t::mode2_0

Legacy name.

◆ mode2_1

uint32_t pvr_poly_hdr_t::mode2_1

Legacy name.

◆ mode3

uint32_t pvr_poly_hdr_t::mode3

Raw access to mode3 param.

◆ mode3_0

uint32_t pvr_poly_hdr_t::mode3_0

Legacy name.

◆ mode3_1

uint32_t pvr_poly_hdr_t::mode3_1

Legacy name.

◆ [struct]

struct { ... } pvr_poly_hdr_t::modifier

Modifier volume parameters.

◆ oargb

uint32_t pvr_poly_hdr_t::oargb

32-bit ARGB specular color for sprites

◆ r

float pvr_poly_hdr_t::r

Intensity color red.

◆ start_x

uint32_t pvr_poly_hdr_t::start_x

Left (inclusive) border of user clip area.

◆ start_y

uint32_t pvr_poly_hdr_t::start_y

Top (inclusive) border of user clip area.


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