sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
gsTexture.h File Reference
#include "gsKit.h"

Go to the source code of this file.

Macros

#define GS_ST   0x02
#define GS_UV   0x03
#define GS_TEX0_1   0x06
#define GS_TEX0_2   0x07
#define GS_TEX1_1   0x14
#define GS_TEX1_2   0x15
#define GS_TEX2_1   0x16
#define GS_TEX2_2   0x17
#define GS_TEXCLUT   0x1c
#define GS_SCANMSK   0x22
#define GS_MIPTBP1_1   0x34
#define GS_MIPTBP1_2   0x35
#define GS_MIPTBP2_1   0x36
#define GS_MIPTBP2_2   0x37
#define GS_TEXA   0x3b
#define GS_TEXFLUSH   0x3f
#define GS_CLUT_NONE   0x00
#define GS_CLUT_PALLETE   0x01
#define GS_CLUT_TEXTURE   0x02
#define GS_CLUT_STOREMODE_NOLOAD   0x00
#define GS_CLUT_STOREMODE_LOAD   0x01
#define GS_CLUT_STOREMODE_LOAD_CBP0   0x02
#define GS_CLUT_STOREMODE_LOAD_CBP1   0x03
#define GS_CLUT_STOREMODE_COMPARE_CBP0   0x04
#define GS_CLUT_STOREMODE_COMPARE_CBP1   0x05
#define GS_SETREG_COLCLAMP(clamp)
#define GS_SETREG_MIPTBP1_1   GS_SETREG_MIPTBP1
#define GS_SETREG_MIPTBP1_2   GS_SETREG_MIPTBP1
#define GS_SETREG_MIPTBP1(tbp1, tbw1, tbp2, tbw2, tbp3, tbw3)
#define GS_SETREG_MIPTBP2_1   GS_SETREG_MIPTBP2
#define GS_SETREG_MIPTBP2_2   GS_SETREG_MIPTBP2
#define GS_SETREG_MIPTBP2(tbp4, tbw4, tbp5, tbw5, tbp6, tbw6)
#define GS_SETREG_TEX0_1   GS_SETREG_TEX0
#define GS_SETREG_TEX0_2   GS_SETREG_TEX0
#define GS_SETREG_TEX0(tbp, tbw, psm, tw, th, tcc, tfx, cbp, cpsm, csm, csa, cld)
#define GS_SETREG_TEX1_1   GS_SETREG_TEX1
#define GS_SETREG_TEX1_2   GS_SETREG_TEX1
#define GS_SETREG_TEX1(lcm, mxl, mmag, mmin, mtba, l, k)
#define GS_SETREG_TEX2_1   GS_SETREG_TEX2
#define GS_SETREG_TEX2_2   GS_SETREG_TEX2
#define GS_SETREG_TEX2(psm, cbp, cpsm, csm, csa, cld)
#define GS_SETREG_TEXA(ta0, aem, ta1)
#define GS_SETREG_TEXCLUT(cbw, cou, cov)
#define GS_SETREG_TRXDIR(xdr)
#define GS_SETREG_TRXPOS(ssax, ssay, dsax, dsay, dir)
#define GS_SETREG_TRXREG(rrw, rrh)
#define GS_SETREG_UV(u, v)
#define GS_SETREG_STQ(s, t)
#define GS_SETREG_BITBLTBUF(sbp, sbw, spsm, dbp, dbw, dpsm)
#define gsKit_prim_sprite_texture(gsGlobal, Texture, x1, y1, u1, v1, x2, y2, u2, v2, z, color)
#define gsKit_prim_sprite_striped_texture(gsGlobal, Texture, x1, y1, u1, v1, x2, y2, u2, v2, z, color)
#define gsKit_prim_triangle_texture(gsGlobal, Texture, x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, z, color)
#define gsKit_prim_triangle_goraud_texture(gsGlobal, Texture, x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, z, color1, color2, color3)
#define gsKit_prim_quad_texture(gsGlobal, Texture, x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, z, color)
#define gsKit_prim_quad_goraud_texture(gsGlobal, Texture, x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, z, color1, color2, color3, color4)

