Struct DrawingCommandBatch
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.dll
One prepared draw-order command batch consumed by a drawing backend.
public readonly struct DrawingCommandBatch
- Inherited Members
Constructors
DrawingCommandBatch(IReadOnlyList<CompositionSceneCommand>, bool)
Initializes a new instance of the DrawingCommandBatch struct.
public DrawingCommandBatch(IReadOnlyList<CompositionSceneCommand> commands, bool hasLayers)
Parameters
commandsIReadOnlyList<CompositionSceneCommand>The draw-order scene commands.
hasLayersboolIndicates whether the command stream contains layer boundaries.
Properties
CommandCount
Gets the total number of draw-order commands in the scene.
public int CommandCount { get; }
Property Value
Commands
Gets the draw-order scene commands.
public IReadOnlyList<CompositionSceneCommand> Commands { get; }
Property Value
HasLayers
Gets a value indicating whether this scene contains inline layer commands.
public bool HasLayers { get; }