Class: Mittsu::RenderTargetCube

Inherits:
RenderTarget show all
Defined in:
lib/mittsu/textures/render_target_cube.rb

Constant Summary

Constants inherited from Texture

Texture::DEFAULT_IMAGE, Texture::DEFAULT_MAPPING

Instance Attribute Summary

Attributes inherited from RenderTarget

#anisotropy, #depth_buffer, #format, #framebuffer, #generate_mipmaps, #height, #mag_filter, #min_filter, #offset, #renderer, #repeat, #share_depth_from, #stencil_buffer, #type, #width, #wrap_s, #wrap_t

Attributes inherited from Texture

#anisotropy, #filp_y, #format, #generate_mipmaps, #id, #image, #mag_filter, #mapping, #min_filter, #mipmaps, #name, #offset, #on_update, #premultiply_alpha, #repeat, #source_file, #type, #unpack_alignment, #uuid, #wrap_s, #wrap_t

Instance Method Summary collapse

Methods inherited from RenderTarget

#clone, #dispose, #needs_update?, #set_size

Methods included from EventDispatcher

#add_event_listener, #dispatch_event, #has_event_listener, #remove_event_listener

Methods inherited from Texture

#clone, #dispose, #needs_update=, #needs_update?, #update

Constructor Details

#initialize(size = 1, options = {}) ⇒ RenderTargetCube

Returns a new instance of RenderTargetCube.



3
4
5
6
# File 'lib/mittsu/textures/render_target_cube.rb', line 3

def initialize(size = 1, options = {})
  super(size, size, options)
  # TODO
end