MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetViewport

Method SetViewport

Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp:1382–1385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1380}
1381
1382void GPUContextVulkan::SetViewport(const Viewport& viewport)
1383{
1384 vkCmdSetViewport(_cmdBufferManager->GetCmdBuffer()->GetHandle(), 0, 1, (VkViewport*)&viewport);
1385}
1386
1387void GPUContextVulkan::SetScissor(const Rectangle& scissorRect)
1388{

Callers 5

DrawSceneDepthMethod · 0.45
DrawPostFxMaterialMethod · 0.45
RenderDebugMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45

Calls 2

GetCmdBufferMethod · 0.80
GetHandleMethod · 0.45

Tested by

no test coverage detected