static
new
(
string
filename
)
__gc
(
)
__eq
(
am.texture
rhs
)
->
(
boolean
)
filename
(
)
->
(
string
)
filename
(
string
filename
)
->
(
am.code
)
is_loaded
(
)
->
(
boolean
)
reload
(
)
->
(
am.code
)
width
(
)
->
(
integer
)
height
(
)
->
(
integer
)
bytes_per_pixel
(
)
->
(
integer
)
gl_format
(
)
->
(
integer
)
static
new
(
string
filename
)
__gc
(
)
__eq
(
am.texture
rhs
)
->
(
boolean
)
filename
(
)
->
(
string
)
filename
(
string
filename
)
->
(
am.code
)
success | The texture loaded the new file successfully. |
file_not_found | Texture didn't load because the file could not be found. |
texture_load_failed | Texture didn't load because there was an issue with the file. |
is_loaded
(
)
->
(
boolean
)
reload
(
)
->
(
am.code
)
success | The texture loaded the new file successfully. |
file_not_found | Texture didn't load because the file could not be found. |
texture_load_failed | Texture didn't load because there was an issue with the file. |
width
(
)
->
(
integer
)
height
(
)
->
(
integer
)
bytes_per_pixel
(
)
->
(
integer
)
gl_format
(
)
->
(
integer
)