MCPcopy Create free account
hub / github.com/cginternals/globjects / attachTextureLayer

Method attachTextureLayer

source/globjects/source/Framebuffer.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void Framebuffer::attachTextureLayer(const GLenum attachment, Texture * texture, const GLint level, const GLint layer)
117{
118 implementation().attachTextureLayer(this, attachment, texture, level, layer);
119
120 addAttachment(new AttachedTexture(this, attachment, texture, level, layer));
121}
122
123void Framebuffer::attachRenderBuffer(const GLenum attachment, Renderbuffer * renderBuffer)
124{

Callers 1

detachMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected