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

Function createObject

source/globjects/source/Resource.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19template <typename CreateObjectsFunction>
20GLuint createObject(CreateObjectsFunction function)
21{
22 GLuint id;
23 function(1, &id);
24 return id;
25}
26
27template <typename DeleteObjectsFunction>
28void deleteObject(DeleteObjectsFunction function, const GLuint id, const bool hasOwnership)

Callers 6

QueryResourceMethod · 0.85
SamplerResourceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected