public static IDirect3D CreateDirect3D()
    {
        global::System.IntPtr cPtr = IronSightEnginePINVOKE.CreateDirect3D();
        IDirect3D             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IDirect3D(cPtr, false);

        return(ret);
    }
Beispiel #2
0
    public IDirect3D __deref__()
    {
        global::System.IntPtr cPtr = IronSightEnginePINVOKE.Direct3D___deref__(swigCPtr);
        IDirect3D             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new IDirect3D(cPtr, false);

        return(ret);
    }
 /// <summary>
 ///
 /// </summary>
 /// <param name="oldValue"></param>
 /// <param name="newValue"></param>
 private void OnRendererChanged(IDirect3D oldValue, IDirect3D newValue)
 {
     UpdateSize();
     UpdateReallyLoopRendering();
     Focusable = newValue is IInteractiveDirect3D;
 }
Beispiel #4
0
 private void OnRendererChanged(IDirect3D oldValue, IDirect3D newValue)
 {
     UpdateSize();
     UpdateReallyLoopRendering();
     Focusable = newValue is IInteractiveDirect3D;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IDirect3D obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #6
0
 private void OnRendererChanged(IDirect3D oldValue, IDirect3D newValue)
 {
     UpdateSize();
     Focusable = false;
 }
Beispiel #7
0
 public Direct3D(IDirect3D src) : this(IronSightEnginePINVOKE.new_Direct3D__SWIG_1(IDirect3D.getCPtr(src)), true)
 {
 }