n3-lib TypeScript API
Guides
Inspector
Preparing search index...
createTexture
Function createTexture
createTexture
(
width
:
number
,
height
:
number
,
rgba
:
Uint8Array
,
format
?:
number
,
mips
?:
boolean
,
)
:
Texture
Construct an NTF from editable RGBA, including engine-compatible fallback images.
Parameters
width
:
number
height
:
number
rgba
:
Uint8Array
format
:
number
= TextureFormat.ARGB8
mips
:
boolean
= true
Returns
Texture
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Inspector
n3-lib TypeScript API
Loading...
Construct an NTF from editable RGBA, including engine-compatible fallback images.