Partager via


sampler Class

The sampler class aggregates sampling configuration information to be used for texture sampling.

class sampler;

Members

Public Constructors

Name

Description

sampler::sampler Constructor

Overloaded. Constructs a sampler instance.

Public Methods

Name

Description

sampler::get_address_mode Method

Returns the address_mode that’s associated with the sampler object.

sampler::get_border_color Method

Returns the border color that’s associated with the sampler object.

sampler::get_filter_mode Method

Returns the filter_mode that’s associated with the sampler object.

Public Operators

Name

Description

sampler::operator= Operator

Overloaded. Assignment operator.

Public Data Members

Name

Description

sampler::address_mode Data Member

Gets the address mode of the sampler object.

sampler::border_color Data Member

Gets the border color of the sampler object.

sampler::filter_mode Data Member

Gets the filter mode of the sampler object.

Inheritance Hierarchy

sampler

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

Concurrency::graphics Namespace