- 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]>
22 lines
471 B
C++
22 lines
471 B
C++
#ifndef ENGINE_SOURCE_GX_BUFFER_H
|
|
#define ENGINE_SOURCE_GX_BUFFER_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Gx/CGxDevice/Types.h"
|
|
#include "Engine/Source/Gx/Types.h"
|
|
|
|
class VertexBufDesc {
|
|
public:
|
|
/* 0000 */ CGxVertexAttrib* attribs;
|
|
/* 0004 */ uint32_t attribCount;
|
|
/* 0008 */ uint32_t size;
|
|
/* 000C */ uint32_t mask;
|
|
};
|
|
|
|
namespace Buffer {
|
|
extern const VertexBufDesc s_vertexBufDesc[GxVertexBufferFormats_Last];
|
|
}
|
|
|
|
#endif
|