Texture Borders

The texture border color state has been superseded by the D3DTSS_BORDERCOLOR texture stage state supported by the IDirect3DDevice3::SetTextureStageState method. If your application uses IDirect3DDevice3 interface, you should use SetTextureStageState to change the border color for each texture stage.

Applications that still use the legacy IDirect3DDevice2 interface can work with texture border colors as before. In this case, set or retrieve the texture border color textures by passing the D3DRENDERSTATE_BORDERCOLOR enumerated value as the first parameter to IDirect3DDevice2::SetRenderState. The second parameter is the RGBA border color.

For more information, see About the Border Color Texture Address Mode.