MCPcopy Create free account
hub / github.com/Illation/ETEngine / Draw

Method Draw

Engine/source/EtRendering/GraphicsTypes/FrameBuffer.cpp:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void FrameBuffer::Draw()
76{
77 I_GraphicsApiContext* const api = Viewport::GetCurrentApiContext();
78
79 api->SetDepthEnabled(false);
80 api->SetShader(m_pShader.get());
81
82 UploadDerivedVariables();
83
84 RenderingSystems::Instance()->GetPrimitiveRenderer().Draw<primitives::Quad>();
85}
86
87
88void FrameBuffer::GenerateFramebufferTextures()

Callers

nothing calls this directly

Calls 2

SetDepthEnabledMethod · 0.80
SetShaderMethod · 0.80

Tested by

no test coverage detected