Functions

u32 gsKit_texture_size_ee (int width, int height, int psm)
u32 gsKit_texture_size (int width, int height, int psm)
void gsKit_texture_to_psm16 (GSTEXTURE *Texture)
void gsKit_texture_send (u32 *mem, int width, int height, u32 tbp, u32 psm, u32 tbw, u8 clut)
void gsKit_texture_send_inline (GSGLOBAL *gsGlobal, u32 *mem, int width, int height, u32 tbp, u32 psm, u32 tbw, u8 clut)
void gsKit_texture_upload (GSGLOBAL *gsGlobal, GSTEXTURE *Texture)
void gsKit_prim_sprite_texture_3d (GSGLOBAL *gsGlobal, const GSTEXTURE *Texture, float x1, float y1, int iz1, float u1, float v1, float x2, float y2, int iz2, float u2, float v2, u64 color)
void gsKit_prim_sprite_striped_texture_3d (GSGLOBAL *gsGlobal, const GSTEXTURE *Texture, float x1, float y1, int iz1, float u1, float v1, float x2, float y2, int iz2, float u2, float v2, u64 color)
void gskit_prim_list_sprite_texture_uv_3d (GSGLOBAL *gsGlobal, const GSTEXTURE *Texture, int count, const GSPRIMUVPOINT *vertices)
void gskit_prim_list_sprite_texture_uv_flat (GSGLOBAL *gsGlobal, const GSTEXTURE *Texture, int count, const u128 *flatContent)
void gskit_prim_list_sprite_texture_uv_flat_color (GSGLOBAL *gsGlobal, const GSTEXTURE *Texture, gs_rgbaq color, int count, const GSPRIMUVPOINTFLAT *vertices)
void gsKit_prim_triangle_texture_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float x1, float y1, int iz1, float u1, float v1, float x2, float y2, int iz2, float u2, float v2, float x3, float y3, int iz3, float u3, float v3, u64 color)
void gsKit_prim_triangle_goraud_texture_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float x1, float y1, int iz1, float u1, float v1, float x2, float y2, int iz2, float u2, float v2, float x3, float y3, int iz3, float u3, float v3, u64 color1, u64 color2, u64 color3)
void gsKit_prim_list_triangle_goraud_texture_uv_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, int count, const GSPRIMUVPOINT *vertices)
void gsKit_prim_list_triangle_goraud_texture_stq_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, int count, const GSPRIMSTQPOINT *vertices)
void gsKit_prim_triangle_strip_texture (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float *TriStrip, int segments, int iz, u64 color)
void gsKit_prim_triangle_strip_texture_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float *TriStrip, int segments, u64 color)
void gsKit_prim_triangle_fan_texture (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float *TriFan, int verticies, int iz, u64 color)
void gsKit_prim_triangle_fan_texture_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float *TriFan, int verticies, u64 color)
void gsKit_prim_quad_texture_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float x1, float y1, int iz1, float u1, float v1, float x2, float y2, int iz2, float u2, float v2, float x3, float y3, int iz3, float u3, float v3, float x4, float y4, int iz4, float u4, float v4, u64 color)
void gsKit_prim_quad_goraud_texture_3d (GSGLOBAL *gsGlobal, GSTEXTURE *Texture, float x1, float y1, int iz1, float u1, float v1, float x2, float y2, int iz2, float u2, float v2, float x3, float y3, int iz3, float u3, float v3, float x4, float y4, int iz4, float u4, float v4, u64 color1, u64 color2, u64 color3, u64 color4)

Macro Definition Documentation

◆ GS_CLUT_NONE

#define GS_CLUT_NONE   0x00

Definition at line 38 of file gsTexture.h.

