Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3DX10FilterTexture function

Generates mipmap chain using a particular texture filter.

Syntax


HRESULT D3DX10FilterTexture(
   ID3D10Resource *pTexture,
   UINT           SrcLevel,
   UINT           MipFilter
);

Parameters

pTexture

Type: ID3D10Resource*

The texture object to be filtered. See ID3D10Resource.

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 D3DX10_DEFAULT for D3DX10_FILTER_BOX). See D3DX10_FILTER_FLAG.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 10 Return Codes.

Requirements

Header

D3DX10Tex.h

See also

Texture Functions in D3DX 10

 

 

Show:
© 2017 Microsoft