Class reference

GLTFTexture

Inherits Resource

GLTFTexture represents a texture in a glTF file.

Properties

int sampler = -1

ID of the texture sampler to use when sampling the image. If -1, then the default texture sampler is used (linear filtering, and repeat wrapping in both axes).

int src_image = -1

The index of the image associated with this texture, see GLTFState.get_images(). If -1, then this texture does not have an image assigned.

Tutorials

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.