NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::lyt::TevStage Struct Reference

Description

Definition at line 354 of file lyt_types.h.

Public Member Functions

void SetOrder (GXTexCoordID gen, GXTexMapID map, GXChannelID chan, GXTevSwapSel ras, GXTevSwapSel tex)
 
void SetColorIn (GXTevColorArg a, GXTevColorArg b, GXTevColorArg c, GXTevColorArg d)
 
void SetColorOp (GXTevOp op, GXTevBias bias, GXTevScale scale, bool clamp, GXTevRegID outReg, GXTevKColorSel ksel)
 
void SetAlphaIn (GXTevAlphaArg a, GXTevAlphaArg b, GXTevAlphaArg c, GXTevAlphaArg d)
 
void SetAlphaOp (GXTevOp op, GXTevBias bias, GXTevScale scale, bool clamp, GXTevRegID outReg, GXTevKAlphaSel ksel)
 
void SetIndirect (GXIndTexStageID stage, GXIndTexFormat format, GXIndTexBiasSel bias, GXIndTexMtxID mtx, GXIndTexWrap wrapS, GXIndTexWrap wrapT, bool addPrev, bool utcLod, GXIndTexAlphaSel alphaSel)
 
GXTexCoordID GetTexCoordGen () const
 
GXChannelID GetColorChan () const
 
GXTexMapID GetTexMap () const
 
GXTevSwapSel GetRasSwapSel () const
 
GXTevSwapSel GetTexSwapSel () const
 
GXTevColorArg GetColorInA () const
 
GXTevColorArg GetColorInB () const
 
GXTevColorArg GetColorInC () const
 
GXTevColorArg GetColorInD () const
 
GXTevOp GetColorOp () const
 
GXTevBias GetColorBias () const
 
GXTevScale GetColorScale () const
 
bool IsColorClamp () const
 
GXTevRegID GetColorOutReg () const
 
GXTevKColorSel GetKColorSel () const
 
GXTevAlphaArg GetAlphaInA () const
 
GXTevAlphaArg GetAlphaInB () const
 
GXTevAlphaArg GetAlphaInC () const
 
GXTevAlphaArg GetAlphaInD () const
 
GXTevOp GetAlphaOp () const
 
GXTevBias GetAlphaBias () const
 
GXTevScale GetAlphaScale () const
 
bool IsAlphaClamp () const
 
GXTevRegID GetAlphaOutReg () const
 
GXTevKAlphaSel GetKAlphaSel () const
 
GXIndTexStageID GetIndStage () const
 
GXIndTexBiasSel GetIndBiasSel () const
 
GXIndTexMtxID GetIndMtxSel () const
 
GXIndTexWrap GetIndWrapS () const
 
GXIndTexWrap GetIndWrapT () const
 
GXIndTexFormat GetIndFormat () const
 
bool IsIndAddPrev () const
 
bool IsIndUtcLod () const
 
GXIndTexAlphaSel GetIndAlphaSel () const
 

Public Attributes

u8 texCoordGen
 
u8 colChan
 
u8 texMap
 
u8 swapSel
 
TevStageInOp colIn
 
TevStageInOp alpIn
 
u8 indStage
 
u8 indBiMt
 
u8 indWrap
 
u8 indFoAdUtAl
 

Constructor & Destructor Documentation

◆ TevStage()

nw4r::lyt::TevStage::TevStage ( )
inline

Definition at line 366 of file lyt_types.h.

Member Function Documentation

◆ SetOrder()

void nw4r::lyt::TevStage::SetOrder ( GXTexCoordID gen,
GXTexMapID map,
GXChannelID chan,
GXTevSwapSel ras,
GXTevSwapSel tex )
inline

Definition at line 382 of file lyt_types.h.

◆ SetColorIn()

void nw4r::lyt::TevStage::SetColorIn ( GXTevColorArg a,
GXTevColorArg b,
GXTevColorArg c,
GXTevColorArg d )
inline

Definition at line 391 of file lyt_types.h.

◆ SetColorOp()

void nw4r::lyt::TevStage::SetColorOp ( GXTevOp op,
GXTevBias bias,
GXTevScale scale,
bool clamp,
GXTevRegID outReg,
GXTevKColorSel ksel )
inline