◆ GS_CLUT_PALLETE

#define GS_CLUT_PALLETE   0x01

Definition at line 39 of file gsTexture.h.

◆ GS_CLUT_STOREMODE_COMPARE_CBP0

#define GS_CLUT_STOREMODE_COMPARE_CBP0   0x04

Definition at line 46 of file gsTexture.h.

◆ GS_CLUT_STOREMODE_COMPARE_CBP1

#define GS_CLUT_STOREMODE_COMPARE_CBP1   0x05

Definition at line 47 of file gsTexture.h.

◆ GS_CLUT_STOREMODE_LOAD

#define GS_CLUT_STOREMODE_LOAD   0x01

Definition at line 43 of file gsTexture.h.

◆ GS_CLUT_STOREMODE_LOAD_CBP0

#define GS_CLUT_STOREMODE_LOAD_CBP0   0x02

Definition at line 44 of file gsTexture.h.

◆ GS_CLUT_STOREMODE_LOAD_CBP1

#define GS_CLUT_STOREMODE_LOAD_CBP1   0x03

Definition at line 45 of file gsTexture.h.

◆ GS_CLUT_STOREMODE_NOLOAD

#define GS_CLUT_STOREMODE_NOLOAD   0x00

Definition at line 42 of file gsTexture.h.

◆ GS_CLUT_TEXTURE

#define GS_CLUT_TEXTURE   0x02

Definition at line 40 of file gsTexture.h.

◆ GS_MIPTBP1_1

#define GS_MIPTBP1_1   0x34

Definition at line 31 of file gsTexture.h.

◆ GS_MIPTBP1_2

#define GS_MIPTBP1_2   0x35

Definition at line 32 of file gsTexture.h.

◆ GS_MIPTBP2_1

#define GS_MIPTBP2_1   0x36

Definition at line 33 of file gsTexture.h.

◆ GS_MIPTBP2_2

#define GS_MIPTBP2_2   0x37

Definition at line 34 of file gsTexture.h.

◆ GS_SCANMSK

#define GS_SCANMSK   0x22

Definition at line 30 of file gsTexture.h.

◆ GS_SETREG_BITBLTBUF

#define GS_SETREG_BITBLTBUF ( sbp,
sbw,
spsm,
dbp,
dbw,
dpsm )
Value:
((u64)(sbp) | ((u64)(sbw) << 16) | \
((u64)(spsm) << 24) | ((u64)(dbp) << 32) | \
((u64)(dbw) << 48) | ((u64)(dpsm) << 56))

Definition at line 110 of file gsTexture.h.

◆ GS_SETREG_COLCLAMP

#define GS_SETREG_COLCLAMP ( clamp)
Value:
((u64)(clamp))

Definition at line 49 of file gsTexture.h.

◆ GS_SETREG_MIPTBP1

#define GS_SETREG_MIPTBP1 ( tbp1,
tbw1,
tbp2,
tbw2,
tbp3,
tbw3 )
Value:
((u64)(tbp1) | ((u64)(tbw1) << 14) | \
((u64)(tbp2) << 20) | ((u64)(tbw2) << 34) | \
((u64)(tbp3) << 40) | ((u64)(tbw3) << 54))

Definition at line 53 of file gsTexture.h.

◆ GS_SETREG_MIPTBP1_1

#define GS_SETREG_MIPTBP1_1   GS_SETREG_MIPTBP1

Definition at line 51 of file gsTexture.h.

◆ GS_SETREG_MIPTBP1_2

#define GS_SETREG_MIPTBP1_2   GS_SETREG_MIPTBP1

Definition at line 52 of file gsTexture.h.

◆ GS_SETREG_MIPTBP2

#define GS_SETREG_MIPTBP2 ( tbp4,
tbw4,
tbp5,
tbw5,
tbp6,
tbw6 )
Value:
((u64)(tbp4) | ((u64)(tbw4) << 14) | \
((u64)(tbp5) << 20) | ((u64)(tbw5) << 34) | \
((u64)(tbp6) << 40) | ((u64)(tbw6) << 54))

