[]
ID2D1CommandList
[Guid("b4f34a19-2383-4d76-94f6-ec343657c3dc")]
public class CommandList : Image, IDisposable, IUnknown
Initializes a new instance of the CommandList class.
public CommandList(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT ID2D1CommandList::Close()
public void Close()
Initializes a new instance of the CommandList class.
public static CommandList Create(DeviceContext deviceContext)
deviceContext
DeviceContextThe device context.
Streams the contents of the command list to the specified command sink.
public void Stream(ICommandSink sink)
sink
ICommandSinkThe sink into which the command list will be streamed.
Streams the contents of the command list to the specified command sink.
public void Stream(ICommandSink1 sink)
sink
ICommandSink1The sink into which the command list will be streamed.
Performs an explicit conversion from System.IntPtr to CommandList.
public static explicit operator CommandList(IntPtr nativePointer)
nativePointer
System.IntPtr