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

Method DrawFullscreenTriangle

Source/Engine/Graphics/GPUContext.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void GPUContext::DrawFullscreenTriangle(int32 instanceCount)
85{
86 auto vb = _device->GetFullscreenTriangleVB();
87 BindVB(ToSpan(&vb, 1));
88 DrawInstanced(3, instanceCount);
89}
90
91void GPUContext::Draw(GPUTexture* dst, GPUTexture* src)
92{

Callers 15

RunPostFxPassMethod · 0.80
RunMaterialPostFxPassMethod · 0.80
RenderLUTMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80
RenderMotionVectorsMethod · 0.80
RenderDebugMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80

Calls 2

ToSpanFunction · 0.50

Tested by

no test coverage detected