struct

SDL3::Properties

Inherits Struct < Value < Object

Constructors

new(id : LibSDL3::PropertiesID)
Source

Instance methods

clear(name : String) : Bool
Source
enumerate(callback : LibSDL3::EnumeratePropertiesCallback, userdata : Pointer(Void)) : Bool
Source
get_boolean(name : String, default_value : Bool = false) : Bool
Source
get_float(name : String, default_value : Float32 = 0.0_f32) : Float32
Source
get_number(name : String, default_value : Int64 = 0) : Int64
Source
get_pointer(name : String, default_value : Pointer(Void) = Pointer(Void).null) : Pointer(Void)
Source
get_string(name : String, default_value : String | Nil = nil) : String | Nil
Source
has?(name : String) : Bool
Source
to_unsafe
Source
type(name : String) : LibSDL3::PropertyType
Source