The XScreen type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| ActivateControl |
Activates the XViewportPanel window.
| |
| CreateFakeForm |
Creates a fake form for the full-screen mode.
| |
| CreateWindowedDevice |
Creates the windowed device.
| |
| Dispose | Overloaded. | |
| Equals | (Inherited from Object.) | |
| FillInitialDisplayMode |
Sets the mode to the initial display modes that are null.
| |
| Finalize |
The class destructor.
(Inherited from XDisposableObject.) | |
| GetDisplayModeFormatColorsBitCount |
Gets the color depth (bits for one pixel) for the Format.
| |
| GetDisplayModes |
Gets all display modes of the graphic card in this computer, that match the reference mode mode. If some reference mode property is null, comparsion of that property is skipped.
| |
| GetDisplayModesFormats |
Gets the color modes (DirectX layer Format formats) that this computer's graphic card supports.
| |
| GetDisplayModesSizes |
Gets display mode sizes that this computer's graphic card supports.
| |
| GetFullScreen |
Tells whether the window control is in the full screen mode.
| |
| GetFullScreenSize |
Returns the window size in the full screen mode.
| |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| CheckDevice | Overloaded. | |
| CheckDevicePrepared | ||
| CheckDisplayMode |
Checks whether the mode mode is supported. Null values are ignored.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| OnControlSizeChanged |
The method is called by the window control if its size has changed.
| |
| OnDeviceDisposing |
The method handles the Disposing()()() event.
| |
| OnDeviceLost |
The method is fired when the device is lost.
| |
| OnDeviceReset |
The method handles the DeviceReset()()() event.
| |
| OnDeviceResizing |
The method handles the DeviceResizing()()() event.
| |
| PaintControl |
Redraws the window. This is an internal method that is not designed for other usage.
| |
| Register |
Registers the XViewportPanel window.
| |
| Render |
Performs the view rendering.
| |
| ResetDevice |
Performs the device reset.
| |
| ResizeDevice |
Resizes the back-buffer of the device.
| |
| SafeResetDevice |
Performs device safe reset.
| |
| SwitchFullScreenDevice |
Switches to full screen mode.
| |
| SwitchWindowedDevice |
Switches to windowed mode.
| |
| ToString | (Inherited from Object.) | |
| Unregister |
Unregisters the XViewportPanel window.
| |
| UpdateFocusForm |
Updates the active Form form.
|
Properties
| Name | Description | |
|---|---|---|
| BackgroundContext |
Returns the DirectX layer Sprite sprite on that the rendering of the XText2D 2D text backgrounds and the XTextArea2D text area background take place.
| |
| Caps |
Returns the device XDeviceCaps capabilities.
| |
| CurrentDisplayMode |
Returns the DisplayMode instance describing the current display mode of the graphic card.
| |
| Device |
Returns the The DirectX layer Device device instance.
| |
| DeviceCreationBehavior | ||
| DeviceReseted | ||
| DeviceState |
Gets a XScreen..::.DeviceStateCache which is the copy of the DirectX device setting object.
| |
| DeviceType | ||
| Form |
Returns the Form form that is being drawn on.
| |
| IndexBufferUsage | ||
| IsDisposed |
Denotes whether the instance is disposed.
(Inherited from XDisposableObject.) | |
| MeshCreationFlags | ||
| ResetDeviceWhenLastControlRemoved |
Gets or sets whether reseting device will be performed on the fake form when no control is registred.
| |
| Size |
Returns size of the displayed area.
| |
| SupportedDisplayModes |
Returns the DisplayMode display mode collection, describing all currently supported graphic card modes.
| |
| SyncRoot | ||
| TextContext |
Returns the DirectX layer Sprite sprite on that the rendering of the XText2D 2D texts and the XTextArea2D text area take place.
| |
| TextureAutoGenFilter |
Gets the TextureFilter texture filter mode if the auto generation is enabled.
| |
| TextureDefaultMipMapLevel |
Gets the defalut level of generating the texture MIP maps.
| |
| TextureMipMapUsage |
Returns the texture MIP maps usage.
| |
| VertexBufferUsage |
Returns the VertexBuffer vertex buffer usage.
|
Events
| Name | Description | |
|---|---|---|
| PaintException |
The event is fired when the exception during rendering the control has occurred.
|