class Texture
- Texture
- Reference
- Object
Defined in:
texture.crConstructors
Instance Method Summary
- #finalize
- #free
- #height : Int32
- #load_from_file(path : String)
- #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)
- #set_alpha(alpha : UInt8)
- #set_blend_mode(blending : LibSDL::BlendMode)
- #set_color(red : UInt8, green : UInt8, blue : UInt8)
- #width : Int32
Constructor Detail
Instance Method Detail
def 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)
#