Platform SDK: DirectX

Texture Borders

[Visual Basic]

Note  Information in this topic pertains only to applications written in C++. DirectX for Visual Basic requires applications to set texture border behavior by setting the D3DTSS_BORDERCOLOR texture stage state with the Direct3DDevice7.SetTextureStageState method.

[C++]

The D3DRENDERSTATE_BORDERCOLOR render state is obsolete, superseded by the D3DTSS_BORDERCOLOR texture stage state supported by the IDirect3DDevice7::SetTextureStageState method. For more information, see About the Border Color Texture Address Mode.

Note  The D3DRENDERSTATE_BORDERCOLOR render state is not recognized by the IDirect3DDevice7 interface. Attempts to use this render state with the IDirect3DDevice7 interface will fail.