Class D2D1TessellationSink
Populates an D2D1Mesh object with triangles.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1TessellationSink : DXComObject, IDisposable
Constructors
| Edit this page View SourceD2D1TessellationSink(nint)
Initializes a new instance of the D2D1TessellationSink class.
Declaration
public D2D1TessellationSink(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1TessellationSinkGuid
The interface GUID.
Declaration
public static readonly Guid D2D1TessellationSinkGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Methods
| Edit this page View SourceAddTriangles(D2D1Triangle[]?)
Copies the specified triangles to the sink.
Declaration
public void AddTriangles(D2D1Triangle[]? triangles)
Parameters
| Type | Name | Description |
|---|---|---|
| D2D1Triangle[] | triangles | An array of D2D1Triangle structures that describe the triangles to add to the sink. |
AddTriangles(ReadOnlySpan<D2D1Triangle>)
Copies the specified triangles to the sink.
Declaration
public void AddTriangles(ReadOnlySpan<D2D1Triangle> triangles)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<D2D1Triangle> | triangles | An array of D2D1Triangle structures that describe the triangles to add to the sink. |
Close()
Closes the sink and returns its error status.
Declaration
public void Close()