共用方式為


filter_mode Enumeration

Enumeration type use to denote filter modes supported for texture sampling.

enum filter_mode;

Members

Values

Name

Description

filter_linear

Yields the weighted average of the nearest texels.

filter_point

Chooses the nearest texel to the specified coordinates.

filter_unknown

Not exposed by the C++ AMP API. It represents a filter mode that's adopted from, and created through, the underlying platform. After it is created, you can adopt it in your C++ AMP code through the platform’s interop APIs.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

Concurrency::graphics Namespace