DefaultTextures class final

1×1 textures standing in for a material's missing maps: white (base colour, metal-rough, occlusion, emissive — so factors apply alone) and a flat normal.

Constructors

DefaultTextures(GpuDevice device)
Creates them on device.

Properties

black → GpuTexture
Black, linear: no bloom.
final
blackCube → GpuTexture
A black cube: bound where there is no environment map.
final
flatNormal → GpuTexture
(0, 0, 1) in tangent space.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
white → GpuTexture
White, linear.
final
whiteSrgb → GpuTexture
White, sRGB.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited