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

Function deleteObject

source/globjects/source/Resource.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template <typename DeleteObjectsFunction>
28void deleteObject(DeleteObjectsFunction function, const GLuint id, const bool hasOwnership)
29{
30 if (hasOwnership)
31 {
32 function(1, &id);
33 }
34}
35
36}
37

Callers 6

~QueryResourceMethod · 0.85
~SamplerResourceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected