| 187 | } |
| 188 | |
| 189 | void FramebufferObject::UnattachAll() |
| 190 | { |
| 191 | int numAttachments = GetMaxColorAttachments(); |
| 192 | |
| 193 | for (int i = 0; i < numAttachments; ++i) { |
| 194 | Unattach(GL_COLOR_ATTACHMENT0_EXT + i); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | int FramebufferObject::GetMaxColorAttachments() |
| 199 | { |
nothing calls this directly
no outgoing calls
no test coverage detected