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 ChangePsm (GS::tPSM psm)
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 BindToSlot (GS::CMemSlot &slot)
void Free (void)

Constructor & Destructor Documentation

CMMTexture::CMMTexture GS::tContext    context
 

Definition at line 330 of file texture.cpp.

CMMTexture::~CMMTexture  
 

Definition at line 340 of file texture.cpp.


Member Function Documentation

void CMMTexture::BindToSlot GS::CMemSlot &    slot
 

Definition at line 510 of file texture.cpp.

Referenced by pglBindTextureToSlot().

void CMMTexture::ChangePsm GS::tPSM    psm
 

Definition at line 381 of file texture.cpp.

Referenced by Load().

void CMMTexture::Free void   
 

Definition at line 503 of file texture.cpp.

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

void CMMTexture::Load CVifSCDmaPacket &    packet
 

Definition at line 459 of file texture.cpp.

void CMMTexture::Load CSCDmaPacket &    packet
 

Definition at line 440 of file texture.cpp.

void CMMTexture::Load bool    waitForEnd = true
 

Definition at line 413 of file texture.cpp.

Referenced by Use().

void CMMTexture::SetClut const CMMClut   clut [inline]
 

Definition at line 112 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 349 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 371 of file texture.cpp.

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

void CMMTexture::Use CVifSCDmaPacket &    packet
 

Definition at line 496 of file texture.cpp.

void CMMTexture::Use CSCDmaPacket &    packet
 

Definition at line 490 of file texture.cpp.

void CMMTexture::Use bool    waitForEnd = false
 

Definition at line 484 of file texture.cpp.

Referenced by CTexManager::UseCurTexture().


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