Class: BaseImageTexture

THING.BaseImageTexture(param)

BaseImageTexture The image texture resource.

Constructor

new BaseImageTexture(param)

The image texture that load image resource and use by style.
Parameters:
Name Type Description
param Object The initial parameters.
Source:

Extends

Members

anisotropy :Number

Get/Set the anisotropy.
Type:
  • Number
Overrides:
Source:

colorFormat :Number

Get/Set the color format.
Type:
  • Number
Overrides:
Source:

encoding :ImageEncodingType

Get/Set the encoding.
Type:
Overrides:
Source:

flipY :Boolean

Enable/Disable flipY.
Type:
  • Boolean
Overrides:
Source:

generateMipmaps :Boolean

Enable/Disable generate mipmaps.
Type:
  • Boolean
Overrides:
Source:

loaded :Boolean

Get the loaded flag.
Type:
  • Boolean
Overrides:
Source:

magFilterType :ImageFilterType

Get/Set the mag filter type.
Type:
Overrides:
Source:

mappingType :ImageMappingType

Get/Set the mappingType type.
Type:
Overrides:
Source:

minFilterType :ImageFilterType

Get/Set the min filter type.
Type:
Overrides:
Source:

premultiplyAlpha :Boolean

Enable/Disable premultiply alpha.
Type:
  • Boolean
Overrides:
Source:

url :String

Get/Set url.
Type:
  • String
Source:

uuid :String

Get the unique ID.
Type:
  • String
Overrides:
Source:

wrapType :ImageWrapType

Get/Set the wrapping behavior for the both S and T texture coordinates.
Type:
Overrides:
Source:

wrapTypeS :ImageWrapType

Get/Set the wrapping behavior for the S texture coordinate.
Type:
Overrides:
Source:

wrapTypeT :ImageWrapType

Get/Set the wrapping behavior for the T texture coordinate.
Type:
Overrides:
Source:

Methods

waitForComplete() → {Promise.<any>}

Wait for object load completed.
Overrides:
Source:
Returns:
Type
Promise.<any>