Ejemplo n.º 1
0
 private static extern void Internal_create(Viewport managedInstance, RenderTarget target, float x, float y, float width, float height);
Ejemplo n.º 2
0
 /// <summary>Creates a new viewport.</summary>
 public Viewport(RenderTarget target, float x = 0f, float y = 0f, float width = 1f, float height = 1f)
 {
     Internal_create(this, target, x, y, width, height);
 }
Ejemplo n.º 3
0
 private static extern void Internal_setTarget(IntPtr thisPtr, RenderTarget target);