void SetSamplerState(unsigned stage, HALIDirect3DTexture9* d3dtex, D3DTEXTUREFILTERTYPE filter = D3DTEXF_POINT, D3DTEXTUREADDRESS address = D3DTADDRESS_CLAMP);
SetSamplerState applies a sampler state settings for a given texture stage.
Parameters |
Description |
unsigned stage |
The stage to apply the states to. |
HALIDirect3DTexture9* d3dtex |
D3D9 texture. |
D3DTEXTUREFILTERTYPE filter = D3DTEXF_POINT |
The texture filtering type (applied to all of min/mag/mip). |
D3DTEXTUREADDRESS address = D3DTADDRESS_CLAMP |
The texture addressing type (applied to U/V). |