MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / Bind

Method Bind

ZEngine/src/FrameBuffer.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 void FrameBuffer::Bind() const {
22 glBindFramebuffer(GL_FRAMEBUFFER, m_framebuffer_identifier);
23 glViewport(0, 0, m_specification.Width, m_specification.Height);
24 }
25
26 void FrameBuffer::Unbind() const {
27 glBindFramebuffer(GL_FRAMEBUFFER, 0);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected