Class D2D1TessellationSink
Populates an D2D1Mesh object with triangles.
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public sealed class D2D1TessellationSink : IDisposable, ID2D1Releasable
Properties
| Edit this page View SourceHandle
Gets an handle representing the D2D1 object interface.
Declaration
public object Handle { get; }
Property Value
Type | Description |
---|---|
object |
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. |
Close()
Closes the sink and returns its error status.
Declaration
public void Close()
Dispose()
Immediately releases the unmanaged resources used by the D2D1TessellationSink object.
Declaration
public void Dispose()
Release()
Releases the managed reference to the COM D2D1 interface.
Declaration
public void Release()
ToBoolean()
Gets a boolean indicating if the handle is not null.
Declaration
public bool ToBoolean()
Returns
Type | Description |
---|---|
bool | A boolean |
Operators
| Edit this page View Sourceimplicit operator bool(D2D1TessellationSink)
Gets a boolean indicating if the handle is not null.
Declaration
public static implicit operator bool(D2D1TessellationSink value)
Parameters
Type | Name | Description |
---|---|---|
D2D1TessellationSink | value | A D2D1 object. |
Returns
Type | Description |
---|---|
bool | A boolean |