DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
CTextureBlock Class Reference

Public Member Functions

void Initialize ()
 

Public Attributes

char name [32]
 
int vram_top
 
int vram_end
 
int loaded
 
int extend
 
int vram_dirty
 
u_long128 * buffer
 
u_long128 * buffer_end
 

Detailed Description

Definition at line 71 of file texture.hpp.

Constructor & Destructor Documentation

◆ CTextureBlock()

CTextureBlock::CTextureBlock ( )

Definition at line 55 of file texture.cpp.

Member Function Documentation

◆ Initialize()

void CTextureBlock::Initialize ( )

Definition at line 59 of file texture.cpp.

Member Data Documentation

◆ name

char CTextureBlock::name[32]

Null-terminated block name.

Definition at line 73 of file texture.hpp.

◆ vram_top

int CTextureBlock::vram_top

End of the VRAM reserved for textures entered without pixels.

Definition at line 74 of file texture.hpp.

◆ vram_end

int CTextureBlock::vram_end

VRAM address the next texture entered into the block is placed at.

Definition at line 75 of file texture.hpp.

◆ loaded

int CTextureBlock::loaded

Whether the block's textures have been uploaded to VRAM.

Definition at line 76 of file texture.hpp.

◆ extend

int CTextureBlock::extend

Whether the block holds textures whose pixels the caller owns.

Definition at line 77 of file texture.hpp.

◆ vram_dirty

int CTextureBlock::vram_dirty

Highest VRAM address another block's upload has overwritten since this block was loaded.

Definition at line 78 of file texture.hpp.

◆ buffer

u_long128* CTextureBlock::buffer

Start of the block's pixels in the staging buffer.

Definition at line 79 of file texture.hpp.

◆ buffer_end

u_long128* CTextureBlock::buffer_end

End of the block's pixels in the staging buffer.

Definition at line 80 of file texture.hpp.