Class: Raylib::RlVertexBuffer
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Raylib::RlVertexBuffer
- Defined in:
- lib/rlgl.rb
Overview
Dynamic vertex buffers (position + texcoords + colors + indices arrays)
Instance Method Summary collapse
- #colors ⇒ Object
- #colors=(v) ⇒ Object
- #elementCount ⇒ Object
- #elementCount=(v) ⇒ Object
- #indices ⇒ Object
- #indices=(v) ⇒ Object
- #normals ⇒ Object
- #normals=(v) ⇒ Object
- #texcoords ⇒ Object
- #texcoords=(v) ⇒ Object
- #vaoId ⇒ Object
- #vaoId=(v) ⇒ Object
- #vboId ⇒ Object
- #vboId=(v) ⇒ Object
- #vertices ⇒ Object
- #vertices=(v) ⇒ Object
Instance Method Details
#colors ⇒ Object
271 |
# File 'lib/rlgl.rb', line 271 def colors = self[:colors] |
#colors=(v) ⇒ Object
272 |
# File 'lib/rlgl.rb', line 272 def colors=(v) self[:colors] = v end |
#elementCount ⇒ Object
263 |
# File 'lib/rlgl.rb', line 263 def elementCount = self[:elementCount] |
#elementCount=(v) ⇒ Object
264 |
# File 'lib/rlgl.rb', line 264 def elementCount=(v) self[:elementCount] = v end |
#indices ⇒ Object
273 |
# File 'lib/rlgl.rb', line 273 def indices = self[:indices] |
#indices=(v) ⇒ Object
274 |
# File 'lib/rlgl.rb', line 274 def indices=(v) self[:indices] = v end |
#normals ⇒ Object
269 |
# File 'lib/rlgl.rb', line 269 def normals = self[:normals] |
#normals=(v) ⇒ Object
270 |
# File 'lib/rlgl.rb', line 270 def normals=(v) self[:normals] = v end |
#texcoords ⇒ Object
267 |
# File 'lib/rlgl.rb', line 267 def texcoords = self[:texcoords] |
#texcoords=(v) ⇒ Object
268 |
# File 'lib/rlgl.rb', line 268 def texcoords=(v) self[:texcoords] = v end |
#vaoId ⇒ Object
275 |
# File 'lib/rlgl.rb', line 275 def vaoId = self[:vaoId] |
#vaoId=(v) ⇒ Object
276 |
# File 'lib/rlgl.rb', line 276 def vaoId=(v) self[:vaoId] = v end |
#vboId ⇒ Object
277 |
# File 'lib/rlgl.rb', line 277 def vboId = self[:vboId] |
#vboId=(v) ⇒ Object
278 |
# File 'lib/rlgl.rb', line 278 def vboId=(v) self[:vboId] = v end |
#vertices ⇒ Object
265 |
# File 'lib/rlgl.rb', line 265 def vertices = self[:vertices] |
#vertices=(v) ⇒ Object
266 |
# File 'lib/rlgl.rb', line 266 def vertices=(v) self[:vertices] = v end |