SwapChain.RasterStatus Property |
Language: |
Returns information that describes the raster of the monitor on which the swap chain is presented.
Visual Basic Public ReadOnly Property RasterStatus As RasterStatus C# public RasterStatus RasterStatus { get; } C++ public:
property RasterStatus RasterStatus {
RasterStatus get();
}JScript public function get RasterStatus() : RasterStatus
Microsoft.DirectX.Direct3D.RasterStatus
This property is read-only.
A RasterStatus structure that contains information about the position or other status of the raster on the monitor driven by the current adapter.
This method does not return device state for a device created using PureDevice. To use this method, create a device with any of the other values in CreateFlags.
Exceptions
InvalidCallException Occurs if ret_RasterStatus_get is invalid or if the device does not support reading the current scan line. To determine whether the device supports reading the scan line, check the Caps.DriverCaps.ReadScanLine property. It should be set to true.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center