MetalBorrowedTextureReplacement class final

New Metal textures for a borrowed ring, for RenderSessionHandle.setMetalBorrowedTextureTarget().

The members and the textures follow the rules of MetalBorrowedTextureDescriptor. The ring keeps its depth, device, and command queue, so give it as many textures as it attached with, on the same device.

See mln_metal_borrowed_texture_replacement in the C API reference.

Constructors

MetalBorrowedTextureReplacement({required LogicalSize logicalSize, required int physicalWidth, required int physicalHeight, required List<MetalBorrowedTexture> textures})

Properties

hashCode → int
The hash code for this object.
no setterinherited
logicalSize → LogicalSize
final
physicalHeight → int
final
physicalWidth → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textures → List<MetalBorrowedTexture>
final

Methods

copyWith({LogicalSize? logicalSize, int? physicalWidth, int? physicalHeight, List<MetalBorrowedTexture>? textures}) → MetalBorrowedTextureReplacement
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