class

Texture

Inherits Reference < Object

Constructors

new(renderer : Pointer(LibSDL::Renderer))
Source

Instance methods

finalize
Source
free
Source
height
Source
load_from_file(path : String)
Source
render(x : Int, y : Int, clip : Pointer(LibSDL::Rect) | Nil = nil, angle : Float = 0.0, center : Pointer(LibSDL::Point) | Nil = nil, flip : LibSDL::RendererFlip = LibSDL::RendererFlip::FLIP_NONE)
Source
set_alpha(alpha : UInt8)
Source
set_blend_mode(blending : LibSDL::BlendMode)
Source
set_color(red : UInt8, green : UInt8, blue : UInt8)
Source
width
Source