private static extern void Internal_create(Viewport managedInstance, RenderTarget target, float x, float y, float width, float height);
/// <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); }
private static extern void Internal_setTarget(IntPtr thisPtr, RenderTarget target);