MCPcopy Create free account
hub / github.com/ZDoom/Raze / ClearScreen

Method ClearScreen

source/common/rendering/vulkan/renderer/vk_renderstate.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void VkRenderState::ClearScreen()
51{
52 screen->mViewpoints->Set2D(*this, SCREENWIDTH, SCREENHEIGHT);
53 SetColor(0, 0, 0);
54 Apply(DT_TriangleStrip);
55 mCommandBuffer->draw(4, 1, FFlatVertexBuffer::FULLSCREEN_INDEX, 0);
56}
57
58void VkRenderState::Draw(int dt, int index, int count, bool apply)
59{

Callers

nothing calls this directly

Calls 2

Set2DMethod · 0.80
drawMethod · 0.80

Tested by

no test coverage detected