STLdoc
STLdocumentation
|
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. More...
#include <amp_graphics.h>
Public Member Functions | |
texture (const Concurrency::extent< _Rank > &_Ext) __CPU_ONLY | |
Construct a texture from extents. More... | |
texture (int _E0) __CPU_ONLY | |
Construct texture<T,1> with the extent _E0 More... | |
texture (int _E0, int _E1) __CPU_ONLY | |
Construct a texture<T,2> from two integer extents. More... | |
texture (int _E0, int _E1, int _E2) __CPU_ONLY | |
Construct a texture<T,3> from three integer extents. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture from extents, bound to a specific accelerator_view. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture from extents, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,1> with the extent _E0, bound to a specific accelerator_view. More... | |
texture (int _E0, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,1> with the extent _E0, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, int _E1, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,2> from two integer extents, bound to a specific accelerator_view. More... | |
texture (int _E0, int _E1, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,2> from two integer extents, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, int _E1, int _E2, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,3> from three integer extents, bound to a specific accelerator_view. More... | |
texture (int _E0, int _E1, int _E2, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,3> from three integer extents, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
template<typename _Input_iterator > | |
texture (const Concurrency::extent< _Rank > &_Ext, _Input_iterator _Src_first, _Input_iterator _Src_last) __CPU_ONLY | |
Construct a texture initialized from a pair of iterators into a container. More... | |
template<typename _Input_iterator > | |
texture (int _E0, _Input_iterator _Src_first, _Input_iterator _Src_last) __CPU_ONLY | |
Construct a texture<T,1> with the extent _E0 and from a pair of iterators into a container. More... | |
template<typename _Input_iterator > | |
texture (int _E0, int _E1, _Input_iterator _Src_first, _Input_iterator _Src_last) __CPU_ONLY | |
Construct a texture<T,2> with two integers and initialized from a pair of iterators into a container. More... | |
template<typename _Input_iterator > | |
texture (int _E0, int _E1, int _E2, _Input_iterator _Src_first, _Input_iterator _Src_last) __CPU_ONLY | |
Construct a texture<T,3> with three integers and initialized from a pair of iterators into a container. More... | |
template<typename _Input_iterator > | |
texture (const Concurrency::extent< _Rank > &_Ext, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture initialized from a pair of iterators into a container, bound to a specific accelerator_view. More... | |
template<typename _Input_iterator > | |
texture (const Concurrency::extent< _Rank > &_Ext, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
template<typename _Input_iterator > | |
texture (int _E0, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,1> with integer _E0 and initialized from a pair of iterators into a container, bound to a specific accelerator_view. More... | |
template<typename _Input_iterator > | |
texture (int _E0, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,1> with integer _E0 and initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
template<typename _Input_iterator > | |
texture (int _E0, int _E1, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,2> with two integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view. More... | |
template<typename _Input_iterator > | |
texture (int _E0, int _E1, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,2> with two integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
template<typename _Input_iterator > | |
texture (int _E0, int _E1, int _E2, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,3> with three integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view. More... | |
template<typename _Input_iterator > | |
texture (int _E0, int _E1, int _E2, _Input_iterator _Src_first, _Input_iterator _Src_last, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,3> with three integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture from extents and specified bits per scalar element More... | |
texture (const Concurrency::extent< _Rank > &_Ext, unsigned int _Bits_per_scalar_element, unsigned int _Mipmap_levels) __CPU_ONLY | |
Construct a texture from extents, specified bits per scalar element and number of mipmap levels More... | |
texture (int _E0, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture<T,1> with integer _E0 and specified bits per scalar element More... | |
texture (int _E0, int _E1, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture<T,2> with two integers and specified bits per scalar element More... | |
texture (int _E0, int _E1, int _E2, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture<T,3> with three integers and specified bits per scalar element More... | |
texture (const Concurrency::extent< _Rank > &_Ext, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture from extents and specified bits per scalar element, bound to a specific accelerator_view. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, unsigned int _Bits_per_scalar_element, unsigned int _Mipmap_levels, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture from extents, specified bits per scalar element and number of mipmap levels More... | |
texture (const Concurrency::extent< _Rank > &_Ext, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture from extents and specified bits per scalar element, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T, 1> with integer _E0 and specified bits per scalar element, bound to a specific accelerator. More... | |
texture (int _E0, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T, 1> with integer _E0 and specified bits per scalar element, bound to a specific accelerator and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, int _E1, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,2> with two integers and specified bits per scalar element, bound to a specific accelerator. More... | |
texture (int _E0, int _E1, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,2> with two integers and specified bits per scalar element, bound to a specific accelerator and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, int _E1, int _E2, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T,3> with three integers and specified bits per scalar element, bound to a specific accelerator. More... | |
texture (int _E0, int _E1, int _E2, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T,3> with three integers and specified bits per scalar element, bound to a specific accelerator and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture from extents and specified bits per scalar element, initialized from a host buffer. More... | |
texture (int _E0, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture<T,1> with integer _E0 and specified bits per scalar element, initialized from a host buffer. More... | |
texture (int _E0, int _E1, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture<T,2> with two integers and specified bits per scalar element, initialized from a host buffer. More... | |
texture (int _E0, int _E1, int _E2, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element) __CPU_ONLY | |
Construct a texture<T,3> with three integers and specified bits per scalar element, initialized from a host buffer. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture from extents and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view. More... | |
texture (const Concurrency::extent< _Rank > &_Ext, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture from extents and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T, 1> with integer _E0 and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view. More... | |
texture (int _E0, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T, 1> with integer _E0 and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, int _E1, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T, 2> with two integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view. More... | |
texture (int _E0, int _E1, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T, 2> with two integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (int _E0, int _E1, int _E2, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av) __CPU_ONLY | |
Construct a texture<T, 3> with three integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view. More... | |
texture (int _E0, int _E1, int _E2, const void *_Source, unsigned int _Src_byte_size, unsigned int _Bits_per_scalar_element, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) __CPU_ONLY | |
Construct a staging texture<T, 3> with three integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture. More... | |
texture (const texture_view< _Value_type, _Rank > &_Src) | |
Construct a texture from a texture_view. Deep copy More... | |
texture (const texture_view< const _Value_type, _Rank > &_Src) | |
Construct a texture from a read-only texture_view. Deep copy More... | |
texture (const texture_view< _Value_type, _Rank > &_Src, const Concurrency::accelerator_view &_Acc_view) | |
Construct a texture from a texture_view on another accelerator_view. Deep copy More... | |
texture (const texture_view< const _Value_type, _Rank > &_Src, const Concurrency::accelerator_view &_Acc_view) | |
Construct a texture from a read-only texture_view on another accelerator_view. Deep copy More... | |
texture (const texture_view< _Value_type, _Rank > &_Src, const Concurrency::accelerator_view &_Acc_view, const Concurrency::accelerator_view &_Associated_av) | |
Construct a staging texture from a texture_view on another accelerator_view. Deep copy More... | |
texture (const texture_view< const _Value_type, _Rank > &_Src, const Concurrency::accelerator_view &_Acc_view, const Concurrency::accelerator_view &_Associated_av) | |
Construct a staging texture from a read-only texture_view on another accelerator_view. Deep copy More... | |
texture (const texture &_Src) | |
Copy constructor. Deep copy More... | |
texture (texture &&_Other) | |
Move constructor More... | |
texture (const texture &_Src, const Concurrency::accelerator_view &_Av) | |
Copy constructor. Deep copy More... | |
texture (const texture &_Src, const Concurrency::accelerator_view &_Av, const Concurrency::accelerator_view &_Associated_av) | |
Copy constructor. Deep copy More... | |
texture & | operator= (const texture &_Other) |
Copy assignment operator. Deep copy More... | |
texture & | operator= (texture< _Value_type, _Rank > &&_Other) |
Move assignment operator More... | |
void | copy_to (texture &_Dest) const |
Copy-to, deep copy More... | |
void | copy_to (const writeonly_texture_view< _Value_type, _Rank > &_Dest) const |
Copy-to, deep copy More... | |
~texture () __CPU_ONLY | |
Destructor More... | |
const value_type | operator[] (const index< _Rank > &_Index) const __GPU_ONLY |
Get the element value indexed by _Index. More... | |
const value_type | operator[] (int _I0) const __GPU_ONLY |
Get the element value indexed by _I. More... | |
const value_type | operator() (const index< _Rank > &_Index) const __GPU_ONLY |
Get the element value indexed by _Index. More... | |
const value_type | operator() (int _I0) const __GPU_ONLY |
Get the element value indexed by _I0 More... | |
const value_type | operator() (int _I0, int _I1) const __GPU_ONLY |
Get the element value indexed by (_I0,_I1) More... | |
const value_type | operator() (int _I0, int _I1, int _I2) const __GPU_ONLY |
Get the element value indexed by (_I0,_I1,_I2) More... | |
const value_type | get (const index< _Rank > &_Index) const __GPU_ONLY |
Get the element value indexed by _Index. More... | |
void | set (const index< _Rank > &_Index, const value_type &_Value) __GPU_ONLY |
Set the element indexed by _Index with value _Value. More... | |
_Ret_ void * | data () __CPU_ONLY |
Returns a CPU pointer to the raw data of this texture. More... | |
const void * | data () const __CPU_ONLY |
Returns a CPU pointer to the raw data of this texture. More... | |
__declspec (property(get=get_row_pitch)) unsigned int row_pitch | |
Returns the row pitch (in bytes) of a 2D or 3D staging texture on the CPU to be used for navigating the staging texture from row to row on the CPU. More... | |
unsigned int | get_row_pitch () const __CPU_ONLY |
__declspec (property(get=get_depth_pitch)) unsigned int depth_pitch | |
Returns the depth pitch (in bytes) of a 3D staging texture on the CPU to be used for navigating the staging texture from depth slice to depth slice on the CPU. More... | |
unsigned int | get_depth_pitch () const __CPU_ONLY |
__declspec(property(get=get_associated_accelerator_view)) Concurrency Concurrency::accelerator_view | get_associated_accelerator_view () const __CPU_ONLY |
Returns the accelerator_view that is the preferred target where this texture can be copied. More... | |
Public Member Functions inherited from Concurrency::graphics::details::_Texture_base< _Value_type, _Rank > | |
__declspec(property(get=get_extent)) Concurrency Concurrency::extent< _Rank > | get_extent () const __GPU |
Returns the extent that defines the shape of this texture or texture view. More... | |
Concurrency::extent< _Rank > | get_mipmap_extent (unsigned int _Mipmap_level) const __CPU_ONLY |
Returns the extent for specific mipmap level of this texture or texture view. More... | |
Concurrency::extent< _Rank > | get_mipmap_extent (unsigned int _Mipmap_level) const __GPU_ONLY |
Returns the extent for specific mipmap level of this texture or texture view. More... | |
__declspec(property(get=get_accelerator_view)) Concurrency Concurrency::accelerator_view | get_accelerator_view () const __CPU_ONLY |
Returns the accelerator_view where this texture or texture view is located. More... | |
__declspec (property(get=get_bits_per_scalar_element)) unsigned int bits_per_scalar_element | |
Returns the number of bits per scalar element More... | |
unsigned int | get_bits_per_scalar_element () const __CPU_ONLY |
__declspec (property(get=get_mipmap_levels)) unsigned int mipmap_levels | |
Query how many mipmap levels are accessible by this texture (or texture view). More... | |
unsigned int | get_mipmap_levels () const __GPU |
__declspec (property(get=get_data_length)) unsigned int data_length | |
Returns the physical data length (in bytes) that is required in order to represent the texture on the host side with its native format. If the texture contains multiple mipmap levels the value represents the sum of physical data length for each accessible mipmap level by this texture (or texture view). More... | |
unsigned int | get_data_length () const __CPU_ONLY |
Friends | |
template<typename _Value_type , int _Rank> | |
texture< _Value_type, _Rank > | direct3d::make_texture (const Concurrency::accelerator_view &_Av, _In_ IUnknown *_D3D_texture, DXGI_FORMAT _View_format) __CPU_ONLY |
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.
_Value_type | The type of the elements in the texture aggregates. |
_Rank | The _Rank of the corresponding extent domain. |
|
inline |
Construct a texture from extents.
_Extent | An extent that describes the shape of the texture. |
|
inline |
Construct texture<T,1> with the extent _E0
_E0 | An integer that is the length of this texture (width). |
|
inline |
Construct a texture<T,2> from two integer extents.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
|
inline |
Construct a texture<T,3> from three integer extents.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
|
inline |
Construct a texture from extents, bound to a specific accelerator_view.
_Extent | An extent that describes the shape of the texture. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture from extents, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_Ext | An extent that describes the shape of the texture. |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,1> with the extent _E0, bound to a specific accelerator_view.
_E0 | An integer that is the length of this texture (width). |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,1> with the extent _E0, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of this texture (width). |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,2> from two integer extents, bound to a specific accelerator_view.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,2> from two integer extents, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,3> from three integer extents, bound to a specific accelerator_view.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,3> from three integer extents, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture initialized from a pair of iterators into a container.
_Ext | An extent that describes the shape of the texture. |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
|
inline |
Construct a texture<T,1> with the extent _E0 and from a pair of iterators into a container.
_E0 | An integer that is the length of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
|
inline |
Construct a texture<T,2> with two integers and initialized from a pair of iterators into a container.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
|
inline |
Construct a texture<T,3> with three integers and initialized from a pair of iterators into a container.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
|
inline |
Construct a texture initialized from a pair of iterators into a container, bound to a specific accelerator_view.
_Ext | An extent that describes the shape of the texture. |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_Ext | An extent that describes the shape of the texture. |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,1> with integer _E0 and initialized from a pair of iterators into a container, bound to a specific accelerator_view.
_E0 | An integer that is the length of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,1> with integer _E0 and initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,2> with two integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,2> with two integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,3> with three integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,3> with three integers and initialized from a pair of iterators into a container, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Src_last | An ending iterator into the source container. |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture from extents and specified bits per scalar element
_Ext | An extent that describes the shape of the texture. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture from extents, specified bits per scalar element and number of mipmap levels
_Ext | An extent that describes the shape of the texture. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Mipmap_levels | Number of mipmap levels in the underlying texture. If 0 is specified, the texture will have full range of mipmap levels down to smallest possible size for the given extent. |
|
inline |
Construct a texture<T,1> with integer _E0 and specified bits per scalar element
_E0 | An integer that is the length of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture<T,2> with two integers and specified bits per scalar element
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture<T,3> with three integers and specified bits per scalar element
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the next-to-most-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Src_first | A beginning iterator into the source container. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture from extents and specified bits per scalar element, bound to a specific accelerator_view.
_Ext | An extent that describes the shape of the texture. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a texture from extents, specified bits per scalar element and number of mipmap levels
_Ext | An extent that describes the shape of the texture. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Mipmap_levels | Number of mipmap levels in the underlying texture. If 0 is specified, the texture will have full range of mipmap levels down to smallest possible size for the given extent. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture from extents and specified bits per scalar element, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_Ext | An extent that describes the shape of the texture. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T, 1> with integer _E0 and specified bits per scalar element, bound to a specific accelerator.
_E0 | An integer that is the length of the most-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T, 1> with integer _E0 and specified bits per scalar element, bound to a specific accelerator and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,2> with two integers and specified bits per scalar element, bound to a specific accelerator.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,2> with two integers and specified bits per scalar element, bound to a specific accelerator and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T,3> with three integers and specified bits per scalar element, bound to a specific accelerator.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the least-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T,3> with three integers and specified bits per scalar element, bound to a specific accelerator and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the least-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture from extents and specified bits per scalar element, initialized from a host buffer.
_Ext | An extent that describes the shape of the texture. |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture<T,1> with integer _E0 and specified bits per scalar element, initialized from a host buffer.
_E0 | An integer that is the length of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture<T,2> with two integers and specified bits per scalar element, initialized from a host buffer.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture<T,3> with three integers and specified bits per scalar element, initialized from a host buffer.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the least-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
|
inline |
Construct a texture from extents and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view.
_Ext | An extent that describes the shape of the texture. |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture from extents and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_Ext | An extent that describes the shape of the texture. |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T, 1> with integer _E0 and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view.
_E0 | An integer that is the length of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T, 1> with integer _E0 and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T, 2> with two integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T, 2> with two integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (height). |
_E1 | An integer that is the length of the least-significant dimension of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture<T, 3> with three integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the least-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture<T, 3> with three integers and specified bits per scalar element, initialized from a host buffer, bound to a specific accelerator_view and an associated accelerator_view that is the preferred location for copying to/from this texture.
_E0 | An integer that is the length of the most-significant dimension of this texture (depth). |
_E1 | An integer that is the length of the least-significant dimension of this texture (height). |
_E2 | An integer that is the length of the least-significant dimension of this texture (width). |
_Source | A pointer to a host buffer. |
_Source_byte_size | Number of bytes in the source buffer. |
_Bits_per_scalar_element | Number of bits per each scalar element in the underlying scalar type of the texture. In general, supported value is 8, 16, 32, 64. If 0 is specified, the number of bits picks defaulted value for the underlying scalar_type. 64 is only valid for double based textures |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a texture from a texture_view. Deep copy
_Src | The texture_view to copy from. |
|
inline |
Construct a texture from a read-only texture_view. Deep copy
_Src | The read-only texture_view to copy from. |
|
inline |
Construct a texture from a texture_view on another accelerator_view. Deep copy
_Src | The texture_view to copy from. |
_Acc_view | An accelerator_view where this texture resides. |
|
inline |
Construct a texture from a read-only texture_view on another accelerator_view. Deep copy
_Src | The read-only texture_view to copy from. |
_Acc_view | An accelerator_view where this texture resides. |
|
inline |
Construct a staging texture from a texture_view on another accelerator_view. Deep copy
_Src | The texture_view to copy from. |
_Acc_view | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Construct a staging texture from a read-only texture_view on another accelerator_view. Deep copy
_Src | The read-only texture_view to copy from. |
_Acc_view | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
Copy constructor. Deep copy
_Src | The texture to copy from. |
|
inline |
|
inline |
Copy constructor. Deep copy
_Src | The texture to copy from. |
_Av | An accelerator_view where this texture resides. |
|
inline |
Copy constructor. Deep copy
_Src | The texture to copy from. |
_Av | An accelerator_view where this texture resides. |
_Associated_av | An accelerator_view which specifies the preferred target location for copies to/from the texture. |
|
inline |
|
inlineprivate |
Concurrency::graphics::texture< _Value_type, _Rank >::__declspec | ( | property(get=get_row_pitch) | ) |
Returns the row pitch (in bytes) of a 2D or 3D staging texture on the CPU to be used for navigating the staging texture from row to row on the CPU.
Concurrency::graphics::texture< _Value_type, _Rank >::__declspec | ( | property(get=get_depth_pitch) | ) |
Returns the depth pitch (in bytes) of a 3D staging texture on the CPU to be used for navigating the staging texture from depth slice to depth slice on the CPU.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
Copy-to, deep copy
_Dest | The destination texture to copy to. |
|
inline |
Copy-to, deep copy
_Dest | The destination writeonly_texture_view to copy to. |
|
inline |
Returns a CPU pointer to the raw data of this texture.
|
inline |
Returns a CPU pointer to the raw data of this texture.
|
inline |
|
inline |
Returns the accelerator_view that is the preferred target where this texture can be copied.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the element value indexed by (_I0,_I1)
_I0 | The most-significant component of the index |
_I1 | The least-significant component of the index |
|
inline |
Get the element value indexed by (_I0,_I1,_I2)
_I0 | The most-significant component of the index |
_I1 | The next-to-most-significant component of the index |
_I2 | The least-significant component of the index |
|
inline |
Copy assignment operator. Deep copy
_Src | The texture to copy from. |
|
inline |
Move assignment operator
_Other | The source texture to move from. |
|
inline |
Get the element value indexed by _Index.
_Index | The index. |
|
inline |
|
inline |
Set the element indexed by _Index with value _Value.
_Index | The index. |
_Value | The value to be set to the element indexed by _Index. |
|
friend |