class SDLTexture

Defined in:

texture.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def finalize #

[View source]
def free #

[View source]
def get_texture #

[View source]
def height : Int32 #

[View source]
def load_from_file(renderer : Pointer(LibSDL::Renderer), path : String) #

[View source]
def render(renderer : Pointer(LibSDL::Renderer), x : Int, y : Int, source_rect : Pointer(LibSDL::Rect) | Nil = nil) #

[View source]
def width : Int32 #

[View source]