Concurrency::graphics Namespace

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

namespace graphics;

Members

Namespaces

Name

Description

Concurrency::graphics::direct3d Namespace

Provides get_texture Function and make_texture Function.

Typedefs

Name

Description

uint

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

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.

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.

Functions

Name

Description

copy Function

Overloaded. Copies the contents of the source texture into the destination host buffer.

copy_async Function

Overloaded. Asynchronously copies the contents of the source texture into the destination host buffer.

Requirements

Header: amp_graphics.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)