sampler 类

采样器类聚合用于纹理采样的配置信息。

class sampler;

成员

公共构造函数

名称

描述

sampler::sampler 构造函数

已重载。 构造采样器实例。

公共方法

名称

描述

sampler::get_address_mode 方法

返回与采样器对象关联的 address_mode

sampler::get_border_color 方法

返回与采样器对象关联的边框颜色。

sampler::get_filter_mode 方法

返回与采样器对象关联的 filter_mode

公共运算符

名称

描述

sampler::operator= 运算符

已重载。 赋值运算符。

公共数据成员

名称

描述

sampler::address_mode 数据成员

获取 sampler 对象的寻址模式。

sampler::border_color 数据成员

获取 sampler 对象的边框颜色。

sampler::filter_mode 数据成员

获取 sampler 对象的筛选模式。

继承层次结构

sampler

要求

**标头:**amp_graphics.h

**命名空间:**concurrency::graphics

请参见

参考

Concurrency::graphics 命名空间