MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / ClearDepth

Method ClearDepth

extensions/olcPGEX_Graphics3D.h:859–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857
858
859 void GFX3D::ClearDepth()
860 {
861 memset(m_DepthBuffer, 0, pge->ScreenWidth() * pge->ScreenHeight() * sizeof(float));
862 }
863
864 bool GFX3D::mesh::LoadOBJFile(std::string sFilename, bool bHasTexture)
865 {

Callers

nothing calls this directly

Calls 2

ScreenWidthMethod · 0.80
ScreenHeightMethod · 0.80

Tested by

no test coverage detected