SHWOccZBuffer

C++
struct SHWOccZBuffer {
  uint32* pHardwareZBuffer;
  uint32* pZBufferVMem;
  uint32 ZBufferSizeX;
  uint32 ZBufferSizeY;
  uint32 HardwareZBufferRSXOff;
  uint32 ZBufferVMemRSXOff;
  uint32 pad[2];
};
File

IRenderer.h

Description

Z-buffer as occlusion buffer definitions: used, shared and initialized in engine and renderer.

SHWOccZBuffer::HardwareZBufferRSXOff Data Member
C++
uint32 HardwareZBufferRSXOff;
SHWOccZBuffer::pad Data Member
C++
uint32 pad[2];
Description

Keep 32 byte aligned

SHWOccZBuffer::pHardwareZBuffer Data Member
C++
uint32* pHardwareZBuffer;
SHWOccZBuffer::pZBufferVMem Data Member
C++
uint32* pZBufferVMem;
SHWOccZBuffer::ZBufferSizeX Data Member
C++
uint32 ZBufferSizeX;
SHWOccZBuffer::ZBufferSizeY Data Member
C++
uint32 ZBufferSizeY;
SHWOccZBuffer::ZBufferVMemRSXOff Data Member
C++
uint32 ZBufferVMemRSXOff;
SHWOccZBuffer::SHWOccZBuffer Constructor
C++
SHWOccZBuffer();