MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / bindFramebuffer

Method bindFramebuffer

Source/Graphics/graphics.cpp:292–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void Graphics::bindFramebuffer(GLuint fb) {
293 curr_framebuffer = fb;
294 CHECK_GL_ERROR();
295 glBindFramebuffer(GL_FRAMEBUFFER, fb);
296 CHECK_GL_ERROR();
297}
298
299void Graphics::framebufferDepthTexture2D(TextureRef t, int mipmap_level) {
300 CHECK_GL_ERROR();

Callers 15

PreDrawFrameMethod · 0.80
CleanBloodMethod · 0.80
SetFireMethod · 0.80
SetWetMethod · 0.80
CubemapMipChainFunction · 0.80
RenderCubeMapMethod · 0.80
GLInitMethod · 0.80
DrawMethod · 0.80
CreateHistogramFunction · 0.80
ApplyPostEffectsFunction · 0.80
DrawSceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected