Add depth function to conditional compiling

This commit is contained in:
ExMatics HydrogenC
2024-06-05 23:36:41 +08:00
parent 74750fd604
commit ea749f12a3
13 changed files with 56 additions and 9 deletions
@@ -797,7 +797,7 @@ void GPUContextVulkan::Clear(GPUTextureView* rt, const Color& color)
}
}
void GPUContextVulkan::ClearDepth(GPUTextureView* depthBuffer, float depthValue)
void GPUContextVulkan::ClearDepthCustom(GPUTextureView* depthBuffer, float depthValue)
{
const auto rtVulkan = static_cast<GPUTextureViewVulkan*>(depthBuffer);