loadTextureRaw - multiple declarations
Function loadTextureRaw
Wraps IMG_LoadTexture_RW
which loads an image from a data buffer into a hardware dsdl
Parameters
Name | Description |
---|---|
renderer | given dsdl to initialize the texture |
data | data buffer of the image |
Returns
dsdl
of the loaded image
Throws
dsdl
if failed to load the image
Function loadTextureRaw
Wraps IMG_LoadTextureTyped_RW
which loads a typed image from a data buffer into a hardware dsdl
Parameters
Name | Description |
---|---|
renderer | given dsdl to initialize the texture |
data | data buffer of the image |
type | specified type of the image |
Returns
dsdl
of the loaded image
Throws
dsdl
if failed to load the image