public static void ListRasterCaps(RasterCaps rasterCaps, ListBox listCaps) { listCaps.Items.Add(" ----- Rasterizer Caps ------------------------"); if(rasterCaps.SupportsDither) { listCaps.Items.Add("The device can dither to improve color resolution."); } if(rasterCaps.SupportsZBufferTest) { listCaps.Items.Add("The device can perform z-test operations."); } if(rasterCaps.SupportsFogVertex) { listCaps.Items.Add("The device calculates the fog value during the lighting operation using the D3DTLVERTEX. "); } if(rasterCaps.SupportsFogTable) { listCaps.Items.Add("The device calculates the fog value by referring to a lookup table."); } if(rasterCaps.SupportsMipMapLevelOfDetailBias) { listCaps.Items.Add("The device supports level-of-detail (LOD) bias adjustments. "); } if(rasterCaps.SupportsDepthBias) { listCaps.Items.Add("The device supports depth bias values."); } if(rasterCaps.SupportsZBufferLessHsr) { listCaps.Items.Add("The device can perform hidden-surface removal (HSR) without requiring the allocation of a depth-buffer"); } if(rasterCaps.SupportsFogRange) { listCaps.Items.Add("The device supports range-based fog."); } if(rasterCaps.SupportsAnisotropy) { listCaps.Items.Add("The device supports anisotropic filtering."); } if(rasterCaps.SupportsWBuffer) { listCaps.Items.Add("The device supports depth buffering using w. "); } if(rasterCaps.SupportsWFog) { listCaps.Items.Add("The device supports w-based fog. "); } if(rasterCaps.SupportsZFog) { listCaps.Items.Add("The device supports z-based fog. "); } if(rasterCaps.SupportsColorPerspective) { listCaps.Items.Add("The device iterates colors perspective correct."); } }
public static void ListRasterCaps(RasterCaps rasterCaps, ListBox listCaps) { listCaps.Items.Add(" ----- Rasterizer Caps ------------------------"); if (rasterCaps.SupportsDither) { listCaps.Items.Add("The device can dither to improve color resolution."); } if (rasterCaps.SupportsZBufferTest) { listCaps.Items.Add("The device can perform z-test operations."); } if (rasterCaps.SupportsFogVertex) { listCaps.Items.Add("The device calculates the fog value during the lighting operation using the D3DTLVERTEX. "); } if (rasterCaps.SupportsFogTable) { listCaps.Items.Add("The device calculates the fog value by referring to a lookup table."); } if (rasterCaps.SupportsMipMapLevelOfDetailBias) { listCaps.Items.Add("The device supports level-of-detail (LOD) bias adjustments. "); } if (rasterCaps.SupportsDepthBias) { listCaps.Items.Add("The device supports depth bias values."); } if (rasterCaps.SupportsZBufferLessHsr) { listCaps.Items.Add("The device can perform hidden-surface removal (HSR) without requiring the allocation of a depth-buffer"); } if (rasterCaps.SupportsFogRange) { listCaps.Items.Add("The device supports range-based fog."); } if (rasterCaps.SupportsAnisotropy) { listCaps.Items.Add("The device supports anisotropic filtering."); } if (rasterCaps.SupportsWBuffer) { listCaps.Items.Add("The device supports depth buffering using w. "); } if (rasterCaps.SupportsWFog) { listCaps.Items.Add("The device supports w-based fog. "); } if (rasterCaps.SupportsZFog) { listCaps.Items.Add("The device supports z-based fog. "); } if (rasterCaps.SupportsColorPerspective) { listCaps.Items.Add("The device iterates colors perspective correct."); } }