Logo


search API (or start typing anywhere)


ImageData

snow.types.ImageData defined in snow.types.Types


class


 

Members


app
app : snow.Snow

bpp
bpp : Int
used bits per pixel
bpp_source
bpp_source : Int
source bits per pixel
height
height : Int
image height from source image
height_actual
height_actual : Int
The actual height, used when image is automatically padded to POT
id
id : String
source asset id
pixels
pixels : snow.api.buffers.Uint8Array
image pixel data
width
width : Int
image width from source image
width_actual
width_actual : Int
The actual width, used when image is automatically padded to POT

Methods


destroy
destroy() : Void

newinline

new(_app:snow.Snow, _options:snow.types.ImageDataOptions) : Void