Class TextureBase
A texture is defined by an image and a sampler.
Inherited Members
Namespace: GLTFast.Schema
Assembly: solution.dll
Syntax
[Serializable]
public abstract class TextureBase : NamedObject
Fields
| Name | Description |
|---|---|
| sampler | The index of the sampler used by this texture. |
| source | The index of the image used by this texture. |
Properties
| Name | Description |
|---|---|
| Extensions | Texture extensions |
| IsKtx | True, if the texture is of the KTX format. |
Methods
| Name | Description |
|---|---|
| Equals(object) | Determines whether two object instances are equal. |
| GetHashCode() | Default hash function. |
| GetImageIndex() | Retrieves the final image index. |