Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
İki 'float' değerinden oluşan kısa bir vektör temsil eder.
Sözdizimi
class float_2;
Members
Genel Tür Tanımları
| İsim | Açıklama |
|---|---|
value_type |
Ortak Oluşturucular
| İsim | Açıklama |
|---|---|
| float_2 Oluşturucu | Aşırı yüklü. Varsayılan oluşturucu, 0 ile tüm öğeleri başlatır. |
Genel Yöntemler
| İsim | Açıklama |
|---|---|
| float_2::get_x | |
| float_2::get_xy | |
| float_2::get_y | |
| float_2::get_yx | |
| float_2::ref_g | |
| float_2::ref_r | |
| float_2::ref_x | |
| float_2::ref_y | |
| float_2::set_x | |
| float_2::set_xy | |
| float_2::set_y | |
| float_2::set_yx |
Ortak İşleçler
| İsim | Açıklama |
|---|---|
| float_2::operator- | |
| float_2::operator-- | |
| float_2::operator*= | |
| float_2::operator/= | |
| float_2::operator++ | |
| float_2::operator+= | |
| float_2::operator= | |
| float_2::operator-= |
Genel Sabitler
| İsim | Açıklama |
|---|---|
| boyut Sabiti |
Ortak Veri Üyeleri
| İsim | Açıklama |
|---|---|
| float_2::g | |
| float_2::gr | |
| float_2::r | |
| float_2::rg | |
| float_2::x | |
| float_2::xy | |
| float_2::y | |
| float_2::yx |
Devralma Hiyerarşisi
float_2
Gereksinimler
Üst bilgi: amp_short_vectors.h
Ad Alanı: Concurrency::graphics
float_2
Varsayılan oluşturucu, 0 ile tüm öğeleri başlatır.
float_2() restrict(amp,
cpu);
float_2(
float _V0,
float _V1) restrict(amp,
cpu);
float_2(
float _V) restrict(amp,
cpu);
float_2(
const float_2& _Other) restrict(amp,
cpu);
explicit inline float_2(
const uint_2& _Other) restrict(amp,
cpu);
explicit inline float_2(
const int_2& _Other) restrict(amp,
cpu);
explicit inline float_2(
const unorm_2& _Other) restrict(amp,
cpu);
explicit inline float_2(
const norm_2& _Other) restrict(amp,
cpu);
explicit inline float_2(
const double_2& _Other) restrict(amp,
cpu);
Parametreler
_V0
0 öğesini başlatacak değer.
_V1
1. öğeyi başlatacak değer.
_V
Başlatma değeri.
_Diğer
Başlatmak için kullanılan nesne.
boyut
static const int size = 2;