Class | AS::Texture |
In: |
lib/as_texture.rb
|
Parent: | Object |
Filter | = | { :smooth => [GL::LINEAR, GL::LINEAR], :blocky => [GL::NEAREST, GL::NEAREST], :mip_smooth => [GL::LINEAR_MIPMAP_LINEAR, GL::LINEAR], :mip_blocky => [GL::NEAREST_MIPMAP_LINEAR, GL::LINEAR], } | Possible filter parameters. | |
Format | = | { :alpha => GL::ALPHA, :bw => GL::LUMINANCE, :rgb => GL::RGB, :rgba => GL::RGBA, } | Possible inform parameters | |
TextureDimError | = | Class.new(Exception) |
Draw from the source rectangle in texture coordinates into th destination rectangle in world coordinates.
Returns the default texture target. Overriden in AS::RectTexture to provide support for rectangle textures.