Description
The BypassGraphicsProxyWidget
field is a member of the Editor.WindowFlags
enumeration. This flag is used to indicate that a window should bypass the graphics proxy widget, which can be useful in certain scenarios where direct rendering is required or when specific graphical optimizations are needed.
Usage
Use the BypassGraphicsProxyWidget
flag when you need to create a window that should not use the default graphics proxy widget. This can be particularly useful in custom rendering scenarios or when integrating with certain graphics libraries that require direct access to the window's rendering context.
Example
// Example of using BypassGraphicsProxyWidget in a window creation
var window = new EditorWindow();
window.Flags = Editor.WindowFlags.Window | Editor.WindowFlags.BypassGraphicsProxyWidget;
window.Show();