MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / UnattachAll

Method UnattachAll

cpp/5_Domain_Specific/smokeParticles/framebufferObject.cpp:189–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void 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
198int FramebufferObject::GetMaxColorAttachments()
199{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected