
Base type for all texture asset types.
Kind: global class
ImageNumberNumberVector2Get texture magnifying filter, or null to use default.
Kind: instance property of TextureAssetBase
See: Shaku.gfx.TextureFilterModes
Set texture magnifying filter.
Kind: instance property of TextureAssetBase
See: Shaku.gfx.TextureFilterModes
| Param | Type | Description |
|---|---|---|
| value | TextureFilterMode |
Filter mode to use or null to use default. |
Get texture wrapping mode, or null to use default.
Kind: instance property of TextureAssetBase
See: Shaku.gfx.TextureWrapModes
Set texture wrapping mode.
Kind: instance property of TextureAssetBase
See: Shaku.gfx.TextureWrapModes
| Param | Type | Description |
|---|---|---|
| value | TextureWrapMode |
Wrapping mode to use or null to use default. |
ImageGet raw image.
Kind: instance property of TextureAssetBase
Returns: Image - Image instance.
NumberGet texture width.
Kind: instance property of TextureAssetBase
Returns: Number - Texture width.
NumberGet texture height.
Kind: instance property of TextureAssetBase
Returns: Number - Texture height.
Get texture instance for WebGL.
Kind: instance property of TextureAssetBase
Vector2Get texture size as a vector.
Kind: instance method of TextureAssetBase
Returns: Vector2 - Texture size.