HAL::IsRasterModeSupported

HAL::IsRasterModeSupported
virtual bool IsRasterModeSupported(RasterModeType mode) const;
Description

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
Parameters 
Description 
RasterModeType mode 
The raster mode. 
Return Value

Returns true if the raster mode is supported and false otherwise.