CLASSES
TagsA - Z

RawTexture

BaseTextureTexture

Description

class RawTexture extends Texture

Constructor

new RawTexture(data, width, height, format, scene, generateMipMaps, invertY, samplingMode)

Parameters

Name Type Description
data ArrayBufferView
width number
height number
format number
scene Scene
optional generateMipMaps boolean
optional invertY boolean

Members

format : number

Methods

update(data) → void

Parameters

Name Type Description
data ArrayBufferView

static CreateLuminanceTexture(data, width, height, scene, generateMipMaps, invertY, samplingMode) → RawTexture

Parameters

Name Type Description
data ArrayBufferView
width number
height number
scene Scene
optional generateMipMaps boolean
optional invertY boolean

static CreateLuminanceAlphaTexture(data, width, height, scene, generateMipMaps, invertY, samplingMode) → RawTexture

Parameters

Name Type Description
data ArrayBufferView
width number
height number
scene Scene
optional generateMipMaps boolean
optional invertY boolean

static CreateAlphaTexture(data, width, height, scene, generateMipMaps, invertY, samplingMode) → RawTexture

Parameters

Name Type Description
data ArrayBufferView
width number
height number
scene Scene
optional generateMipMaps boolean
optional invertY boolean

static CreateRGBTexture(data, width, height, scene, generateMipMaps, invertY, samplingMode) → RawTexture

Parameters

Name Type Description
data ArrayBufferView
width number
height number
scene Scene
optional generateMipMaps boolean
optional invertY boolean

static CreateRGBATexture(data, width, height, scene, generateMipMaps, invertY, samplingMode) → RawTexture

Parameters

Name Type Description
data ArrayBufferView
width number
height number
scene Scene
optional generateMipMaps boolean
optional invertY boolean