Definition at line 60 of file gsTexture.h.

◆ GS_SETREG_MIPTBP2_1

#define GS_SETREG_MIPTBP2_1   GS_SETREG_MIPTBP2

Definition at line 58 of file gsTexture.h.

◆ GS_SETREG_MIPTBP2_2

#define GS_SETREG_MIPTBP2_2   GS_SETREG_MIPTBP2

Definition at line 59 of file gsTexture.h.

◆ GS_SETREG_STQ

#define GS_SETREG_STQ ( s,
t )
Value:
((u64)(s) | ((u64)(t) << 32))

Definition at line 108 of file gsTexture.h.

◆ GS_SETREG_TEX0

#define GS_SETREG_TEX0 ( tbp,
tbw,
psm,
tw,
th,
tcc,
tfx,
cbp,
cpsm,
csm,
csa,
cld )
Value:
((u64)(tbp) | ((u64)(tbw) << 14) | \
((u64)(psm) << 20) | ((u64)(tw) << 26) | \
((u64)(th) << 30) | ((u64)(tcc) << 34) | \
((u64)(tfx) << 35) | ((u64)(cbp) << 37) | \
((u64)(cpsm) << 51) | ((u64)(csm) << 55) | \
((u64)(csa) << 56) | ((u64)(cld) << 61))

Definition at line 67 of file gsTexture.h.

◆ GS_SETREG_TEX0_1

#define GS_SETREG_TEX0_1   GS_SETREG_TEX0

Definition at line 65 of file gsTexture.h.

◆ GS_SETREG_TEX0_2

#define GS_SETREG_TEX0_2   GS_SETREG_TEX0

Definition at line 66 of file gsTexture.h.

◆ GS_SETREG_TEX1

#define GS_SETREG_TEX1 ( lcm,
mxl,
mmag,
mmin,
mtba,
l,
k )
Value:
((u64)(lcm) | ((u64)(mxl) << 2) | \
((u64)(mmag) << 5) | ((u64)(mmin) << 6) | \
((u64)(mtba) << 9) | ((u64)(l) << 19) | \
((u64)(k) << 32))

Definition at line 77 of file gsTexture.h.

◆ GS_SETREG_TEX1_1

#define GS_SETREG_TEX1_1   GS_SETREG_TEX1

Definition at line 75 of file gsTexture.h.

◆ GS_SETREG_TEX1_2

#define GS_SETREG_TEX1_2   GS_SETREG_TEX1

Definition at line 76 of file gsTexture.h.

◆ GS_SETREG_TEX2

#define GS_SETREG_TEX2 ( psm,
cbp,
cpsm,
csm,
csa,
cld )
Value:
(((u64)(psm) << 20) | ((u64)(cbp) << 37) | \
((u64)(cpsm) << 51) | ((u64)(csm) << 55) | \
((u64)(csa) << 56) | ((u64)(cld) << 61))

Definition at line 85 of file gsTexture.h.

◆ GS_SETREG_TEX2_1

#define GS_SETREG_TEX2_1   GS_SETREG_TEX2

Definition at line 83 of file gsTexture.h.

◆ GS_SETREG_TEX2_2

#define GS_SETREG_TEX2_2   GS_SETREG_TEX2

Definition at line 84 of file gsTexture.h.

◆ GS_SETREG_TEXA

#define GS_SETREG_TEXA ( ta0,
aem,
ta1 )
Value:
((u64)(ta0) | ((u64)(aem) << 15) | ((u64)(ta1) << 32))

Definition at line 90 of file gsTexture.h.

◆ GS_SETREG_TEXCLUT

#define GS_SETREG_TEXCLUT ( cbw,
cou,
cov )
Value:
((u64)(cbw) | ((u64)(cou) << 6) | ((u64)(cov) << 12))

