NW4F G3d
Loading...
Searching...
No Matches
nw::g3d::fnd::GfxTexture Class Reference

#include <g3d_GfxObject.h>

Inherits nw::g3d::fnd::GfxTexture_t.

Public Member Functions

void Setup ()
void Cleanup ()
void UpdateRegs ()
void DCFlush () const
void LoadVertexTexture (u32 unit) const
void LoadGeometryTexture (u32 unit) const
void LoadFragmentTexture (u32 unit) const
GX2Texture * GetGX2Texture ()
const GX2Texture * GetGX2Texture () const
GX2SurfaceDim GetDimension () const
GX2SurfaceFormat GetFormat () const
u32 GetWidth () const
u32 GetHeight () const
u32 GetDepth () const
u32 GetMipLevels () const
u32 GetBaseSize () const
u32 GetMipSize () const
void SetImagePtrs (void *basePtr, void *mipPtr)
void * GetBasePtr ()
const void * GetBasePtr () const
void * GetMipPtr ()
const void * GetMipPtr () const
u32 GetAlignment () const
u32 GetPitch () const

Private Member Functions

 NW_G3D_GFX_OBJECT (GfxTexture)

Additional Inherited Members

Public Attributes inherited from nw::g3d::fnd::GfxTexture_t
internal::GX2TextureData gx2Texture
u32 handle
u32 arrayLength

Member Function Documentation

◆ NW_G3D_GFX_OBJECT()

nw::g3d::fnd::GfxTexture::NW_G3D_GFX_OBJECT ( GfxTexture )
private

◆ Setup()

void nw::g3d::fnd::GfxTexture::Setup ( )

◆ Cleanup()

void nw::g3d::fnd::GfxTexture::Cleanup ( )

◆ UpdateRegs()

void nw::g3d::fnd::GfxTexture::UpdateRegs ( )

◆ DCFlush()

void nw::g3d::fnd::GfxTexture::DCFlush ( ) const

◆ LoadVertexTexture()

void nw::g3d::fnd::GfxTexture::LoadVertexTexture ( u32 unit) const

◆ LoadGeometryTexture()

void nw::g3d::fnd::GfxTexture::LoadGeometryTexture ( u32 unit) const

◆ LoadFragmentTexture()

void nw::g3d::fnd::GfxTexture::LoadFragmentTexture ( u32 unit) const

◆ GetGX2Texture() [1/2]

GX2Texture * nw::g3d::fnd::GfxTexture::GetGX2Texture ( )
inline

◆ GetGX2Texture() [2/2]

const GX2Texture * nw::g3d::fnd::GfxTexture::GetGX2Texture ( ) const
inline

◆ GetDimension()

GX2SurfaceDim nw::g3d::fnd::GfxTexture::GetDimension ( ) const
inline

◆ GetFormat()

GX2SurfaceFormat nw::g3d::fnd::GfxTexture::GetFormat ( ) const
inline

◆ GetWidth()

u32 nw::g3d::fnd::GfxTexture::GetWidth ( ) const
inline

◆ GetHeight()

u32 nw::g3d::fnd::GfxTexture::GetHeight ( ) const
inline

◆ GetDepth()

u32 nw::g3d::fnd::GfxTexture::GetDepth ( ) const
inline

◆ GetMipLevels()

u32 nw::g3d::fnd::GfxTexture::GetMipLevels ( ) const
inline

◆ GetBaseSize()

u32 nw::g3d::fnd::GfxTexture::GetBaseSize ( ) const
inline

◆ GetMipSize()

u32 nw::g3d::fnd::GfxTexture::GetMipSize ( ) const
inline

◆ SetImagePtrs()

void nw::g3d::fnd::GfxTexture::SetImagePtrs ( void * basePtr,
void * mipPtr )

◆ GetBasePtr() [1/2]

void * nw::g3d::fnd::GfxTexture::GetBasePtr ( )

◆ GetBasePtr() [2/2]

const void * nw::g3d::fnd::GfxTexture::GetBasePtr ( ) const

◆ GetMipPtr() [1/2]

void * nw::g3d::fnd::GfxTexture::GetMipPtr ( )

◆ GetMipPtr() [2/2]

const void * nw::g3d::fnd::GfxTexture::GetMipPtr ( ) const

◆ GetAlignment()

u32 nw::g3d::fnd::GfxTexture::GetAlignment ( ) const
inline

◆ GetPitch()

u32 nw::g3d::fnd::GfxTexture::GetPitch ( ) const
inline