CONST_D3DCAPSRASTER
The CONST_D3DCAPSRASTER enumeration defines rasterization capability flags that are combined and present in the lRasterCaps member of the D3DPRIMCAPS type.
Enum CONST_D3DCAPSRASTER
D3DPRASTERCAPS_ANISOTROPY = 131072
D3DPRASTERCAPS_ANTIALIASEDGES = 4096
D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT = 1024
D3DPRASTERCAPS_DITHER= 1
D3DPRASTERCAPS_FOGRANGE = 65536
D3DPRASTERCAPS_FOGTABLE = 256
D3DPRASTERCAPS_FOGVERTEX = 128
D3DPRASTERCAPS_MIPMAPLODBIAS = 8192
D3DPRASTERCAPS_PAT = 8
D3DPRASTERCAPS_ROP2 = 2
D3DPRASTERCAPS_STIPPLE = 512
D3DPRASTERCAPS_SUBPIXEL= 32
D3DPRASTERCAPS_SUBPIXELX = 64
D3DPRASTERCAPS_XOR = 4
D3DPRASTERCAPS_ZBIAS = 16384
D3DPRASTERCAPS_ZBUFFERLESSHSR = 32768
D3DPRASTERCAPS_ZTEST = 16
End Enum
- D3DPRASTERCAPS_ANISOTROPY
- The device supports anisotropic filtering.
- D3DPRASTERCAPS_ANTIALIASEDGES
- The device can antialias lines forming the convex outline of objects.
- D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT
- The device supports antialiasing that is dependent on the sort order of the polygons (back-to-front or front-to-back). The application must draw polygons in the right order for antialiasing to occur. For more information, see the CONST_D3DANTIALIASMODE enumeration.
- D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT
- The device supports antialiasing that is not dependent on the sort order of the polygons. For more information, see the CONST_D3DANTIALIASMODE enumeration.
- D3DPRASTERCAPS_DITHER
- The device can dither to improve color resolution.
- D3DPRASTERCAPS_FOGRANGE
- The device supports range-based fog. In range-based fog, the distance of an object from the viewer is used to compute fog effects, not the depth of the object (that is, the z-coordinate) in the scene. For more information, see Range-based Fog.
- D3DPRASTERCAPS_FOGTABLE
- The device calculates the fog value by referring to a lookup table containing fog values that are indexed to the depth of a given pixel.
- D3DPRASTERCAPS_FOGVERTEX
- The device calculates the fog value during the lighting operation, places the value into the alpha component given for the specular member of the D3DTLVERTEX type, and interpolates the fog value during rasterization.
- D3DPRASTERCAPS_MIPMAPLODBIAS
- The device supports level-of-detail (LOD) bias adjustments. These bias adjustments enable an application to make a mipmap appear crisper or less sharp than it normally would. For more information about LOD bias in mipmaps, see D3DTSS_MIPMAPLODBIAS.
- D3DPRASTERCAPS_PAT
- The driver can perform patterned drawing for the primitive being queried.
- D3DPRASTERCAPS_ROP2
- The device can support raster operations other than R2_COPYPEN.
- D3DPRASTERCAPS_STIPPLE
- The device can stipple polygons to simulate translucency.
- D3DPRASTERCAPS_SUBPIXEL
- The device performs subpixel placement of z, color, and texture data, rather than working with the nearest integer pixel coordinate. This helps avoid bleed-through due to z imprecision, and jitter of color and texture values for pixels. Note that there is no corresponding state that can be enabled and disabled; the device either performs subpixel placement or it does not, and this bit is present only so that the Direct3D client will be better able to determine what the rendering quality will be.
- D3DPRASTERCAPS_SUBPIXELX
- The device is subpixel accurate along the x-axis only and is clamped to an integer y-axis scan line.
- D3DPRASTERCAPS_WBUFFER
- The device supports depth buffering using w. For more information, see Depth Buffers.
- D3DPRASTERCAPS_WFOG
- The device supports w-based fog. W-based fog is used when a perspective projection matrix is specified, but affine projections will still use z-based fog. The system considers a projection matrix that contains a nonzero value in the [3][4] element to be a perspective projection matrix.
- D3DPRASTERCAPS_XOR
- The device can support XOR GDI raster operations. If this flag is not set but D3DPRIM_RASTER_ROP2 is set, then XOR operations must still be supported.
- D3DPRASTERCAPS_ZBIAS
- The device supports z-bias values. These are integer values assigned to polygons that allow physically coplanar polygons to appear separate. For more information, see D3DRENDERSTATE_ZBIAS in the CONST_D3DRENDERSTATETYPE enumeration.
- D3DPRASTERCAPS_ZBUFFERLESSHSR
- The device can perform hidden-surface removal (HSR) without requiring the application to sort polygons, and without requiring the allocation of a depth-buffer. This leaves more video memory for textures. The method used to perform hidden-surface removal is hardware-dependent and is transparent to the application.
Z-bufferless HSR is performed if no depth-buffer surface is attached to the rendering-target surface and the depth-buffer comparison test is enabled (that is, when the state value associated with the D3DRENDERSTATE_ZENABLE enumeration constant is set to True).
- D3DPRASTERCAPS_ZTEST
- The device can perform z-test operations. This effectively renders a primitive and indicates whether any z pixels would have been rendered.