- CGxTexFlags bitfields + 10-arg ctor with default args; CGxTex ctor/dtor, second TSLink at +0x48 - CiRect() zero-initializes (inline only) - CGxDevice: TexCreate (returns 1), TexDestroy, ICursorCreate, CursorUnlock, BufDestroy, PrimVertexPtr; m_textures is a TSExplicitList - CGxPool::UnlinkBuf (guessed name) - Gx: GxTexCreate x3, GxTexUpdate(rect), GxPrimVertexPtr x2, GxPrimLockVertexPtrs - Gx/Buffer.h/.cpp: Buffer::s_vertexBufDesc and the 14 per-format attribute tables Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
#include <cstdint>
|
|
#include "Engine/Source/Gx/CGxTex.h"
|
|
|
|
// VERIFY: 39ee55f7 manual
|
|
// OFFSET: 0x006852C0
|
|
CGxTex::CGxTex(EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, GxTexUserFunc userFunc, const char* name) {
|
|
this->m_updateRect.minY = 0;
|
|
this->m_updateRect.minX = 0;
|
|
this->m_updateRect.maxY = height;
|
|
this->m_updateRect.maxX = width;
|
|
this->m_updatePlaneMin = -1;
|
|
this->m_updatePlaneMax = -1;
|
|
this->m_target = target;
|
|
this->m_width = width;
|
|
this->m_height = height;
|
|
this->m_dataFormat = dataFormat;
|
|
this->m_format = format;
|
|
this->m_apiSpecificData = nullptr;
|
|
this->m_apiSpecificData2 = nullptr;
|
|
this->m_depth = depth;
|
|
this->m_userFunc = userFunc;
|
|
this->m_needsUpdate = 1;
|
|
this->m_needsFlagUpdate = 1;
|
|
this->m_needsCreation = 1;
|
|
this->m_userArg = userArg;
|
|
this->m_char5D = 1;
|
|
this->m_flags = flags;
|
|
}
|
|
|
|
// VERIFY: bd9c61cb manual
|
|
// OFFSET: 0x00685DC0
|
|
CGxTex::~CGxTex() {
|
|
}
|