Method: Ray::GL::Buffer#size
- Defined in:
- ext/gl_buffer.c
#size ⇒ Integer
Returns Size of the buffer (amount of vertices it contains).
180 181 182 183 |
# File 'ext/gl_buffer.c', line 180 static VALUE ray_gl_buffer_size(VALUE self) { return ULONG2NUM(say_buffer_get_size(ray_rb2buffer(self))); } |