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

Method attachTexture

source/globjects/source/Framebuffer.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void Framebuffer::attachTexture(const GLenum attachment, Texture * texture, const GLint level)
110{
111 implementation().attachTexture(this, attachment, texture, level);
112
113 addAttachment(new AttachedTexture(this, attachment, texture, level));
114}
115
116void Framebuffer::attachTextureLayer(const GLenum attachment, Texture * texture, const GLint level, const GLint layer)
117{

Callers 1

detachMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected