Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
The D3DX (D3DX 9, D3DX 10, and D3DX 11) utility library is deprecated for Windows 8 and is not supported for Windows Store apps.
Note
Instead of using this function, we recommend that you use the DirectXTex library, GenerateMipMaps and GenerateMipMaps3D.
Generates mipmap chain using a particular texture filter.
HRESULT D3DX11FilterTexture(
ID3D11DeviceContext *pContext,
ID3D11Resource *pTexture,
UINT SrcLevel,
UINT MipFilter
);
pContext
Type: ID3D11DeviceContext*
A pointer to an ID3D11DeviceContext object.
pTexture
Type: ID3D11Resource*
The texture object to be filtered. See ID3D11Resource.
SrcLevel
Type: UINT
The mipmap level whose data is used to generate the rest of the mipmap chain.
MipFilter
Type: UINT
Flags controlling how each miplevel is filtered (or D3DX11_DEFAULT for D3DX11_FILTER_LINEAR). See D3DX11_FILTER_FLAG.
Type: HRESULT
The return value is one of the values listed in Direct3D 11 Return Codes.
Requirement | Value |
---|---|
Header |
|
Library |
|
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now