Example #1
0
 public static double2 double2(half2 v)
 {
     return(new double2(v));
 }
Example #2
0
 public static uint2 hashwide(half2 v)
 {
     return((uint2(v.x.value, v.y.value) * uint2(0xEBD0D005u, 0x91475DF7u)) + 0x55E84827u);
 }
Example #3
0
 public double2(half2 v)
 {
     this.x = v.x;
     this.y = v.y;
 }
Example #4
0
 public static half2 half2(half2 xy)
 {
     return(new half2(xy));
 }
Example #5
0
 public static uint hash(half2 v)
 {
     return(csum(uint2(v.x.value, v.y.value) * uint2(0x6E624EB7u, 0x7383ED49u)) + 0xDD49C23Bu);
 }
Example #6
0
 public static float2 float2(half2 v)
 {
     return(new float2(v));
 }
Example #7
0
 public DebuggerProxy(half2 v)
 {
     x = v.x;
     y = v.y;
 }
Example #8
0
 public float2(half2 v)
 {
     this.x = v.x;
     this.y = v.y;
 }
Example #9
0
 public half3(half2 xy, half z)
 {
     this.x = xy.x;
     this.y = xy.y;
     this.z = z;
 }
Example #10
0
 public half3(half x, half2 yz)
 {
     this.x = x;
     this.y = yz.x;
     this.z = yz.y;
 }
Example #11
0
 public static half3 half3(half2 xy, half z)
 {
     return(new half3(xy, z));
 }
Example #12
0
 public static half3 half3(half x, half2 yz)
 {
     return(new half3(x, yz));
 }