Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CMMTexture Class Reference

#include <texture.h>

Inheritance diagram for CMMTexture::

GS::CTexture List of all members.

Public Methods

 CMMTexture (GS::tContext context)
 ~CMMTexture ()
void SetImage (const GS::CMemArea &area)
 Texture from the given gs memory area. More...

void SetImage (tU128 *imagePtr, tU32 w, tU32 h, GS::tPSM psm)
 Use the given image in main ram as the texture. More...

void SetClut (const CMMClut &clut)
void Load (bool waitForEnd=true)
void Use (bool waitForEnd=false)
void Load (CSCDmaPacket &packet)
void Load (CVifSCDmaPacket &packet)
void Use (CSCDmaPacket &packet)
void Use (CVifSCDmaPacket &packet)
void Free (void)

Constructor & Destructor Documentation

CMMTexture::CMMTexture ( GS::tContext context )
 

Definition at line 322 of file texture.cpp.

CMMTexture::~CMMTexture ( )
 

Definition at line 327 of file texture.cpp.


Member Function Documentation

void CMMTexture::Free ( void )
 

Definition at line 436 of file texture.cpp.

void CMMTexture::Load ( CVifSCDmaPacket & packet )
 

Definition at line 401 of file texture.cpp.

void CMMTexture::Load ( CSCDmaPacket & packet )
 

Definition at line 388 of file texture.cpp.

void CMMTexture::Load ( bool waitForEnd = true )
 

Definition at line 368 of file texture.cpp.

Referenced by Use().

void CMMTexture::SetClut ( const CMMClut & clut ) [inline]
 

Definition at line 103 of file texture.h.

Referenced by CTexManager::UseCurTexture().

void CMMTexture::SetImage ( tU128 * imagePtr,
tU32 w,
tU32 h,
GS::tPSM psm )
 

Use the given image in main ram as the texture.

Definition at line 336 of file texture.cpp.

void CMMTexture::SetImage ( const GS::CMemArea & area )
 

Texture from the given gs memory area.

This means that no texture will be uploaded; only the register settings will be sent to the gs.

Definition at line 358 of file texture.cpp.

Referenced by CTexManager::SetCurTexImage(), and CTexManager::SetGsTexture().

void CMMTexture::Use ( CVifSCDmaPacket & packet )
 

Definition at line 429 of file texture.cpp.

void CMMTexture::Use ( CSCDmaPacket & packet )
 

Definition at line 423 of file texture.cpp.

void CMMTexture::Use ( bool waitForEnd = false )
 

Definition at line 417 of file texture.cpp.

Referenced by CTexManager::UseCurTexture().


The documentation for this class was generated from the following files:
ps2gl version 0.2