Udostępnij za pośrednictwem


texture::texture — Konstruktor

Inicjuje nowe wystąpienie klasy texture.

texture(
   const Concurrency::extent<_Rank>& _Ext
) restrict(cpu);

texture(
   int _E0
) restrict(cpu);

texture(
   int _E0,
   int _E1
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   const Concurrency::extent<_Rank>& _Ext,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   int _E2,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   const Concurrency::extent<_Rank>& _Ext,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

template<
   typename _Input_iterator
>
texture(
   int _E0,
   int _E1,
   int _E2,
   _Input_iterator_Src_first,
   _Input_iterator_Src_last,
   const Concurrency::accelerator_view& _Av
) restrict(cpu))  ;


texture(
   int _E0,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
)  ;

texture(
   int _E0,
   int _E1,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element
) restrict(cpu);

texture(
   const Concurrency::extent<_Rank>& _Ext,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
)  ;

texture(
   int _E0,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);

texture(
   int _E0,
   int _E1,
   int _E2,
   _In_ void * _Source,
   unsigned int _Src_byte_size,
   unsigned int _Bits_per_scalar_element,
   const Concurrency::accelerator_view& _Av
) restrict(cpu);


texture(
   const texture & _Src,
   const Concurrency::accelerator_view & _Acc_view
);

texture(
   texture && _Other
); 

texture(
   const Concurrency::extent<_Rank>& _Ext, 
   unsigned int _Bits_per_scalar_element, 
   const Concurrency::accelerator_view& _Av
); 

texture(
   const texture & _Src
);

Parametry

  • _Acc_view
    Obiekt accelerator_view, który określa lokalizację tekstury.

  • _Av
    Obiekt accelerator_view, który określa lokalizację tekstury.

  • _Associated_av
    Accelerator_view określa preferowany cel kopiowania do lub z tej tekstury.

  • _Bits_per_scalar_element
    Liczba bitów na kanał w podstawowym odpowiadającym teksturze typie skalarnym.Ogólnie rzecz biorąc obsługiwana wartość to 8, 16, 32 i 64.Jeżeli określono wartość 0, liczba bitów jest taka sama jak w podstawowym typie skalarnym. 64 jest prawidłowe tylko dla tekstur opartych na podwójnych.

  • _Ext
    Zakres w każdym wymiarze tekstury.

  • _E0
    Najbardziej znaczący składnik tekstury.

  • _E1
    Drugi najważniejszy składnik tekstury.

  • _E2
    Najmniej znaczący składnik zakresu tekstury.

  • _Input_iterator
    Typ iteratora wejściowego.

  • _Mipmap_levels
    Liczba poziomów mipmappingu w podstawowej teksturze.Jeśli określono wartość 0, tekstura będzie miała pełną gamę poziomów mipmapy, aż do możliwie jak najmniejszego rozmiaru dla podanego zakresu.

  • _Rank
    Ranga zakresu.

  • _Source
    Wskaźnik do buforu hosta.

  • _Src
    Aby teksturować do kopii.

  • _Src_byte_size
    Liczba bajtów w buforze źródłowym.

  • _Src_first
    Początkowy iterator do kontenera źródłowego.

  • _Src_last
    Końcowy iterator do kontenera źródłowego.

  • _Other
    Inne źródło danych.

  • _Rank
    Ranga sekcji.

Wymagania

Nagłówek: amp_graphics.h

Przestrzeń nazw: Concurrency::graphics

Zobacz też

Informacje

texture — Klasa