| 364 | } |
| 365 | |
| 366 | void Framebuffer::addAttachment(FramebufferAttachment * attachment) |
| 367 | { |
| 368 | assert(attachment != nullptr); |
| 369 | |
| 370 | m_attachments[attachment->attachment()] = attachment; |
| 371 | } |
| 372 | |
| 373 | FramebufferAttachment * Framebuffer::getAttachment(GLenum attachment) |
| 374 | { |
nothing calls this directly
no test coverage detected