Definition at line 396 of file lyt_types.h.

◆ SetAlphaIn()

void nw4r::lyt::TevStage::SetAlphaIn ( GXTevAlphaArg a,
GXTevAlphaArg b,
GXTevAlphaArg c,
GXTevAlphaArg d )
inline

Definition at line 402 of file lyt_types.h.

◆ SetAlphaOp()

void nw4r::lyt::TevStage::SetAlphaOp ( GXTevOp op,
GXTevBias bias,
GXTevScale scale,
bool clamp,
GXTevRegID outReg,
GXTevKAlphaSel ksel )
inline

Definition at line 407 of file lyt_types.h.

◆ SetIndirect()

void nw4r::lyt::TevStage::SetIndirect ( GXIndTexStageID stage,
GXIndTexFormat format,
GXIndTexBiasSel bias,
GXIndTexMtxID mtx,
GXIndTexWrap wrapS,
GXIndTexWrap wrapT,
bool addPrev,
bool utcLod,
GXIndTexAlphaSel alphaSel )
inline

Definition at line 413 of file lyt_types.h.

◆ GetTexCoordGen()

GXTexCoordID nw4r::lyt::TevStage::GetTexCoordGen ( ) const
inline

Definition at line 426 of file lyt_types.h.

◆ GetColorChan()

GXChannelID nw4r::lyt::TevStage::GetColorChan ( ) const
inline

Definition at line 430 of file lyt_types.h.

◆ GetTexMap()

GXTexMapID nw4r::lyt::TevStage::GetTexMap ( ) const
inline

Definition at line 434 of file lyt_types.h.

◆ GetRasSwapSel()

GXTevSwapSel nw4r::lyt::TevStage::GetRasSwapSel ( ) const
inline

Definition at line 438 of file lyt_types.h.

◆ GetTexSwapSel()

GXTevSwapSel nw4r::lyt::TevStage::GetTexSwapSel ( ) const
inline

Definition at line 441 of file lyt_types.h.

◆ GetColorInA()

GXTevColorArg nw4r::lyt::TevStage::GetColorInA ( ) const
inline

Definition at line 445 of file lyt_types.h.

◆ GetColorInB()

GXTevColorArg nw4r::lyt::TevStage::GetColorInB ( ) const
inline

Definition at line 448 of file lyt_types.h.

◆ GetColorInC()

GXTevColorArg nw4r::lyt::TevStage::GetColorInC ( ) const
inline

Definition at line 451 of file lyt_types.h.

◆ GetColorInD()

GXTevColorArg nw4r::lyt::TevStage::GetColorInD ( ) const
inline

Definition at line 454 of file lyt_types.h.

◆ GetColorOp()

GXTevOp nw4r::lyt::TevStage::GetColorOp ( ) const
inline

Definition at line 458 of file lyt_types.h.

◆ GetColorBias()

GXTevBias nw4r::lyt::TevStage::GetColorBias ( ) const
inline

Definition at line 461 of file lyt_types.h.

◆ GetColorScale()

GXTevScale nw4r::lyt::TevStage::GetColorScale ( ) const
inline

Definition at line 464 of file lyt_types.h.

◆ IsColorClamp()

bool nw4r::lyt::TevStage::IsColorClamp ( ) const
inline

Definition at line 468 of file lyt_types.h.

◆ GetColorOutReg()

GXTevRegID nw4r::lyt::TevStage::GetColorOutReg ( ) const
inline

Definition at line 471 of file lyt_types.h.

◆ GetKColorSel()

GXTevKColorSel nw4r::lyt::TevStage::GetKColorSel ( ) const
inline

Definition at line 474 of file lyt_types.h.

◆ GetAlphaInA()

GXTevAlphaArg nw4r::lyt::TevStage::GetAlphaInA ( ) const
inline

Definition at line 478 of file lyt_types.h.

◆ GetAlphaInB()

GXTevAlphaArg nw4r::lyt::TevStage::GetAlphaInB ( ) const
inline

Definition at line 481 of file lyt_types.h.

◆ GetAlphaInC()

GXTevAlphaArg nw4r::lyt::TevStage::GetAlphaInC ( ) const
inline

