TextureTools

Description

class TextureTools

Methods

static CreateResizedCopy(texture, width, height, useBilinearMode) undefined

Uses the GPU to create a copy texture rescaled at a given size

@return Generated texture

Parameters

Name Type Description
texture undefined Texture to copy from
width number Desired width
height number Desired height

static GetEnvironmentBRDFTexture(scene) BaseTexture

Parameters

Name Type Description
scene Scene