Class: Stagecraft::Renderer::ResourceCache::GPUGeometry

Inherits:
Data
  • Object
show all
Defined in:
lib/stagecraft/renderer/resource_cache.rb

Instance Attribute Summary collapse

Instance Attribute Details

#index_bufferObject (readonly)

Returns the value of attribute index_buffer

Returns:

  • (Object)

    the current value of index_buffer



6
7
8
# File 'lib/stagecraft/renderer/resource_cache.rb', line 6

def index_buffer
  @index_buffer
end

#index_countObject (readonly)

Returns the value of attribute index_count

Returns:

  • (Object)

    the current value of index_count



6
7
8
# File 'lib/stagecraft/renderer/resource_cache.rb', line 6

def index_count
  @index_count
end

#index_formatObject (readonly)

Returns the value of attribute index_format

Returns:

  • (Object)

    the current value of index_format



6
7
8
# File 'lib/stagecraft/renderer/resource_cache.rb', line 6

def index_format
  @index_format
end

#layout_idObject (readonly)

Returns the value of attribute layout_id

Returns:

  • (Object)

    the current value of layout_id



6
7
8
# File 'lib/stagecraft/renderer/resource_cache.rb', line 6

def layout_id
  @layout_id
end

#vertex_buffersObject (readonly)

Returns the value of attribute vertex_buffers

Returns:

  • (Object)

    the current value of vertex_buffers



6
7
8
# File 'lib/stagecraft/renderer/resource_cache.rb', line 6

def vertex_buffers
  @vertex_buffers
end

#vertex_countObject (readonly)

Returns the value of attribute vertex_count

Returns:

  • (Object)

    the current value of vertex_count



6
7
8
# File 'lib/stagecraft/renderer/resource_cache.rb', line 6

def vertex_count
  @vertex_count
end