Skip to content

RoyInterface / Exports / resource/texture/RoyTextureMipmapGen / RoyTextureMipmapGen

Class: RoyTextureMipmapGen

resource/texture/RoyTextureMipmapGen.RoyTextureMipmapGen

Table of contents

Constructors

Methods

Constructors

constructor

new RoyTextureMipmapGen(): RoyTextureMipmapGen

Returns

RoyTextureMipmapGen

Methods

generateMipmap

generateMipmap(width, height, channel, input, ret): boolean

Parameters

NameType
widthnumber
heightnumber
channelnumber
inputUint8Array
retRoyTextureMipmapGenRlt[]

Returns

boolean


generateMipmapNPOT

generateMipmapNPOT(width, height, channel, input, ret): boolean

Parameters

NameType
widthnumber
heightnumber
channelnumber
inputUint8Array
retRoyTextureMipmapGenRlt[]

Returns

boolean