Definition at line 484 of file lyt_types.h.

◆ GetAlphaInD()

GXTevAlphaArg nw4r::lyt::TevStage::GetAlphaInD ( ) const
inline

Definition at line 487 of file lyt_types.h.

◆ GetAlphaOp()

GXTevOp nw4r::lyt::TevStage::GetAlphaOp ( ) const
inline

Definition at line 491 of file lyt_types.h.

◆ GetAlphaBias()

GXTevBias nw4r::lyt::TevStage::GetAlphaBias ( ) const
inline

Definition at line 494 of file lyt_types.h.

◆ GetAlphaScale()

GXTevScale nw4r::lyt::TevStage::GetAlphaScale ( ) const
inline

Definition at line 497 of file lyt_types.h.

◆ IsAlphaClamp()

bool nw4r::lyt::TevStage::IsAlphaClamp ( ) const
inline

Definition at line 501 of file lyt_types.h.

◆ GetAlphaOutReg()

GXTevRegID nw4r::lyt::TevStage::GetAlphaOutReg ( ) const
inline

Definition at line 504 of file lyt_types.h.

◆ GetKAlphaSel()

GXTevKAlphaSel nw4r::lyt::TevStage::GetKAlphaSel ( ) const
inline

Definition at line 507 of file lyt_types.h.

◆ GetIndStage()

GXIndTexStageID nw4r::lyt::TevStage::GetIndStage ( ) const
inline

Definition at line 511 of file lyt_types.h.

◆ GetIndBiasSel()

GXIndTexBiasSel nw4r::lyt::TevStage::GetIndBiasSel ( ) const
inline

Definition at line 515 of file lyt_types.h.

◆ GetIndMtxSel()

GXIndTexMtxID nw4r::lyt::TevStage::GetIndMtxSel ( ) const
inline

Definition at line 518 of file lyt_types.h.

◆ GetIndWrapS()

GXIndTexWrap nw4r::lyt::TevStage::GetIndWrapS ( ) const
inline

Definition at line 522 of file lyt_types.h.

◆ GetIndWrapT()

GXIndTexWrap nw4r::lyt::TevStage::GetIndWrapT ( ) const
inline

Definition at line 525 of file lyt_types.h.

◆ GetIndFormat()

GXIndTexFormat nw4r::lyt::TevStage::GetIndFormat ( ) const
inline

Definition at line 529 of file lyt_types.h.

◆ IsIndAddPrev()

bool nw4r::lyt::TevStage::IsIndAddPrev ( ) const
inline

Definition at line 532 of file lyt_types.h.

◆ IsIndUtcLod()

bool nw4r::lyt::TevStage::IsIndUtcLod ( ) const
inline

Definition at line 535 of file lyt_types.h.

◆ GetIndAlphaSel()

GXIndTexAlphaSel nw4r::lyt::TevStage::GetIndAlphaSel ( ) const
inline

Definition at line 538 of file lyt_types.h.

Member Data Documentation

◆ texCoordGen

u8 nw4r::lyt::TevStage::texCoordGen

Definition at line 355 of file lyt_types.h.

◆ colChan

u8 nw4r::lyt::TevStage::colChan

Definition at line 356 of file lyt_types.h.

◆ texMap

u8 nw4r::lyt::TevStage::texMap

Definition at line 357 of file lyt_types.h.

◆ swapSel

u8 nw4r::lyt::TevStage::swapSel

Definition at line 358 of file lyt_types.h.

◆ colIn

TevStageInOp nw4r::lyt::TevStage::colIn

Definition at line 359 of file lyt_types.h.

◆ alpIn

TevStageInOp nw4r::lyt::TevStage::alpIn

Definition at line 360 of file lyt_types.h.

◆ indStage

u8 nw4r::lyt::TevStage::indStage

Definition at line 361 of file lyt_types.h.

◆ indBiMt

u8 nw4r::lyt::TevStage::indBiMt

Definition at line 362 of file lyt_types.h.

◆ indWrap

u8 nw4r::lyt::TevStage::indWrap

Definition at line 363 of file lyt_types.h.

◆ indFoAdUtAl

u8 nw4r::lyt::TevStage::indFoAdUtAl

Definition at line 364 of file lyt_types.h.