Clearing Depth Buffers (Direct3D 9)
Many C++ applications clear the depth buffer before rendering each new frame. You can explicitly clear the depth buffer through Direct3D by calling IDirect3DDevice9::Clear and specifying D3DCLEAR_ZBUFFER for the Flags parameter. The IDirect3DDevice9::Clear method allows you to specify an arbitrary depth value in the Z parameter.
Related topics
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro