struct SHWOccZBuffer { uint32* pHardwareZBuffer; uint32* pZBufferVMem; uint32 ZBufferSizeX; uint32 ZBufferSizeY; uint32 HardwareZBufferRSXOff; uint32 ZBufferVMemRSXOff; uint32 pad[2]; };
IRenderer.h
Z-buffer as occlusion buffer definitions: used, shared and initialized in engine and renderer.
uint32 HardwareZBufferRSXOff;
uint32 pad[2];
Keep 32 byte aligned
uint32* pHardwareZBuffer;
uint32* pZBufferVMem;
uint32 ZBufferSizeX;
uint32 ZBufferSizeY;
uint32 ZBufferVMemRSXOff;
SHWOccZBuffer();