Definition at line 93 of file gsTexture.h.

◆ GS_SETREG_TRXDIR

#define GS_SETREG_TRXDIR ( xdr)
Value:
((u64)(xdr))

Definition at line 96 of file gsTexture.h.

◆ GS_SETREG_TRXPOS

#define GS_SETREG_TRXPOS ( ssax,
ssay,
dsax,
dsay,
dir )
Value:
((u64)(ssax) | ((u64)(ssay) << 16) | \
((u64)(dsax) << 32) | ((u64)(dsay) << 48) | \
((u64)(dir) << 59))

Definition at line 98 of file gsTexture.h.

◆ GS_SETREG_TRXREG

#define GS_SETREG_TRXREG ( rrw,
rrh )
Value:
((u64)(rrw) | ((u64)(rrh) << 32))

Definition at line 103 of file gsTexture.h.

◆ GS_SETREG_UV

#define GS_SETREG_UV ( u,
v )
Value:
((u64)(u) | ((u64)(v) << 16))

Definition at line 106 of file gsTexture.h.

◆ GS_ST

#define GS_ST   0x02

Definition at line 21 of file gsTexture.h.

◆ GS_TEX0_1

#define GS_TEX0_1   0x06

Definition at line 23 of file gsTexture.h.

◆ GS_TEX0_2

#define GS_TEX0_2   0x07

Definition at line 24 of file gsTexture.h.

◆ GS_TEX1_1

#define GS_TEX1_1   0x14

Definition at line 25 of file gsTexture.h.

◆ GS_TEX1_2

#define GS_TEX1_2   0x15

Definition at line 26 of file gsTexture.h.

◆ GS_TEX2_1

#define GS_TEX2_1   0x16

Definition at line 27 of file gsTexture.h.

◆ GS_TEX2_2

#define GS_TEX2_2   0x17

Definition at line 28 of file gsTexture.h.

◆ GS_TEXA

#define GS_TEXA   0x3b

Definition at line 35 of file gsTexture.h.

◆ GS_TEXCLUT

#define GS_TEXCLUT   0x1c

Definition at line 29 of file gsTexture.h.

◆ GS_TEXFLUSH

#define GS_TEXFLUSH   0x3f

Definition at line 36 of file gsTexture.h.

◆ GS_UV

#define GS_UV   0x03

Definition at line 22 of file gsTexture.h.

◆ gsKit_prim_quad_goraud_texture

#define gsKit_prim_quad_goraud_texture ( gsGlobal,
Texture,
x1,
y1,
u1,
v1,
x2,
y2,
u2,
v2,
x3,
y3,
u3,
v3,
x4,
y4,
u4,
v4,
z,
color1,
color2,
color3,
color4 )
Value:
gsKit_prim_quad_goraud_texture_3d(gsGlobal, Texture, x1, y1, z, u1, v1, \
x2, y2, z, u2, v2, \
x3, y3, z, u3, v3, \
x4, y4, z, u4, v4, color1, color2, color3, color4);

Definition at line 215 of file gsTexture.h.

◆ gsKit_prim_quad_texture

#define gsKit_prim_quad_texture ( gsGlobal,
Texture,
x1,
y1,
u1,
v1,
x2,
y2,
u2,
v2,
x3,
y3,
u3,
v3,
x4,
y4,
u4,
v4,
z,
color )
Value:
gsKit_prim_quad_texture_3d(gsGlobal, Texture, x1, y1, z, u1, v1, \
x2, y2, z, u2, v2, \
x3, y3, z, u3, v3, \
x4, y4, z, u4, v4, color);

Definition at line 205 of file gsTexture.h.

◆ gsKit_prim_sprite_striped_texture

#define gsKit_prim_sprite_striped_texture ( gsGlobal,
Texture,
x1,
y1,
u1,
v1,
x2,
y2,
u2,
v2,
z,
color )
Value:
gsKit_prim_sprite_striped_texture_3d(gsGlobal, Texture, x1, y1, z, u1, v1, \
x2, y2, z, u2, v2, color);

