Rediger

Del via


Concurrency::graphics Namespace

The graphics namespace provides types and functions that are designed for graphics programming.

Syntax

namespace graphics;

Members

Namespaces

Name Description
Concurrency::graphics::direct3d Namespace Provides functions for Direct3D interop.

Typedefs

Name Description
uint The element type for uint_2 Class, uint_3 Class, and uint_4 Class. Defined as typedef unsigned int uint;.

Enumerations

Name Description
address_mode Enumeration. Specifies address modes supported for texture sampling.
filter_mode Enumeration Specifies filter modes supported for texture sampling.

Classes

Name Description
texture Class A texture is a data aggregate on an accelerator_view in the extent domain. It is a collection of variables, one for each element in an extent domain. Each variable holds a value corresponding to C++ primitive type (unsigned int, int, float, double), or scalar type norm, or unorm (defined in concurrency::graphics), or eligible short vector types defined in concurrency::graphics.
writeonly_texture_view Class A writeonly_texture_view provides writeonly access to a texture.
double_2 Class Represents a short vector of 2 double values.
double_3 Class Represents a short vector of 3 double values.
double_4 Class Represents a short vector of 4 double values.
float_2 Class Represents a short vector of 2 float values.
float_3 Class Represents a short vector of 3 float values.
float_4 Class Represents a short vector of 4 float values.
int_2 Class Represents a short vector of 2 int values.
int_3 Class Represents a short vector of 3 int values.
int_4 Class Represents a short vector of 4 int values.
norm_2 Class Represents a short vector of 2 norm values.
norm_3 Class Represents a short vector of 3 norm values.
norm_4 Class Represents a short vector of 4 norm values.
uint_2 Class Represents a short vector of 2 uint values.
uint_3 Class Represents a short vector of 3 uint values.
uint_4 Class Represents a short vector of 4 uint values.
unorm_2 Class Represents a short vector of 2 unorm values.
unorm_3 Class Represents a short vector of 3 unorm values.
unorm_4 Class Represents a short vector of 4 unorm values.
sampler Class Represents the sampler configuration used for texture sampling.
short_vector Structure Provides a basic implementation of a short vector of values.
short_vector_traits Structure Provides for retrieval of the length and type of a short vector.
texture_view Class Provides read access and write access to a texture.

Functions

Name Description
copy Overloaded. Copies the contents of the source texture into the destination host buffer.
copy_async Overloaded. Asynchronously copies the contents of the source texture into the destination host buffer.

Requirements

Header: amp_graphics.h

Namespace: Concurrency

See also

Concurrency Namespace (C++ AMP)