STLdoc
STLdocumentation
|
#include <amp_graphics.h>
Public Types | |
typedef _Value_type | value_type |
typedef _Short_vector_type_traits< _Value_type >::_Scalar_type | scalar_type |
Public Member Functions | |
__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 |
Static Public Attributes | |
static const int | rank = _Rank |
Protected Types | |
typedef Concurrency::details::_Texture_descriptor | _Texture_descriptor |
Protected Member Functions | |
_Texture_base () __CPU_ONLY | |
_Texture_base (const Concurrency::extent< _Rank > &_Ext, unsigned int _Mipmap_levels=1) __CPU_ONLY | |
_Texture_base (const _Texture_base &_Src) __GPU | |
_Texture_base (const _Texture_base &_Src, unsigned int _Most_detailed_mipmap_level, unsigned int _View_mipmap_levels) __CPU_ONLY | |
_Texture_base (const _Texture_base &_Src, bool _Flatten_mipmap_levels) __GPU_ONLY | |
_Texture_base (const Concurrency::extent< _Rank > &_Ext, const _Texture_descriptor &_Desc) __CPU_ONLY | |
void | _Copy_to (const _Texture_base &_Dest) const __CPU_ONLY |
bool | operator== (const _Texture_base &_Other) const __CPU_ONLY |
~_Texture_base () __GPU | |
_Ret_ _Texture * | _Get_texture () const __CPU_ONLY |
unsigned int | _Get_most_detailed_mipmap_level () const __GPU |
bool | _Are_mipmap_levels_overlapping (const _Texture_base &_Other) const __CPU_ONLY |
Protected Attributes | |
Concurrency::extent< _Rank > | _M_extent |
_Texture_descriptor | _M_texture_descriptor |
Friends | |
template<typename _T > | |
const _Texture_descriptor & | Concurrency::details::_Get_texture_descriptor (const _T &_Tex) __GPU |
template<typename _T > | |
_Ret_ _Texture * | Concurrency::details::_Get_texture (const _T &_Tex) __CPU_ONLY |
template<typename _Value_type , int _Rank> | |
_Event | _Copy_async_impl (const _Texture_base< _Value_type, _Rank > &_Src, const index< _Rank > &_Src_offset, const _Texture_base< _Value_type, _Rank > &_Dst, const index< _Rank > &_Dst_offset, const extent< _Rank > &_Copy_extent) __CPU_ONLY |
|
protected |
typedef _Short_vector_type_traits<_Value_type>::_Scalar_type Concurrency::graphics::details::_Texture_base< _Value_type, _Rank >::scalar_type |
typedef _Value_type Concurrency::graphics::details::_Texture_base< _Value_type, _Rank >::value_type |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Concurrency::graphics::details::_Texture_base< _Value_type, _Rank >::__declspec | ( | property(get=get_bits_per_scalar_element) | ) |
Returns the number of bits per scalar element
Concurrency::graphics::details::_Texture_base< _Value_type, _Rank >::__declspec | ( | property(get=get_mipmap_levels) | ) |
Query how many mipmap levels are accessible by this texture (or texture view).
Concurrency::graphics::details::_Texture_base< _Value_type, _Rank >::__declspec | ( | property(get=get_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).
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Returns the accelerator_view where this texture or texture view is located.
|
inline |
|
inline |
|
inline |
Returns the extent that defines the shape of this texture or texture view.
|
inline |
Returns the extent for specific mipmap level of this texture or texture view.
Mipmap level for which extent should be calculated.
|
inline |
Returns the extent for specific mipmap level of this texture or texture view.
Mipmap level for which extent should be calculated.
|
inline |
|
inlineprotected |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
static |