class SDLTexture
- SDLTexture
- Reference
- Object
Defined in:
texture.crConstructors
Instance Method Summary
- #finalize
- #free
- #get_texture
- #height : Int32
- #load_from_file(renderer : Pointer(LibSDL::Renderer), path : String)
- #render(renderer : Pointer(LibSDL::Renderer), x : Int, y : Int, source_rect : Pointer(LibSDL::Rect) | Nil = nil)
- #width : Int32
Constructor Detail
Instance Method Detail
def render(renderer : Pointer(LibSDL::Renderer), x : Int, y : Int, source_rect : Pointer(LibSDL::Rect) | Nil = nil)
#