Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The graphics namespace provides types and functions that are designed for graphics programming.
namespace graphics;
Members
Namespaces
Name |
Description |
---|---|
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 |
---|---|
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. |
|
A writeonly_texture_view provides writeonly access to a texture. |
|
Represents a short vector of 2 double values. |
|
Represents a short vector of 3 double values. |
|
Represents a short vector of 4 double values. |
|
Represents a short vector of 2 float values. |
|
Represents a short vector of 3 float values. |
|
Represents a short vector of 4 float values. |
|
Represents a short vector of 2 int values. |
|
Represents a short vector of 3 int values. |
|
Represents a short vector of 4 int values. |
|
Represents a short vector of 2 norm values. |
|
Represents a short vector of 3 norm values. |
|
Represents a short vector of 4 norm values. |
|
Represents a short vector of 2 uint values. |
|
Represents a short vector of 3 uint values. |
|
Represents a short vector of 4 uint values. |
|
Represents a short vector of 2 unorm values. |
|
Represents a short vector of 3 unorm values. |
|
Represents a short vector of 4 unorm values. |
|
Provides a basic implementation of a short vector of values. |
|
Provides for retrieval of the length and type of a short vector. |
Functions
Name |
Description |
---|---|
Overloaded. Copies the contents of the source texture into the destination host buffer. |
|
Overloaded. Asynchronously copies the contents of the source texture into the destination host buffer. |
Requirements
Header: amp_graphics.h
Namespace: Concurrency