MetalTextureFrame class final
The Metal texture of an acquired frame.
See mln_metal_texture_frame in the
C API reference.
Constructors
- MetalTextureFrame({int width = 0, int height = 0, double scaleFactor = 0, int slot = 0, NativePointer texture = NativePointer.nullPointer, NativePointer device = NativePointer.nullPointer, int pixelFormat = 0})
-
const
Properties
- device → NativePointer
-
The texture's MTLDevice.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- pixelFormat → int
-
The texture's MTLPixelFormat.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleFactor → double
-
final
- slot → int
-
The texture's index in the descriptor's
textures.final - texture → NativePointer
-
The MTLTexture.
final
- width → int
-
final
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.
inherited