Definition at line 183 of file gsTexture.h.

◆ gsKit_prim_sprite_texture

#define gsKit_prim_sprite_texture ( gsGlobal,
Texture,
x1,
y1,
u1,
v1,
x2,
y2,
u2,
v2,
z,
color )
Value:
gsKit_prim_sprite_texture_3d(gsGlobal, Texture, x1, y1, z, u1, v1, \
x2, y2, z, u2, v2, color);

Definition at line 177 of file gsTexture.h.

◆ gsKit_prim_triangle_goraud_texture

#define gsKit_prim_triangle_goraud_texture ( gsGlobal,
Texture,
x1,
y1,
u1,
v1,
x2,
y2,
u2,
v2,
x3,
y3,
u3,
v3,
z,
color1,
color2,
color3 )
Value:
gsKit_prim_triangle_goraud_texture_3d(gsGlobal, Texture, x1, y1, z, u1, v1, \
x2, y2, z, u2, v2, \
x3, y3, z, u3, v3, color1, color2, color3);

Definition at line 197 of file gsTexture.h.

◆ gsKit_prim_triangle_texture

#define gsKit_prim_triangle_texture ( gsGlobal,
Texture,
x1,
y1,
u1,
v1,
x2,
y2,
u2,
v2,
x3,
y3,
u3,
v3,
z,
color )
Value:
gsKit_prim_triangle_texture_3d(gsGlobal, Texture, x1, y1, z, u1, v1, \
x2, y2, z, u2, v2, \
x3, y3, z, u3, v3, color);

Definition at line 189 of file gsTexture.h.

Function Documentation

◆ gskit_prim_list_sprite_texture_uv_3d()

void gskit_prim_list_sprite_texture_uv_3d ( GSGLOBAL * gsGlobal,
const GSTEXTURE * Texture,
int count,
const GSPRIMUVPOINT * vertices )

Definition at line 676 of file gsTexture.c.

◆ gskit_prim_list_sprite_texture_uv_flat()

void gskit_prim_list_sprite_texture_uv_flat ( GSGLOBAL * gsGlobal,
const GSTEXTURE * Texture,
int count,
const u128 * flatContent )

Definition at line 719 of file gsTexture.c.

◆ gskit_prim_list_sprite_texture_uv_flat_color()

void gskit_prim_list_sprite_texture_uv_flat_color ( GSGLOBAL * gsGlobal,
const GSTEXTURE * Texture,
gs_rgbaq color,
int count,
const GSPRIMUVPOINTFLAT * vertices )

Definition at line 762 of file gsTexture.c.

◆ gsKit_prim_list_triangle_goraud_texture_stq_3d()

void gsKit_prim_list_triangle_goraud_texture_stq_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
int count,
const GSPRIMSTQPOINT * vertices )

Definition at line 1017 of file gsTexture.c.

◆ gsKit_prim_list_triangle_goraud_texture_uv_3d()

void gsKit_prim_list_triangle_goraud_texture_uv_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
int count,
const GSPRIMUVPOINT * vertices )

Definition at line 974 of file gsTexture.c.

◆ gsKit_prim_quad_goraud_texture_3d()

void gsKit_prim_quad_goraud_texture_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float x1,
float y1,
int iz1,
float u1,
float v1,
float x2,
float y2,
int iz2,
float u2,
float v2,
float x3,
float y3,
int iz3,
float u3,
float v3,
float x4,
float y4,
int iz4,
float u4,
float v4,
u64 color1,
u64 color2,
u64 color3,
u64 color4 )

Definition at line 1402 of file gsTexture.c.

◆ gsKit_prim_quad_texture_3d()

