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); }
/// <inheritdoc/> public virtual void PrepareForRender(SharpDX.Direct2D1.ChangeType changeType) { }
public void PrepareForRender(SharpDX.Direct2D1.ChangeType changeType) { PrepareForRender_(changeType); }