MCPcopy Create free account
hub / github.com/cginternals/globjects / addAttachment

Method addAttachment

source/globjects/source/Framebuffer.cpp:366–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366void Framebuffer::addAttachment(FramebufferAttachment * attachment)
367{
368 assert(attachment != nullptr);
369
370 m_attachments[attachment->attachment()] = attachment;
371}
372
373FramebufferAttachment * Framebuffer::getAttachment(GLenum attachment)
374{

Callers

nothing calls this directly

Calls 1

attachmentMethod · 0.80

Tested by

no test coverage detected