Class: Raylib::RlVertexBuffer

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/rlgl.rb

Overview

Dynamic vertex buffers (position + texcoords + colors + indices arrays)

Instance Method Summary collapse

Instance Method Details

#colorsObject



257
# File 'lib/rlgl.rb', line 257

def colors = self[:colors]

#colors=(v) ⇒ Object



258
# File 'lib/rlgl.rb', line 258

def colors=(v) self[:colors] = v end

#elementCountObject



251
# File 'lib/rlgl.rb', line 251

def elementCount = self[:elementCount]

#elementCount=(v) ⇒ Object



252
# File 'lib/rlgl.rb', line 252

def elementCount=(v) self[:elementCount] = v end

#indicesObject



259
# File 'lib/rlgl.rb', line 259

def indices = self[:indices]

#indices=(v) ⇒ Object



260
# File 'lib/rlgl.rb', line 260

def indices=(v) self[:indices] = v end

#texcoordsObject



255
# File 'lib/rlgl.rb', line 255

def texcoords = self[:texcoords]

#texcoords=(v) ⇒ Object



256
# File 'lib/rlgl.rb', line 256

def texcoords=(v) self[:texcoords] = v end

#vaoIdObject



261
# File 'lib/rlgl.rb', line 261

def vaoId = self[:vaoId]

#vaoId=(v) ⇒ Object



262
# File 'lib/rlgl.rb', line 262

def vaoId=(v) self[:vaoId] = v end

#vboIdObject



263
# File 'lib/rlgl.rb', line 263

def vboId = self[:vboId]

#vboId=(v) ⇒ Object



264
# File 'lib/rlgl.rb', line 264

def vboId=(v) self[:vboId] = v end

#verticesObject



253
# File 'lib/rlgl.rb', line 253

def vertices = self[:vertices]

#vertices=(v) ⇒ Object



254
# File 'lib/rlgl.rb', line 254

def vertices=(v) self[:vertices] = v end