예제 #1
0
 private static int PrepareForRenderImpl(IntPtr thisPtr, SharpDX.Direct2D1.ChangeType changeType)
 {
     try
     {
         var shadow   = ToShadow <CustomEffectShadow>(thisPtr);
         var callback = (CustomEffect)shadow.Callback;
         callback.PrepareForRender(changeType);
     }
     catch (Exception exception)
     {
         return((int)SharpDX.Result.GetResultFromException(exception));
     }
     return(Result.Ok.Code);
 }
예제 #2
0
 /// <inheritdoc/>
 public virtual void PrepareForRender(SharpDX.Direct2D1.ChangeType changeType)
 {
 }
예제 #3
0
 public void PrepareForRender(SharpDX.Direct2D1.ChangeType changeType)
 {
     PrepareForRender_(changeType);
 }