Class TextureBuilder

TextureBuilder class

Represents the texture used by a ChannelBuilder

public class TextureBuilder : BaseBuilder

Properties

NameDescription
CoordinateSet { get; set; }
Extras { get; set; }Gets or sets the custom data of this object.
FallbackImage { get; set; }Gets or sets the fallback image bytes to use by this TextureBuilder, Supported formats are: PNG, JPG.
MagFilter { get; set; }
MinFilter { get; set; }
Name { get; set; }Gets or sets the display text name, or null.
PrimaryImage { get; set; }Gets or sets the default image bytes to use by this TextureBuilder, Supported formats are: PNG, JPG, DDS, WEBP and KTX2
Transform { get; }
WrapS { get; set; }
WrapT { get; set; }
static ContentComparer { get; }

Methods

NameDescription
WithCoordinateSet(int)
WithFallbackImage(ImageBuilder)
WithPrimaryImage(ImageBuilder)
WithSampler(TextureWrapMode, TextureWrapMode, TextureMipMapFilter, TextureInterpolationFilter)
WithTransform(Vector2, Vector2, float, int?)
WithTransform(float, float, float, float, float, int?)
static AreEqualByContent(TextureBuilder, TextureBuilder)
static GetContentHashCode(TextureBuilder)

See Also