Files
SatyandClaude Opus 5.5 4898dcc94a Gx pass 7: pools, shader hash table, CGxDevice ctor/dtor
Port BufCreate, PoolCreate/PoolDestroy, DeviceCreatePools,
DeviceCreateStreamBufs, IShaderLoad, ShaderCreate, ShaderDestroy,
CGxShader::Load/dtor, CGxPool dtor, CGxDevice ctor/dtor and
OsGetProcessorFeatures. CGxBuf gets its own header/source.
CGxPool/CGxBuf/CGxAppRenderState/CGxPushedRenderState become structs
(RTTI .?AU). HASHKEY_STRI derives from HASHKEY_STR. m_shaderList is
TSHashTable<CGxShader, HASHKEY_STRI>[6]; list offsets via offsetof.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 00:14:22 +02:00

7 lines
316 B
C++

#include <cstdint>
#include "Engine/Source/Gx/CGxBuf.h"
// INLINED
CGxBuf::CGxBuf(CGxPool* pool, uint32_t itemSize, uint32_t itemCount, uint32_t index) : m_pool(pool), m_itemSize(itemSize), m_itemCount(itemCount), m_size(itemSize * itemCount), m_index(index), unk_001C(0), unk_001D(1), unk_001E(0), unk_001F(0) {
}