| 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 | { |
no test coverage detected