Funzioni dello spazio dei nomi Concurrency::graphics
Funzione copy (spazio dei nomi Concurrency::graphics)
Copia una trama di origine in un buffer di destinazione o copia un buffer di origine in un buffer di destinazione. La forma generale di questa funzione è copy(src, dest)
.
template <
typename _Src_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture, void>::type>
>
void copy (
const _Src_type& _Src,
_Out_ void* _Dst,
unsigned int _Dst_byte_size);
template <
typename _Src_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture, void>::type
>
void copy(
const _Src_type& _Src,
const index<_Src_type::rank>& _Src_offset,
const extent<_Src_type::rank>& _Copy_extent,
_Out_ void* _Dst,
unsigned int _Dst_byte_size);
template <
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
void copy(
const void* _Src,
unsigned int _Src_byte_size, _Dst_type& _Dst);
template <
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
void copy(
const void* _Src,
unsigned int _Src_byte_size,
_Dst_type& _Dst,
const index<_Dst_type::rank>& _Dst_offset,
const extent<_Dst_type::rank>& _Copy_extent);
template <
typename InputIterator,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
void copy(InputIterator first, InputIterator last, _Dst_type& _Dst);
template <
typename InputIterator,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>void copy(InputIterator first, InputIterator last, _Dst_type& _Dst,
const index<_Dst_type::rank>& _Dst_offset,
const extent<_Dst_type::rank>& _Copy_extent);
template <
typename _Src_type,
typename OutputIterator,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& !details::texture_traits<OutputIterator>::is_texture, void>::type
>
void copy(
const _Src_type& _Src, OutputIterator _Dst);
template <
typename _Src_type,
typename OutputIterator,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& !details::texture_traits<OutputIterator>::is_texture, void>::type
>
void copy (
const _Src_type& _Src,
const index<_Src_type::rank>& _Src_offset,
const extent<_Src_type::rank>& _Copy_extent, OutputIterator _Dst);
template <
typename _Src_type,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& details::texture_traits<_Dst_type>::is_texture, void>::type
>
void copy (
const _Src_type& _Src, _Dst_type& _Dst);
template <
typename _Src_type,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& details::texture_traits<_Dst_type>::is_texture,
void>::type
>
void copy (
const _Src_type& _Src,
const index<_Src_type::rank>& _Src_offset, _Dst_type& _Dst,
const index<_Dst_type::rank>& _Dst_offset,
const extent<_Src_type::rank>& _Copy_extent);
Parametri
_Copy_extent
Extent della sezione trama da copiare.
_Dst
Oggetto in cui copiare.
_Dst_byte_size
Numero di byte nella destinazione.
_Dst_type
Tipo dell'oggetto di destinazione.
_Dst_offset
Offset nella destinazione in cui iniziare la copia.
InputIterator
Tipo di iteratore di input.
OutputIterator
Tipo dell'iteratore di output.
_Src
Oggetto da copiare.
_Src_byte_size
Numero di byte nell'origine.
_Src_type
Tipo dell'oggetto di origine.
_Src_offset
Offset nell'origine da cui iniziare la copia.
first
Iteratore iniziale nel contenitore di origine.
last
Iteratore finale nel contenitore di origine.
Funzione copy_async (spazio dei nomi Concurrency::graphics)
Copia in modo asincrono una trama di origine in un buffer di destinazione o copia un buffer di origine in un buffer di destinazione e quindi restituisce un oggetto completion_future in attesa. I dati non possono essere copiati quando il codice è in esecuzione su un acceleratore. La forma generale di questa funzione è copy(src, dest)
.
template<
typename _Src_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(
const _Src_type& _Src,
_Out_ void* _Dst,
unsigned int _Dst_byte_size);
template<
typename _Src_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(
const _Src_type& _Src,
const index<_Src_type::rank>& _Src_offset,
const extent<_Src_type::rank>& _Copy_extent,
_Out_ void* _Dst,
unsigned int _Dst_byte_size);
template <
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(
const void* _Src,
unsigned int _Src_byte_size, _Dst_type& _Dst);
template <
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(
const void* _Src,
unsigned int _Src_byte_size, _Dst_type& _Dst,
const index<_Dst_type::rank>& _Dst_offset,
const extent<_Dst_type::rank>& _Copy_extent);
template <
typename InputIterator,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(InputIterator first, InputIterator last, _Dst_type& _Dst);
template <
typename InputIterator,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Dst_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(InputIterator first, InputIterator last, _Dst_type& _Dst,
const index<_Dst_type::rank>& _Dst_offset,
const extent<_Dst_type::rank>& _Copy_extent);
template <
typename _Src_type,
typename OutputIterator,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& !details::texture_traits<OutputIterator>::is_texture, void>::type
>
concurrency::completion_future copy_async(_Src_type& _Src, OutputIterator _Dst);
template <
typename _Src_type,
typename OutputIterator,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& !details::texture_traits<OutputIterator>::is_texture, void>::type
>
concurrency::completion_future copy_async(_Src_type& _Src,
const index<_Src_type::rank>& _Src_offset,
const extent<_Src_type::rank>& _Copy_extent,
OutputIterator _Dst);
template <
typename _Src_type,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& details::texture_traits<_Dst_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(_Src_type& _Src, _Dst_type& _Dst);
template <
typename _Src_type,
typename _Dst_type,
typename = typename std::enable_if<details::texture_traits<_Src_type>::is_texture&& details::texture_traits<_Dst_type>::is_texture, void>::type
>
concurrency::completion_future copy_async(_Src_type& _Src,
const index<_Src_type::rank>& _Src_offset, _Dst_type &_Dst,
const index<_Dst_type::rank>& _Dst_offset,
const extent<_Src_type::rank>& _Copy_extent);
Parametri
_Copy_extent
Extent della sezione trama da copiare.
_Dst
Oggetto in cui copiare.
_Dst_byte_size
Numero di byte nella destinazione.
_Dst_type
Tipo dell'oggetto di destinazione.
_Dst_offset
Offset nella destinazione in cui iniziare la copia.
InputIterator
Tipo di iteratore di input.
OutputIterator
Tipo dell'iteratore di output.
_Src
Oggetto da copiare.
_Src_byte_size
Numero di byte nell'origine.
_Src_type
Tipo dell'oggetto di origine.
_Src_offset
Offset nell'origine da cui iniziare la copia.
first
Iteratore iniziale nel contenitore di origine.
last
Iteratore finale nel contenitore di origine.
Requisiti
Intestazione: amp_graphics.h
Spazio dei nomi: Concurrency::graphics