Threepp.Texture¶
Texture base class
Represents an image texture.
Members¶
Constructors¶
Properties¶
- id
- name
- mapping
- wrapS
- wrapT
- magFilter
- minFilter
- anisotropy
- format
- offset
- repeat
- center
- rotation
- matrixAutoUpdate
- generateMipmaps
- premultiplyAlpha
- unpackAlignment
- encoding
Methods¶
Texture¶
Constructor
Description
Constructor
id¶
Property \ Access: r/w
Description
ID (read-only)
name¶
Property \ Access: r/w
Description
Name
mapping¶
Property \ Access: r/w
Description
Mapping mode
wrapS¶
Property \ Access: r/w
Description
Wrapping in the S direction
wrapT¶
Property \ Access: r/w
Description
Wrapping in the T direction
magFilter¶
Property \ Access: r/w
Description
Magnification filter
minFilter¶
Property \ Access: r/w
Description
Minification filter
anisotropy¶
Property \ Access: r/w
Description
Anisotropic filtering
format¶
Property \ Access: r/w
Description
Format
offset¶
Property \ Access: r/w
Description
Offset (Vector2, read-only)
repeat¶
Property \ Access: r/w
Description
Repeat (Vector2, read-only)
center¶
Property \ Access: r/w
Description
Center (Vector2, read-only)
rotation¶
Property \ Access: r/w
Description
Rotation
matrixAutoUpdate¶
Property \ Access: r/w
Description
Automatic matrix update
generateMipmaps¶
Property \ Access: r/w
Description
Whether to generate mipmaps
premultiplyAlpha¶
Property \ Access: r/w
Description
Premultiplied alpha
unpackAlignment¶
Property \ Access: r/w
Description
Unpack alignment
encoding¶
Property \ Access: r/w
Description
Encoding
updateMatrix¶
Method
Description
Updates the matrix
dispose¶
Method
Description
Releases resources
needsUpdate¶
Method
Description
Flags the texture for update
version¶
Method
Description
Gets the version