Edit

SKMeshIndexBuffer.Copy Method

Definition

Overloads

Name Description
Copy()

Creates a CPU-backed copy of this index buffer.

Copy(GRContext)

Creates a GPU-backed copy of this index buffer.

Copy()

Creates a CPU-backed copy of this index buffer.

public SkiaSharp.SKMeshIndexBuffer? Copy();

Returns

The copied buffer, or null if the buffer could not be copied.

Remarks

Copying is only supported when the source buffer is CPU-backed.

Applies to

Copy(GRContext)

Creates a GPU-backed copy of this index buffer.

public SkiaSharp.SKMeshIndexBuffer? Copy(SkiaSharp.GRContext context);

Parameters

context
GRContext

The GPU context to upload the copy to.

Returns

The copied buffer, or null if the buffer could not be copied.

Remarks

Copying is only supported when the source buffer is CPU-backed.

Applies to