void gsKit_prim_quad_texture_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float x1,
float y1,
int iz1,
float u1,
float v1,
float x2,
float y2,
int iz2,
float u2,
float v2,
float x3,
float y3,
int iz3,
float u3,
float v3,
float x4,
float y4,
int iz4,
float u4,
float v4,
u64 color )

Definition at line 1309 of file gsTexture.c.

◆ gsKit_prim_sprite_striped_texture_3d()

void gsKit_prim_sprite_striped_texture_3d ( GSGLOBAL * gsGlobal,
const GSTEXTURE * Texture,
float x1,
float y1,
int iz1,
float u1,
float v1,
float x2,
float y2,
int iz2,
float u2,
float v2,
u64 color )

Definition at line 511 of file gsTexture.c.

◆ gsKit_prim_sprite_texture_3d()

void gsKit_prim_sprite_texture_3d ( GSGLOBAL * gsGlobal,
const GSTEXTURE * Texture,
float x1,
float y1,
int iz1,
float u1,
float v1,
float x2,
float y2,
int iz2,
float u2,
float v2,
u64 color )

Definition at line 443 of file gsTexture.c.

◆ gsKit_prim_triangle_fan_texture()

void gsKit_prim_triangle_fan_texture ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float * TriFan,
int verticies,
int iz,
u64 color )

Definition at line 1185 of file gsTexture.c.

◆ gsKit_prim_triangle_fan_texture_3d()

void gsKit_prim_triangle_fan_texture_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float * TriFan,
int verticies,
u64 color )

Definition at line 1247 of file gsTexture.c.

◆ gsKit_prim_triangle_goraud_texture_3d()

void gsKit_prim_triangle_goraud_texture_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float x1,
float y1,
int iz1,
float u1,
float v1,
float x2,
float y2,
int iz2,
float u2,
float v2,
float x3,
float y3,
int iz3,
float u3,
float v3,
u64 color1,
u64 color2,
u64 color3 )

Definition at line 891 of file gsTexture.c.

◆ gsKit_prim_triangle_strip_texture()

void gsKit_prim_triangle_strip_texture ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float * TriStrip,
int segments,
int iz,
u64 color )

Definition at line 1060 of file gsTexture.c.

◆ gsKit_prim_triangle_strip_texture_3d()

void gsKit_prim_triangle_strip_texture_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float * TriStrip,
int segments,
u64 color )

Definition at line 1122 of file gsTexture.c.

◆ gsKit_prim_triangle_texture_3d()

void gsKit_prim_triangle_texture_3d ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture,
float x1,
float y1,
int iz1,
float u1,
float v1,
float x2,
float y2,
int iz2,
float u2,
float v2,
float x3,
float y3,
int iz3,
float u3,
float v3,
u64 color )

Definition at line 810 of file gsTexture.c.

◆ gsKit_texture_send()

void gsKit_texture_send ( u32 * mem,
int width,
int height,
u32 tbp,
u32 psm,
u32 tbw,
u8 clut )

Definition at line 226 of file gsTexture.c.

◆ gsKit_texture_send_inline()

void gsKit_texture_send_inline ( GSGLOBAL * gsGlobal,
u32 * mem,
int width,
int height,
u32 tbp,
u32 psm,
u32 tbw,
u8 clut )

Definition at line 330 of file gsTexture.c.

◆ gsKit_texture_size()

u32 gsKit_texture_size ( int width,
int height,
int psm )

Definition at line 50 of file gsTexture.c.

◆ gsKit_texture_size_ee()

u32 gsKit_texture_size_ee ( int width,
int height,
int psm )

Definition at line 30 of file gsTexture.c.

◆ gsKit_texture_to_psm16()

void gsKit_texture_to_psm16 ( GSTEXTURE * Texture)

Definition at line 197 of file gsTexture.c.

◆ gsKit_texture_upload()

void gsKit_texture_upload ( GSGLOBAL * gsGlobal,
GSTEXTURE * Texture )

Definition at line 412 of file gsTexture.c.