GSDL::Texture
Constructors
from_surface(surface : Surface) : Texture
Sourcenew(width : Num, height : Num, format : PixelFormat = PixelFormat::RGBA8888, access : TextureAccess = TextureAccess::Static)
Sourcenew(texture : SDL3::Texture)
SourceInstance methods
atlas_handle
Sourceatlas_handle=(atlas_handle : SDL3::Texture | Nil)
Sourceatlas_rect
Sourceatlas_rect=(atlas_rect : FRect | Nil)
Sourceblend_mode
Sourceblend_mode=(blend_mode : LibSDL3::BlendMode)
Sourcecolor_mod=(color : Color)
Sourcedestroy
Sourceheight
Sourcescale_mode
Sourcesize
Sourcetint
Sourcetint=(color : Color)
Sourceto_sdl
Sourceunlock
Sourcewidth
Source