Source

Represents the data source of a texture.

Constructor

Source(data : Any)

data — the data definition of a texture. Default is null.

Properties

.data : Any

The actual data of a texture. The type of this property depends on the texture that uses this instance.

.needsUpdate : Boolean

Set this to true to trigger a data upload to the GPU next time the source is used.

.uuid : String

UUID of this object instance. This gets automatically assigned, so this shouldn't be edited.

.version : Integer

This starts at 0 and counts how many times .needsUpdate is set to true.

源代码

关于如何获取此模块的源代码,请查看 本页