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
- #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
261 |
# File 'lib/rlgl.rb', line 261 def colors = self[:colors] |
#colors=(v) ⇒ Object
262 |
# File 'lib/rlgl.rb', line 262 def colors=(v) self[:colors] = v end |
#elementCount ⇒ Object
255 |
# File 'lib/rlgl.rb', line 255 def elementCount = self[:elementCount] |
#elementCount=(v) ⇒ Object
256 |
# File 'lib/rlgl.rb', line 256 def elementCount=(v) self[:elementCount] = v end |
#indices ⇒ Object
263 |
# File 'lib/rlgl.rb', line 263 def indices = self[:indices] |
#indices=(v) ⇒ Object
264 |
# File 'lib/rlgl.rb', line 264 def indices=(v) self[:indices] = v end |
#texcoords ⇒ Object
259 |
# File 'lib/rlgl.rb', line 259 def texcoords = self[:texcoords] |
#texcoords=(v) ⇒ Object
260 |
# File 'lib/rlgl.rb', line 260 def texcoords=(v) self[:texcoords] = v end |
#vaoId ⇒ Object
265 |
# File 'lib/rlgl.rb', line 265 def vaoId = self[:vaoId] |
#vaoId=(v) ⇒ Object
266 |
# File 'lib/rlgl.rb', line 266 def vaoId=(v) self[:vaoId] = v end |
#vboId ⇒ Object
267 |
# File 'lib/rlgl.rb', line 267 def vboId = self[:vboId] |
#vboId=(v) ⇒ Object
268 |
# File 'lib/rlgl.rb', line 268 def vboId=(v) self[:vboId] = v end |
#vertices ⇒ Object
257 |
# File 'lib/rlgl.rb', line 257 def vertices = self[:vertices] |
#vertices=(v) ⇒ Object
258 |
# File 'lib/rlgl.rb', line 258 def vertices=(v) self[:vertices] = v end |