| 114 | } |
| 115 | |
| 116 | void 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 | |
| 123 | void Framebuffer::attachRenderBuffer(const GLenum attachment, Renderbuffer * renderBuffer) |
| 124 | { |