Readonly
isFlag to check if a given object is of type Source.
Readonly
idThe actual data of a texture.
This property is only relevant when .needsUpdate is set to true
and provides more control on how
texture data should be processed.
When dataReady
is set to false
, the engine performs the memory allocation (if necessary) but does not
transfer the data into the GPU memory.
UUID of this object instance.
This starts at 0
and counts how many times .needsUpdate is set to true
.
When the property is set to true
, the engine allocates the memory for the texture (if necessary) and triggers
the actual texture upload to the GPU next time the source is used.
Convert the data Source to three.js JSON Object/Scene format.
Optional
meta: string | {}Optional object containing metadata.
Represents the data Source of a texture.
See