Files
SatyandClaude Opus 5.5 639e369cb8 D3D pass 2: render states and state sync
IRsSendToHw, DsSet with the 182-entry EDeviceState cache, stage setters
(texture, color/alpha op, tex coord/gen), material, IStateSync and its
light/material/xform/enable/clip/scissor/vertex-pointer syncs, vertex
declaration cache, shader binding and constant flush. File contents of
CGxD3dDevice.cpp and CGxDeviceD3d.cpp swapped (factory vs members).
CGxApiLight flags are 16-bit; s_shadowConstants and
s_pointScaleAttenuation (C3Vector) become CGxDevice class statics.

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

16 lines
355 B
C++

#include <new>
#include "Engine/Source/Gx/CGxDeviceD3d/CGxDeviceD3d.h"
#include "Engine/Source/Storm/H/storm.h"
// VERIFY: 5a6cdc5d manual
// OFFSET: 0x00689EF0
CGxDevice* CreateCGxDeviceD3d() {
void* mem = SMemAlloc(sizeof(CGxDeviceD3d), __FILE__, __LINE__, 0);
if (!mem) {
return nullptr;
}
return new (mem) CGxDeviceD3d();
}