MCPcopy Create free account
hub / github.com/Inori/GPCS4 / getZFormat

Method getZFormat

GPCS4/Graphics/Gnm/GnmDataFormat.cpp:448–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446 }
447
448 ZFormat DataFormat::getZFormat(void) const
449 {
450 ZFormat fmt = kZFormat32Float;
451 if (m_bits.m_surfaceFormat != kSurfaceFormat32)
452 {
453 fmt = kZFormat16;
454 }
455 return fmt;
456 }
457
458 StencilFormat DataFormat::getStencilFormat(void) const
459 {

Callers 4

createDepthImageMethod · 0.45
initFromTextureMethod · 0.45
initFromDepthSurfaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected