MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / SetDataPointer

Method SetDataPointer

Sources/nCine/Graphics/GL/GLUniformBlockCache.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void GLUniformBlockCache::SetDataPointer(GLubyte* dataPointer)
63 {
64 dataPointer_ = dataPointer;
65
66 for (GLUniformCache& uniformCache : uniformCaches_) {
67 uniformCache.SetDataPointer(dataPointer_ + uniformCache.GetUniform()->GetOffset());
68 }
69 }
70
71 void GLUniformBlockCache::SetUsedSize(GLint usedSize)
72 {

Callers 2

Calls 2

GetOffsetMethod · 0.45
GetUniformMethod · 0.45

Tested by

no test coverage detected