Beispiel #1
0
 /// <summary>
 /// Return a pointer to the unmanaged version of this callback.
 /// </summary>
 /// <param name="callback">The callback.</param>
 /// <returns>A pointer to a shadow c++ callback</returns>
 public static IntPtr ToIntPtr(CommandSink1 callback)
 {
     return(ToCallbackPtr <CommandSink1>(callback));
 }
 /// <summary>
 /// Streams the contents of the command list to the specified command sink.
 /// </summary>
 /// <param name="sink">The sink into which the command list will be streamed.</param>
 public void Stream(CommandSink1 sink)
 {
     Stream_(CommandSink1Shadow.ToIntPtr(sink));
 }
Beispiel #3
0
 /// <summary>
 /// Return a pointer to the unmanaged version of this callback.
 /// </summary>
 /// <param name="callback">The callback.</param>
 /// <returns>A pointer to a shadow c++ callback</returns>
 public static IntPtr ToIntPtr(CommandSink1 callback)
 {
     return ToCallbackPtr<CommandSink1>(callback);
 }
 /// <summary>
 /// Streams the contents of the command list to the specified command sink. 
 /// </summary>
 /// <param name="sink">The sink into which the command list will be streamed.</param>
 public void Stream(CommandSink1 sink)
 {
     Stream_(CommandSink1Shadow.ToIntPtr(sink));
 }