| 100 | } |
| 101 | |
| 102 | size_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 |
no outgoing calls
no test coverage detected