Appearance
RoyInterface / Exports / resource/texture/RoyTextureMipmapGen / RoyTextureMipmapGen
Class: RoyTextureMipmapGen
resource/texture/RoyTextureMipmapGen.RoyTextureMipmapGen
Table of contents
Constructors
Methods
Constructors
constructor
• new RoyTextureMipmapGen(): RoyTextureMipmapGen
Returns
Methods
generateMipmap
▸ generateMipmap(width
, height
, channel
, input
, ret
): boolean
Parameters
Name | Type |
---|---|
width | number |
height | number |
channel | number |
input | Uint8Array |
ret | RoyTextureMipmapGenRlt [] |
Returns
boolean
generateMipmapNPOT
▸ generateMipmapNPOT(width
, height
, channel
, input
, ret
): boolean
Parameters
Name | Type |
---|---|
width | number |
height | number |
channel | number |
input | Uint8Array |
ret | RoyTextureMipmapGenRlt [] |
Returns
boolean