MCPcopy Create free account
hub / github.com/ImageEngine/cortex / size

Method size

src/IECoreGL/Buffer.cpp:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102size_t Buffer::size() const
103{
104 ScopedBinding binding( *this, GL_ARRAY_BUFFER );
105 int result = 0;
106 glGetBufferParameteriv( GL_ARRAY_BUFFER, GL_BUFFER_SIZE, &result );
107 return result;
108}
109

Callers 15

LuminanceTextureMethod · 0.45
operator()Method · 0.45
loadMethod · 0.45
getVertexCountMethod · 0.45
TextPrimitiveMethod · 0.45
renderMethod · 0.45
textureMethod · 0.45
renderSpritesMethod · 0.45
renderMeshesMethod · 0.45
attributeToColorStateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected