Class: Stagecraft::Renderer::ResourceCache::GPUTexture

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

Instance Attribute Summary collapse

Instance Attribute Details

#samplerObject (readonly)

Returns the value of attribute sampler

Returns:

  • (Object)

    the current value of sampler



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

def sampler
  @sampler
end

#textureObject (readonly)

Returns the value of attribute texture

Returns:

  • (Object)

    the current value of texture



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

def texture
  @texture
end

#viewObject (readonly)

Returns the value of attribute view

Returns:

  • (Object)

    the current value of view



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

def view
  @view
end