| 107 | } |
| 108 | |
| 109 | void 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 | |
| 116 | void Framebuffer::attachTextureLayer(const GLenum attachment, Texture * texture, const GLint level, const GLint layer) |
| 117 | { |