Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cginternals/globjects
/ defaultVAO
Method
defaultVAO
source/globjects/source/registry/ObjectRegistry.cpp:74–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
VertexArray * ObjectRegistry::defaultVAO()
75
{
76
if (m_defaultVAO == nullptr)
77
{
78
m_defaultVAO = VertexArray::fromId(0);
79
m_defaultVAO->ref();
80
}
81
82
return m_defaultVAO;
83
}
84
85
86
} // namespace globjects
Callers
nothing calls this directly
Calls
1
ref
Method · 0.80
Tested by
no test coverage detected