n3-lib TypeScript API
Guides
Inspector
Preparing search index...
createTga
Function createTga
createTga
(
width
:
number
,
height
:
number
,
rgba
:
Uint8Array
)
:
ImageRecord
Construct a top-left, 32-bit TGA from RGBA pixels.
Parameters
width
:
number
height
:
number
rgba
:
Uint8Array
Returns
ImageRecord
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Inspector
n3-lib TypeScript API
Loading...
Construct a top-left, 32-bit TGA from RGBA pixels.