Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Concurrency::graphics Namespace

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

namespace graphics;  

Namespaces

NameDescription
Concurrency::graphics::direct3d NamespaceProvides functions for Direct3D interop.

Typedefs

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

Enumerations

NameDescription
address_mode EnumerationSpecifies address modes supported for texture sampling.
filter_mode EnumerationSpecifies filter modes supported for texture sampling.

Classes

NameDescription
texture ClassA 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 ClassA writeonly_texture_view provides writeonly access to a texture.
double_2 ClassRepresents a short vector of 2 double values.
double_3 ClassRepresents a short vector of 3 double values.
double_4 ClassRepresents a short vector of 4 double values.
float_2 ClassRepresents a short vector of 2 float values.
float_3 ClassRepresents a short vector of 3 float values.
float_4 ClassRepresents a short vector of 4 float values.
int_2 ClassRepresents a short vector of 2 int values.
int_3 ClassRepresents a short vector of 3 int values.
int_4 ClassRepresents a short vector of 4 int values.
norm_2 ClassRepresents a short vector of 2 norm values.
norm_3 ClassRepresents a short vector of 3 norm values.
norm_4 ClassRepresents a short vector of 4 norm values.
uint_2 ClassRepresents a short vector of 2 uint values.
uint_3 ClassRepresents a short vector of 3 uint values.
uint_4 ClassRepresents a short vector of 4 uint values.
unorm_2 ClassRepresents a short vector of 2 unorm values.
unorm_3 ClassRepresents a short vector of 3 unorm values.
unorm_4 ClassRepresents a short vector of 4 unorm values.
sampler ClassRepresents the sampler configuration used for texture sampling.
short_vector StructureProvides a basic implementation of a short vector of values.
short_vector_traits StructureProvides for retrieval of the length and type of a short vector.
texture_view ClassProvides read access and write access to a texture.

Functions

NameDescription
copy FunctionOverloaded. Copies the contents of the source texture into the destination host buffer.
copy_async FunctionOverloaded. Asynchronously copies the contents of the source texture into the destination host buffer.

Header: amp_graphics.h

Namespace: Concurrency

Concurrency Namespace (C++ AMP)

Show:
© 2017 Microsoft