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

Method defaultFBO

source/globjects/source/registry/ObjectRegistry.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63Framebuffer * ObjectRegistry::defaultFBO()
64{
65 if (m_defaultFBO == nullptr)
66 {
67 m_defaultFBO = Framebuffer::fromId(0);
68 m_defaultFBO->ref();
69 }
70
71 return m_defaultFBO;
72}
73
74VertexArray * ObjectRegistry::defaultVAO()
75{

Callers

nothing calls this directly

Calls 1

refMethod · 0.80

Tested by

no test coverage detected