XKTTexture
Member Summary
Public Members | ||
public |
Which material channel this texture is applied to, as determined by its XKTTextureSets. |
|
public |
Whether this XKTTexture is to be compressed. |
|
public |
Height of this XKTTexture. |
|
public |
imageData: Buffer Texture image data. |
|
public |
How the texture is sampled when a texel covers more than one pixel. |
|
public |
Media type of this XKTTexture. |
|
public |
How the texture is sampled when a texel covers less than one pixel. |
|
public |
Texture file source. |
|
public |
Unique ID of this XKTTexture in XKTModel#textures. |
|
public |
Index of this XKTTexture in XKTModel#texturesList; |
|
public |
Width of this XKTTexture. |
|
public |
R wrapping mode. |
|
public |
S wrapping mode. |
|
public |
T wrapping mode. |
Public Members
public channel: Number source
Which material channel this texture is applied to, as determined by its XKTTextureSets.
public magFilter: Number source
How the texture is sampled when a texel covers more than one pixel. Supported values are LinearFilter and NearestFilter.
Ignored for compressed textures.
public mediaType: Number source
Media type of this XKTTexture.
Supported values are GIFMediaType, PNGMediaType and JPEGMediaType.
Ignored for compressed textures.
public minFilter: Number source
How the texture is sampled when a texel covers less than one pixel. Supported values are LinearMipmapLinearFilter, LinearMipMapNearestFilter, NearestMipMapNearestFilter, NearestMipMapLinearFilter and LinearMipMapLinearFilter.
Ignored for compressed textures.
public wrapR: * | number source
R wrapping mode.
Ignored for compressed textures.
Supported values are ClampToEdgeWrapping, MirroredRepeatWrapping and RepeatWrapping.
public wrapS: Number source
S wrapping mode.
Supported values are ClampToEdgeWrapping, MirroredRepeatWrapping and RepeatWrapping.
Ignored for compressed textures.
public wrapT: Number source
T wrapping mode.
Supported values are ClampToEdgeWrapping, MirroredRepeatWrapping and RepeatWrapping.
Ignored for compressed textures.