1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef __GXPIXEL_H__
#define __GXPIXEL_H__
#ifdef __cplusplus
extern "C" {
#endif
/*---------------------------------------------------------------------------*/
#include "rvl/GXEnum.h"
#include "rvl/GXStruct.h"
/*---------------------------------------------------------------------------*/
void GXSetFog( GXFogType type,
f32 startz,
f32 endz,
f32 nearz,
f32 farz,
GXColor color );
void GXSetFogColor( GXColor color );
void GXInitFogAdjTable( GXFogAdjTable* table, u16 width, const f32 projmtx[4][4] );
void GXSetFogRangeAdj( GXBool enable, u16 center, const GXFogAdjTable* table );
void GXSetBlendMode ( GXBlendMode type,
GXBlendFactor src_factor,
GXBlendFactor dst_factor,
GXLogicOp op );
void GXSetColorUpdate( GXBool update_enable );
void GXSetAlphaUpdate( GXBool update_enable );
void GXSetZMode( GXBool compare_enable,
GXCompare func,
GXBool update_enable );
void GXSetZCompLoc( GXBool before_tex );
void GXSetPixelFmt ( GXPixelFmt pix_fmt, GXZFmt16 z_fmt );
void GXSetDither( GXBool dither );
void GXSetDstAlpha( GXBool enable, u8 alpha );
void GXSetFieldMask( GXBool odd_mask, GXBool even_mask );
void GXSetFieldMode( GXBool field_mode, GXBool half_aspect_ratio );
/*---------------------------------------------------------------------------*/
#ifdef __cplusplus
}
#endif // __GXPIXEL_H__
#endif
|