OpenGlBorrowedTextureReplacement class final

New OpenGL textures for a borrowed ring, for RenderSessionHandle.setOpenGlBorrowedTextureTarget().

The members and the textures follow the rules of OpenGlBorrowedTextureDescriptor. The ring keeps its depth, context, and texture target, so give it as many textures as it attached with, in the same share group.

See mln_open_gl_borrowed_texture_replacement in the C API reference.

Constructors

OpenGlBorrowedTextureReplacement({required LogicalSize logicalSize, required int physicalWidth, required int physicalHeight, required List<OpenGlBorrowedTexture> 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<OpenGlBorrowedTexture>
final

Methods

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