MCPcopy Create free account
hub / github.com/coronalabs/corona / CreateImageByteBuffer

Method CreateImageByteBuffer

platform/android/ndk/AndroidImageData.cpp:240–255  ·  view source on GitHub ↗

Creates a byte buffer to be used to copy an image's pixels to. This byte buffer can then be rerieved via the GetImageByteBuffer() function. You are expected to call this object's SetWidth(), SetHeight(), and SetPixelFormat*() functions first since they define the size of this byte buffer. If an existing byte buffer has already been created, then calling this function again will destroy t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

OnDecodeFromMethod · 0.80
CopyBitmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected