MetalContextDescriptor class final
The Metal device that a render session uses.
See mln_metal_context_descriptor in the
C API reference.
Constructors
- MetalContextDescriptor({NativePointer device = NativePointer.nullPointer})
-
const
Properties
- device → NativePointer
-
An
MTLDevice.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{NativePointer? device}) → MetalContextDescriptor - A copy of this value with the given members replaced.
-
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.
inherited