virtual bool IsRasterModeSupported(RasterModeType mode) const;
IsRasterModeSupported returns whether this platform supports the given raster mode.
Apparently all platforms support all three modes (fill, wireframe, point), except for GLES (which only supports fill), and D3D1x (which doesn't support point); however, WP8/Metro were not able to do wireframe before (but are now). When doing masking, always use solid primitives for the mask primitives, and then revert back to the current raster mode . Also, always rendering in solid mode for filters, because they could get cached in wireframe.
Parameters |
Description |
RasterModeType mode |
The raster mode. |
Returns true if the raster mode is supported and false otherwise.