DirectX SDK |
Primitives that have no textures are rendered with the color specified by their material, or with the colors specified for the vertices, if any. The method used to fill them can be selected with the D3DFILLMODE enumerated type. See D3DRENDERSTATE_FILLMODE.
If you want your application to enable dithering, it must pass the D3DRENDERSTATE_DITHERENABLE enumerated value as the first parameter to IDirect3DDevice7::SetRenderState. It must set the second parameter to TRUE to enable dithering, and FALSE to disable it.
At times, drawing the last pixel in a line can cause unsightly overlap with surrounding primitives. This can be controlled using the D3DRENDERSTATE_LASTPIXEL enumerated value. However, this setting should not be altered without some forethought. Under some conditions, suppressing the rendering of the last pixel can cause unsightly gaps between primitives.
By default, Direct3D devices use a solid outline for primitives. The outline pattern can be changed using the D3DLINEPATTERN structure. See D3DRENDERSTATE_LINEPATTERN.
Note The legacy render states D3DRENDERSTATE_ROP2, D3DRENDERSTATE_STIPPLEENABLE, and D3DRENDERSTATE_STIPPLEPATTERN00 through D3DRENDERSTATE_STIPPLEPATTERN31 are obsolete with the release of DirectX 7.0.
Primitives that have no textures are rendered with the color specified by their material, or with the colors specified for the vertices, if any. The method used to fill them can be selected with the CONST_D3DFILLMODE enumerated type. See D3DRENDERSTATE_FILLMODE.
If you want your application to enable dithering, it must pass the D3DRENDERSTATE_DITHERENABLE enumerated value as the first parameter to Direct3DDevice7.SetRenderState. It must set the second parameter to True to enable dithering, and False to disable it.
At times, drawing the last pixel in a line can cause unsightly overlap with surrounding primitives. This can be controlled using the D3DRENDERSTATE_LASTPIXEL enumerated value. However, this setting should not be altered without some forethought. Under some conditions, suppressing the rendering of the last pixel can cause unsightly gaps between primitives.
DirectX for Visual Basic does not support the D3DRENDERSTATE_LINEPATTERN render state.