CpuTestKit class final
What cpuTestDevice hands a test: a software device and the two fallback textures a renderer made on it asks for.
Constructors
- CpuTestKit({required CpuDevice device, required TextureHandle albedo, required TextureHandle normal})
-
device, withalbedoandnormalmade on it.const
Properties
- albedo → TextureHandle
-
A one-pixel white texture, a renderer's fallback albedo.
final
- device → CpuDevice
-
The software device, with the builtin shaders.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- normal → TextureHandle
-
A one-pixel flat normal in tangent space, a renderer's fallback normal.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override