Class Texture

Texture class

A texture and its sampler.

public sealed class Texture : LogicalChildOfRoot

Properties

NameDescription
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
FallbackImage { get; }
LogicalIndex { get; }Gets the zero-based index of this object in the Logical resources of GlbImage.
LogicalParent { get; }Gets the GlbImage instance that owns this object.
Name { get; set; }Gets or sets the display text name, or null.
PrimaryImage { get; }
Sampler { get; set; }

Methods

NameDescription
ClearImages()
GetExtension<T>()
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetExtension<T>(T)
SetImage(ImageGlb)
SetImages(ImageGlb, ImageGlb)
UseExtension<T>()

See Also