half4.gen.cs 107 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. using System;
  10. using System.Runtime.CompilerServices;
  11. using System.Diagnostics;
  12. #pragma warning disable 0660, 0661
  13. namespace Unity.Mathematics
  14. {
  15. [DebuggerTypeProxy(typeof(half4.DebuggerProxy))]
  16. public partial struct half4 : System.IEquatable<half4>, IFormattable
  17. {
  18. public half x;
  19. public half y;
  20. public half z;
  21. public half w;
  22. /// <summary>half4 zero value.</summary>
  23. public static readonly half4 zero;
  24. /// <summary>Constructs a half4 vector from four half values.</summary>
  25. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  26. public half4(half x, half y, half z, half w)
  27. {
  28. this.x = x;
  29. this.y = y;
  30. this.z = z;
  31. this.w = w;
  32. }
  33. /// <summary>Constructs a half4 vector from two half values and a half2 vector.</summary>
  34. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  35. public half4(half x, half y, half2 zw)
  36. {
  37. this.x = x;
  38. this.y = y;
  39. this.z = zw.x;
  40. this.w = zw.y;
  41. }
  42. /// <summary>Constructs a half4 vector from a half value, a half2 vector and a half value.</summary>
  43. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  44. public half4(half x, half2 yz, half w)
  45. {
  46. this.x = x;
  47. this.y = yz.x;
  48. this.z = yz.y;
  49. this.w = w;
  50. }
  51. /// <summary>Constructs a half4 vector from a half value and a half3 vector.</summary>
  52. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  53. public half4(half x, half3 yzw)
  54. {
  55. this.x = x;
  56. this.y = yzw.x;
  57. this.z = yzw.y;
  58. this.w = yzw.z;
  59. }
  60. /// <summary>Constructs a half4 vector from a half2 vector and two half values.</summary>
  61. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  62. public half4(half2 xy, half z, half w)
  63. {
  64. this.x = xy.x;
  65. this.y = xy.y;
  66. this.z = z;
  67. this.w = w;
  68. }
  69. /// <summary>Constructs a half4 vector from two half2 vectors.</summary>
  70. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  71. public half4(half2 xy, half2 zw)
  72. {
  73. this.x = xy.x;
  74. this.y = xy.y;
  75. this.z = zw.x;
  76. this.w = zw.y;
  77. }
  78. /// <summary>Constructs a half4 vector from a half3 vector and a half value.</summary>
  79. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  80. public half4(half3 xyz, half w)
  81. {
  82. this.x = xyz.x;
  83. this.y = xyz.y;
  84. this.z = xyz.z;
  85. this.w = w;
  86. }
  87. /// <summary>Constructs a half4 vector from a half4 vector.</summary>
  88. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  89. public half4(half4 xyzw)
  90. {
  91. this.x = xyzw.x;
  92. this.y = xyzw.y;
  93. this.z = xyzw.z;
  94. this.w = xyzw.w;
  95. }
  96. /// <summary>Constructs a half4 vector from a single half value by assigning it to every component.</summary>
  97. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  98. public half4(half v)
  99. {
  100. this.x = v;
  101. this.y = v;
  102. this.z = v;
  103. this.w = v;
  104. }
  105. /// <summary>Constructs a half4 vector from a single float value by converting it to half and assigning it to every component.</summary>
  106. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  107. public half4(float v)
  108. {
  109. this.x = (half)v;
  110. this.y = (half)v;
  111. this.z = (half)v;
  112. this.w = (half)v;
  113. }
  114. /// <summary>Constructs a half4 vector from a float4 vector by componentwise conversion.</summary>
  115. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  116. public half4(float4 v)
  117. {
  118. this.x = (half)v.x;
  119. this.y = (half)v.y;
  120. this.z = (half)v.z;
  121. this.w = (half)v.w;
  122. }
  123. /// <summary>Constructs a half4 vector from a single double value by converting it to half and assigning it to every component.</summary>
  124. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  125. public half4(double v)
  126. {
  127. this.x = (half)v;
  128. this.y = (half)v;
  129. this.z = (half)v;
  130. this.w = (half)v;
  131. }
  132. /// <summary>Constructs a half4 vector from a double4 vector by componentwise conversion.</summary>
  133. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  134. public half4(double4 v)
  135. {
  136. this.x = (half)v.x;
  137. this.y = (half)v.y;
  138. this.z = (half)v.z;
  139. this.w = (half)v.w;
  140. }
  141. /// <summary>Implicitly converts a single half value to a half4 vector by assigning it to every component.</summary>
  142. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  143. public static implicit operator half4(half v) { return new half4(v); }
  144. /// <summary>Explicitly converts a single float value to a half4 vector by converting it to half and assigning it to every component.</summary>
  145. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  146. public static explicit operator half4(float v) { return new half4(v); }
  147. /// <summary>Explicitly converts a float4 vector to a half4 vector by componentwise conversion.</summary>
  148. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  149. public static explicit operator half4(float4 v) { return new half4(v); }
  150. /// <summary>Explicitly converts a single double value to a half4 vector by converting it to half and assigning it to every component.</summary>
  151. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  152. public static explicit operator half4(double v) { return new half4(v); }
  153. /// <summary>Explicitly converts a double4 vector to a half4 vector by componentwise conversion.</summary>
  154. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  155. public static explicit operator half4(double4 v) { return new half4(v); }
  156. /// <summary>Returns the result of a componentwise equality operation on two half4 vectors.</summary>
  157. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  158. public static bool4 operator == (half4 lhs, half4 rhs) { return new bool4 (lhs.x == rhs.x, lhs.y == rhs.y, lhs.z == rhs.z, lhs.w == rhs.w); }
  159. /// <summary>Returns the result of a componentwise equality operation on a half4 vector and a half value.</summary>
  160. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  161. public static bool4 operator == (half4 lhs, half rhs) { return new bool4 (lhs.x == rhs, lhs.y == rhs, lhs.z == rhs, lhs.w == rhs); }
  162. /// <summary>Returns the result of a componentwise equality operation on a half value and a half4 vector.</summary>
  163. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  164. public static bool4 operator == (half lhs, half4 rhs) { return new bool4 (lhs == rhs.x, lhs == rhs.y, lhs == rhs.z, lhs == rhs.w); }
  165. /// <summary>Returns the result of a componentwise not equal operation on two half4 vectors.</summary>
  166. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  167. public static bool4 operator != (half4 lhs, half4 rhs) { return new bool4 (lhs.x != rhs.x, lhs.y != rhs.y, lhs.z != rhs.z, lhs.w != rhs.w); }
  168. /// <summary>Returns the result of a componentwise not equal operation on a half4 vector and a half value.</summary>
  169. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  170. public static bool4 operator != (half4 lhs, half rhs) { return new bool4 (lhs.x != rhs, lhs.y != rhs, lhs.z != rhs, lhs.w != rhs); }
  171. /// <summary>Returns the result of a componentwise not equal operation on a half value and a half4 vector.</summary>
  172. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  173. public static bool4 operator != (half lhs, half4 rhs) { return new bool4 (lhs != rhs.x, lhs != rhs.y, lhs != rhs.z, lhs != rhs.w); }
  174. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  175. public half4 xxxx
  176. {
  177. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  178. get { return new half4(x, x, x, x); }
  179. }
  180. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  181. public half4 xxxy
  182. {
  183. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  184. get { return new half4(x, x, x, y); }
  185. }
  186. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  187. public half4 xxxz
  188. {
  189. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  190. get { return new half4(x, x, x, z); }
  191. }
  192. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  193. public half4 xxxw
  194. {
  195. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  196. get { return new half4(x, x, x, w); }
  197. }
  198. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  199. public half4 xxyx
  200. {
  201. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  202. get { return new half4(x, x, y, x); }
  203. }
  204. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  205. public half4 xxyy
  206. {
  207. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  208. get { return new half4(x, x, y, y); }
  209. }
  210. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  211. public half4 xxyz
  212. {
  213. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  214. get { return new half4(x, x, y, z); }
  215. }
  216. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  217. public half4 xxyw
  218. {
  219. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  220. get { return new half4(x, x, y, w); }
  221. }
  222. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  223. public half4 xxzx
  224. {
  225. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  226. get { return new half4(x, x, z, x); }
  227. }
  228. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  229. public half4 xxzy
  230. {
  231. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  232. get { return new half4(x, x, z, y); }
  233. }
  234. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  235. public half4 xxzz
  236. {
  237. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  238. get { return new half4(x, x, z, z); }
  239. }
  240. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  241. public half4 xxzw
  242. {
  243. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  244. get { return new half4(x, x, z, w); }
  245. }
  246. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  247. public half4 xxwx
  248. {
  249. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  250. get { return new half4(x, x, w, x); }
  251. }
  252. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  253. public half4 xxwy
  254. {
  255. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  256. get { return new half4(x, x, w, y); }
  257. }
  258. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  259. public half4 xxwz
  260. {
  261. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  262. get { return new half4(x, x, w, z); }
  263. }
  264. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  265. public half4 xxww
  266. {
  267. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  268. get { return new half4(x, x, w, w); }
  269. }
  270. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  271. public half4 xyxx
  272. {
  273. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  274. get { return new half4(x, y, x, x); }
  275. }
  276. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  277. public half4 xyxy
  278. {
  279. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  280. get { return new half4(x, y, x, y); }
  281. }
  282. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  283. public half4 xyxz
  284. {
  285. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  286. get { return new half4(x, y, x, z); }
  287. }
  288. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  289. public half4 xyxw
  290. {
  291. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  292. get { return new half4(x, y, x, w); }
  293. }
  294. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  295. public half4 xyyx
  296. {
  297. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  298. get { return new half4(x, y, y, x); }
  299. }
  300. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  301. public half4 xyyy
  302. {
  303. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  304. get { return new half4(x, y, y, y); }
  305. }
  306. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  307. public half4 xyyz
  308. {
  309. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  310. get { return new half4(x, y, y, z); }
  311. }
  312. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  313. public half4 xyyw
  314. {
  315. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  316. get { return new half4(x, y, y, w); }
  317. }
  318. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  319. public half4 xyzx
  320. {
  321. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  322. get { return new half4(x, y, z, x); }
  323. }
  324. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  325. public half4 xyzy
  326. {
  327. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  328. get { return new half4(x, y, z, y); }
  329. }
  330. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  331. public half4 xyzz
  332. {
  333. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  334. get { return new half4(x, y, z, z); }
  335. }
  336. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  337. public half4 xyzw
  338. {
  339. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  340. get { return new half4(x, y, z, w); }
  341. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  342. set { x = value.x; y = value.y; z = value.z; w = value.w; }
  343. }
  344. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  345. public half4 xywx
  346. {
  347. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  348. get { return new half4(x, y, w, x); }
  349. }
  350. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  351. public half4 xywy
  352. {
  353. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  354. get { return new half4(x, y, w, y); }
  355. }
  356. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  357. public half4 xywz
  358. {
  359. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  360. get { return new half4(x, y, w, z); }
  361. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  362. set { x = value.x; y = value.y; w = value.z; z = value.w; }
  363. }
  364. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  365. public half4 xyww
  366. {
  367. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  368. get { return new half4(x, y, w, w); }
  369. }
  370. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  371. public half4 xzxx
  372. {
  373. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  374. get { return new half4(x, z, x, x); }
  375. }
  376. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  377. public half4 xzxy
  378. {
  379. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  380. get { return new half4(x, z, x, y); }
  381. }
  382. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  383. public half4 xzxz
  384. {
  385. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  386. get { return new half4(x, z, x, z); }
  387. }
  388. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  389. public half4 xzxw
  390. {
  391. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  392. get { return new half4(x, z, x, w); }
  393. }
  394. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  395. public half4 xzyx
  396. {
  397. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  398. get { return new half4(x, z, y, x); }
  399. }
  400. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  401. public half4 xzyy
  402. {
  403. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  404. get { return new half4(x, z, y, y); }
  405. }
  406. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  407. public half4 xzyz
  408. {
  409. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  410. get { return new half4(x, z, y, z); }
  411. }
  412. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  413. public half4 xzyw
  414. {
  415. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  416. get { return new half4(x, z, y, w); }
  417. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  418. set { x = value.x; z = value.y; y = value.z; w = value.w; }
  419. }
  420. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  421. public half4 xzzx
  422. {
  423. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  424. get { return new half4(x, z, z, x); }
  425. }
  426. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  427. public half4 xzzy
  428. {
  429. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  430. get { return new half4(x, z, z, y); }
  431. }
  432. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  433. public half4 xzzz
  434. {
  435. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  436. get { return new half4(x, z, z, z); }
  437. }
  438. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  439. public half4 xzzw
  440. {
  441. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  442. get { return new half4(x, z, z, w); }
  443. }
  444. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  445. public half4 xzwx
  446. {
  447. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  448. get { return new half4(x, z, w, x); }
  449. }
  450. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  451. public half4 xzwy
  452. {
  453. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  454. get { return new half4(x, z, w, y); }
  455. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  456. set { x = value.x; z = value.y; w = value.z; y = value.w; }
  457. }
  458. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  459. public half4 xzwz
  460. {
  461. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  462. get { return new half4(x, z, w, z); }
  463. }
  464. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  465. public half4 xzww
  466. {
  467. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  468. get { return new half4(x, z, w, w); }
  469. }
  470. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  471. public half4 xwxx
  472. {
  473. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  474. get { return new half4(x, w, x, x); }
  475. }
  476. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  477. public half4 xwxy
  478. {
  479. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  480. get { return new half4(x, w, x, y); }
  481. }
  482. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  483. public half4 xwxz
  484. {
  485. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  486. get { return new half4(x, w, x, z); }
  487. }
  488. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  489. public half4 xwxw
  490. {
  491. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  492. get { return new half4(x, w, x, w); }
  493. }
  494. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  495. public half4 xwyx
  496. {
  497. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  498. get { return new half4(x, w, y, x); }
  499. }
  500. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  501. public half4 xwyy
  502. {
  503. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  504. get { return new half4(x, w, y, y); }
  505. }
  506. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  507. public half4 xwyz
  508. {
  509. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  510. get { return new half4(x, w, y, z); }
  511. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  512. set { x = value.x; w = value.y; y = value.z; z = value.w; }
  513. }
  514. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  515. public half4 xwyw
  516. {
  517. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  518. get { return new half4(x, w, y, w); }
  519. }
  520. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  521. public half4 xwzx
  522. {
  523. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  524. get { return new half4(x, w, z, x); }
  525. }
  526. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  527. public half4 xwzy
  528. {
  529. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  530. get { return new half4(x, w, z, y); }
  531. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  532. set { x = value.x; w = value.y; z = value.z; y = value.w; }
  533. }
  534. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  535. public half4 xwzz
  536. {
  537. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  538. get { return new half4(x, w, z, z); }
  539. }
  540. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  541. public half4 xwzw
  542. {
  543. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  544. get { return new half4(x, w, z, w); }
  545. }
  546. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  547. public half4 xwwx
  548. {
  549. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  550. get { return new half4(x, w, w, x); }
  551. }
  552. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  553. public half4 xwwy
  554. {
  555. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  556. get { return new half4(x, w, w, y); }
  557. }
  558. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  559. public half4 xwwz
  560. {
  561. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  562. get { return new half4(x, w, w, z); }
  563. }
  564. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  565. public half4 xwww
  566. {
  567. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  568. get { return new half4(x, w, w, w); }
  569. }
  570. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  571. public half4 yxxx
  572. {
  573. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  574. get { return new half4(y, x, x, x); }
  575. }
  576. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  577. public half4 yxxy
  578. {
  579. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  580. get { return new half4(y, x, x, y); }
  581. }
  582. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  583. public half4 yxxz
  584. {
  585. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  586. get { return new half4(y, x, x, z); }
  587. }
  588. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  589. public half4 yxxw
  590. {
  591. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  592. get { return new half4(y, x, x, w); }
  593. }
  594. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  595. public half4 yxyx
  596. {
  597. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  598. get { return new half4(y, x, y, x); }
  599. }
  600. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  601. public half4 yxyy
  602. {
  603. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  604. get { return new half4(y, x, y, y); }
  605. }
  606. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  607. public half4 yxyz
  608. {
  609. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  610. get { return new half4(y, x, y, z); }
  611. }
  612. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  613. public half4 yxyw
  614. {
  615. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  616. get { return new half4(y, x, y, w); }
  617. }
  618. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  619. public half4 yxzx
  620. {
  621. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  622. get { return new half4(y, x, z, x); }
  623. }
  624. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  625. public half4 yxzy
  626. {
  627. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  628. get { return new half4(y, x, z, y); }
  629. }
  630. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  631. public half4 yxzz
  632. {
  633. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  634. get { return new half4(y, x, z, z); }
  635. }
  636. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  637. public half4 yxzw
  638. {
  639. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  640. get { return new half4(y, x, z, w); }
  641. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  642. set { y = value.x; x = value.y; z = value.z; w = value.w; }
  643. }
  644. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  645. public half4 yxwx
  646. {
  647. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  648. get { return new half4(y, x, w, x); }
  649. }
  650. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  651. public half4 yxwy
  652. {
  653. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  654. get { return new half4(y, x, w, y); }
  655. }
  656. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  657. public half4 yxwz
  658. {
  659. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  660. get { return new half4(y, x, w, z); }
  661. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  662. set { y = value.x; x = value.y; w = value.z; z = value.w; }
  663. }
  664. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  665. public half4 yxww
  666. {
  667. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  668. get { return new half4(y, x, w, w); }
  669. }
  670. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  671. public half4 yyxx
  672. {
  673. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  674. get { return new half4(y, y, x, x); }
  675. }
  676. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  677. public half4 yyxy
  678. {
  679. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  680. get { return new half4(y, y, x, y); }
  681. }
  682. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  683. public half4 yyxz
  684. {
  685. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  686. get { return new half4(y, y, x, z); }
  687. }
  688. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  689. public half4 yyxw
  690. {
  691. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  692. get { return new half4(y, y, x, w); }
  693. }
  694. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  695. public half4 yyyx
  696. {
  697. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  698. get { return new half4(y, y, y, x); }
  699. }
  700. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  701. public half4 yyyy
  702. {
  703. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  704. get { return new half4(y, y, y, y); }
  705. }
  706. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  707. public half4 yyyz
  708. {
  709. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  710. get { return new half4(y, y, y, z); }
  711. }
  712. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  713. public half4 yyyw
  714. {
  715. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  716. get { return new half4(y, y, y, w); }
  717. }
  718. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  719. public half4 yyzx
  720. {
  721. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  722. get { return new half4(y, y, z, x); }
  723. }
  724. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  725. public half4 yyzy
  726. {
  727. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  728. get { return new half4(y, y, z, y); }
  729. }
  730. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  731. public half4 yyzz
  732. {
  733. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  734. get { return new half4(y, y, z, z); }
  735. }
  736. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  737. public half4 yyzw
  738. {
  739. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  740. get { return new half4(y, y, z, w); }
  741. }
  742. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  743. public half4 yywx
  744. {
  745. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  746. get { return new half4(y, y, w, x); }
  747. }
  748. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  749. public half4 yywy
  750. {
  751. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  752. get { return new half4(y, y, w, y); }
  753. }
  754. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  755. public half4 yywz
  756. {
  757. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  758. get { return new half4(y, y, w, z); }
  759. }
  760. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  761. public half4 yyww
  762. {
  763. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  764. get { return new half4(y, y, w, w); }
  765. }
  766. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  767. public half4 yzxx
  768. {
  769. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  770. get { return new half4(y, z, x, x); }
  771. }
  772. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  773. public half4 yzxy
  774. {
  775. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  776. get { return new half4(y, z, x, y); }
  777. }
  778. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  779. public half4 yzxz
  780. {
  781. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  782. get { return new half4(y, z, x, z); }
  783. }
  784. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  785. public half4 yzxw
  786. {
  787. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  788. get { return new half4(y, z, x, w); }
  789. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  790. set { y = value.x; z = value.y; x = value.z; w = value.w; }
  791. }
  792. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  793. public half4 yzyx
  794. {
  795. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  796. get { return new half4(y, z, y, x); }
  797. }
  798. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  799. public half4 yzyy
  800. {
  801. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  802. get { return new half4(y, z, y, y); }
  803. }
  804. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  805. public half4 yzyz
  806. {
  807. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  808. get { return new half4(y, z, y, z); }
  809. }
  810. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  811. public half4 yzyw
  812. {
  813. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  814. get { return new half4(y, z, y, w); }
  815. }
  816. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  817. public half4 yzzx
  818. {
  819. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  820. get { return new half4(y, z, z, x); }
  821. }
  822. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  823. public half4 yzzy
  824. {
  825. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  826. get { return new half4(y, z, z, y); }
  827. }
  828. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  829. public half4 yzzz
  830. {
  831. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  832. get { return new half4(y, z, z, z); }
  833. }
  834. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  835. public half4 yzzw
  836. {
  837. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  838. get { return new half4(y, z, z, w); }
  839. }
  840. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  841. public half4 yzwx
  842. {
  843. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  844. get { return new half4(y, z, w, x); }
  845. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  846. set { y = value.x; z = value.y; w = value.z; x = value.w; }
  847. }
  848. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  849. public half4 yzwy
  850. {
  851. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  852. get { return new half4(y, z, w, y); }
  853. }
  854. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  855. public half4 yzwz
  856. {
  857. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  858. get { return new half4(y, z, w, z); }
  859. }
  860. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  861. public half4 yzww
  862. {
  863. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  864. get { return new half4(y, z, w, w); }
  865. }
  866. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  867. public half4 ywxx
  868. {
  869. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  870. get { return new half4(y, w, x, x); }
  871. }
  872. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  873. public half4 ywxy
  874. {
  875. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  876. get { return new half4(y, w, x, y); }
  877. }
  878. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  879. public half4 ywxz
  880. {
  881. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  882. get { return new half4(y, w, x, z); }
  883. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  884. set { y = value.x; w = value.y; x = value.z; z = value.w; }
  885. }
  886. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  887. public half4 ywxw
  888. {
  889. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  890. get { return new half4(y, w, x, w); }
  891. }
  892. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  893. public half4 ywyx
  894. {
  895. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  896. get { return new half4(y, w, y, x); }
  897. }
  898. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  899. public half4 ywyy
  900. {
  901. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  902. get { return new half4(y, w, y, y); }
  903. }
  904. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  905. public half4 ywyz
  906. {
  907. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  908. get { return new half4(y, w, y, z); }
  909. }
  910. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  911. public half4 ywyw
  912. {
  913. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  914. get { return new half4(y, w, y, w); }
  915. }
  916. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  917. public half4 ywzx
  918. {
  919. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  920. get { return new half4(y, w, z, x); }
  921. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  922. set { y = value.x; w = value.y; z = value.z; x = value.w; }
  923. }
  924. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  925. public half4 ywzy
  926. {
  927. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  928. get { return new half4(y, w, z, y); }
  929. }
  930. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  931. public half4 ywzz
  932. {
  933. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  934. get { return new half4(y, w, z, z); }
  935. }
  936. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  937. public half4 ywzw
  938. {
  939. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  940. get { return new half4(y, w, z, w); }
  941. }
  942. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  943. public half4 ywwx
  944. {
  945. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  946. get { return new half4(y, w, w, x); }
  947. }
  948. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  949. public half4 ywwy
  950. {
  951. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  952. get { return new half4(y, w, w, y); }
  953. }
  954. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  955. public half4 ywwz
  956. {
  957. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  958. get { return new half4(y, w, w, z); }
  959. }
  960. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  961. public half4 ywww
  962. {
  963. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  964. get { return new half4(y, w, w, w); }
  965. }
  966. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  967. public half4 zxxx
  968. {
  969. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  970. get { return new half4(z, x, x, x); }
  971. }
  972. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  973. public half4 zxxy
  974. {
  975. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  976. get { return new half4(z, x, x, y); }
  977. }
  978. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  979. public half4 zxxz
  980. {
  981. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  982. get { return new half4(z, x, x, z); }
  983. }
  984. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  985. public half4 zxxw
  986. {
  987. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  988. get { return new half4(z, x, x, w); }
  989. }
  990. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  991. public half4 zxyx
  992. {
  993. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  994. get { return new half4(z, x, y, x); }
  995. }
  996. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  997. public half4 zxyy
  998. {
  999. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1000. get { return new half4(z, x, y, y); }
  1001. }
  1002. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1003. public half4 zxyz
  1004. {
  1005. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1006. get { return new half4(z, x, y, z); }
  1007. }
  1008. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1009. public half4 zxyw
  1010. {
  1011. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1012. get { return new half4(z, x, y, w); }
  1013. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1014. set { z = value.x; x = value.y; y = value.z; w = value.w; }
  1015. }
  1016. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1017. public half4 zxzx
  1018. {
  1019. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1020. get { return new half4(z, x, z, x); }
  1021. }
  1022. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1023. public half4 zxzy
  1024. {
  1025. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1026. get { return new half4(z, x, z, y); }
  1027. }
  1028. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1029. public half4 zxzz
  1030. {
  1031. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1032. get { return new half4(z, x, z, z); }
  1033. }
  1034. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1035. public half4 zxzw
  1036. {
  1037. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1038. get { return new half4(z, x, z, w); }
  1039. }
  1040. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1041. public half4 zxwx
  1042. {
  1043. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1044. get { return new half4(z, x, w, x); }
  1045. }
  1046. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1047. public half4 zxwy
  1048. {
  1049. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1050. get { return new half4(z, x, w, y); }
  1051. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1052. set { z = value.x; x = value.y; w = value.z; y = value.w; }
  1053. }
  1054. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1055. public half4 zxwz
  1056. {
  1057. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1058. get { return new half4(z, x, w, z); }
  1059. }
  1060. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1061. public half4 zxww
  1062. {
  1063. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1064. get { return new half4(z, x, w, w); }
  1065. }
  1066. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1067. public half4 zyxx
  1068. {
  1069. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1070. get { return new half4(z, y, x, x); }
  1071. }
  1072. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1073. public half4 zyxy
  1074. {
  1075. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1076. get { return new half4(z, y, x, y); }
  1077. }
  1078. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1079. public half4 zyxz
  1080. {
  1081. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1082. get { return new half4(z, y, x, z); }
  1083. }
  1084. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1085. public half4 zyxw
  1086. {
  1087. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1088. get { return new half4(z, y, x, w); }
  1089. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1090. set { z = value.x; y = value.y; x = value.z; w = value.w; }
  1091. }
  1092. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1093. public half4 zyyx
  1094. {
  1095. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1096. get { return new half4(z, y, y, x); }
  1097. }
  1098. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1099. public half4 zyyy
  1100. {
  1101. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1102. get { return new half4(z, y, y, y); }
  1103. }
  1104. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1105. public half4 zyyz
  1106. {
  1107. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1108. get { return new half4(z, y, y, z); }
  1109. }
  1110. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1111. public half4 zyyw
  1112. {
  1113. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1114. get { return new half4(z, y, y, w); }
  1115. }
  1116. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1117. public half4 zyzx
  1118. {
  1119. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1120. get { return new half4(z, y, z, x); }
  1121. }
  1122. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1123. public half4 zyzy
  1124. {
  1125. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1126. get { return new half4(z, y, z, y); }
  1127. }
  1128. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1129. public half4 zyzz
  1130. {
  1131. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1132. get { return new half4(z, y, z, z); }
  1133. }
  1134. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1135. public half4 zyzw
  1136. {
  1137. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1138. get { return new half4(z, y, z, w); }
  1139. }
  1140. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1141. public half4 zywx
  1142. {
  1143. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1144. get { return new half4(z, y, w, x); }
  1145. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1146. set { z = value.x; y = value.y; w = value.z; x = value.w; }
  1147. }
  1148. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1149. public half4 zywy
  1150. {
  1151. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1152. get { return new half4(z, y, w, y); }
  1153. }
  1154. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1155. public half4 zywz
  1156. {
  1157. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1158. get { return new half4(z, y, w, z); }
  1159. }
  1160. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1161. public half4 zyww
  1162. {
  1163. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1164. get { return new half4(z, y, w, w); }
  1165. }
  1166. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1167. public half4 zzxx
  1168. {
  1169. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1170. get { return new half4(z, z, x, x); }
  1171. }
  1172. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1173. public half4 zzxy
  1174. {
  1175. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1176. get { return new half4(z, z, x, y); }
  1177. }
  1178. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1179. public half4 zzxz
  1180. {
  1181. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1182. get { return new half4(z, z, x, z); }
  1183. }
  1184. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1185. public half4 zzxw
  1186. {
  1187. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1188. get { return new half4(z, z, x, w); }
  1189. }
  1190. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1191. public half4 zzyx
  1192. {
  1193. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1194. get { return new half4(z, z, y, x); }
  1195. }
  1196. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1197. public half4 zzyy
  1198. {
  1199. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1200. get { return new half4(z, z, y, y); }
  1201. }
  1202. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1203. public half4 zzyz
  1204. {
  1205. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1206. get { return new half4(z, z, y, z); }
  1207. }
  1208. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1209. public half4 zzyw
  1210. {
  1211. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1212. get { return new half4(z, z, y, w); }
  1213. }
  1214. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1215. public half4 zzzx
  1216. {
  1217. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1218. get { return new half4(z, z, z, x); }
  1219. }
  1220. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1221. public half4 zzzy
  1222. {
  1223. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1224. get { return new half4(z, z, z, y); }
  1225. }
  1226. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1227. public half4 zzzz
  1228. {
  1229. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1230. get { return new half4(z, z, z, z); }
  1231. }
  1232. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1233. public half4 zzzw
  1234. {
  1235. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1236. get { return new half4(z, z, z, w); }
  1237. }
  1238. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1239. public half4 zzwx
  1240. {
  1241. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1242. get { return new half4(z, z, w, x); }
  1243. }
  1244. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1245. public half4 zzwy
  1246. {
  1247. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1248. get { return new half4(z, z, w, y); }
  1249. }
  1250. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1251. public half4 zzwz
  1252. {
  1253. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1254. get { return new half4(z, z, w, z); }
  1255. }
  1256. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1257. public half4 zzww
  1258. {
  1259. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1260. get { return new half4(z, z, w, w); }
  1261. }
  1262. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1263. public half4 zwxx
  1264. {
  1265. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1266. get { return new half4(z, w, x, x); }
  1267. }
  1268. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1269. public half4 zwxy
  1270. {
  1271. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1272. get { return new half4(z, w, x, y); }
  1273. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1274. set { z = value.x; w = value.y; x = value.z; y = value.w; }
  1275. }
  1276. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1277. public half4 zwxz
  1278. {
  1279. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1280. get { return new half4(z, w, x, z); }
  1281. }
  1282. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1283. public half4 zwxw
  1284. {
  1285. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1286. get { return new half4(z, w, x, w); }
  1287. }
  1288. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1289. public half4 zwyx
  1290. {
  1291. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1292. get { return new half4(z, w, y, x); }
  1293. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1294. set { z = value.x; w = value.y; y = value.z; x = value.w; }
  1295. }
  1296. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1297. public half4 zwyy
  1298. {
  1299. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1300. get { return new half4(z, w, y, y); }
  1301. }
  1302. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1303. public half4 zwyz
  1304. {
  1305. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1306. get { return new half4(z, w, y, z); }
  1307. }
  1308. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1309. public half4 zwyw
  1310. {
  1311. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1312. get { return new half4(z, w, y, w); }
  1313. }
  1314. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1315. public half4 zwzx
  1316. {
  1317. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1318. get { return new half4(z, w, z, x); }
  1319. }
  1320. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1321. public half4 zwzy
  1322. {
  1323. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1324. get { return new half4(z, w, z, y); }
  1325. }
  1326. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1327. public half4 zwzz
  1328. {
  1329. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1330. get { return new half4(z, w, z, z); }
  1331. }
  1332. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1333. public half4 zwzw
  1334. {
  1335. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1336. get { return new half4(z, w, z, w); }
  1337. }
  1338. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1339. public half4 zwwx
  1340. {
  1341. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1342. get { return new half4(z, w, w, x); }
  1343. }
  1344. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1345. public half4 zwwy
  1346. {
  1347. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1348. get { return new half4(z, w, w, y); }
  1349. }
  1350. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1351. public half4 zwwz
  1352. {
  1353. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1354. get { return new half4(z, w, w, z); }
  1355. }
  1356. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1357. public half4 zwww
  1358. {
  1359. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1360. get { return new half4(z, w, w, w); }
  1361. }
  1362. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1363. public half4 wxxx
  1364. {
  1365. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1366. get { return new half4(w, x, x, x); }
  1367. }
  1368. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1369. public half4 wxxy
  1370. {
  1371. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1372. get { return new half4(w, x, x, y); }
  1373. }
  1374. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1375. public half4 wxxz
  1376. {
  1377. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1378. get { return new half4(w, x, x, z); }
  1379. }
  1380. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1381. public half4 wxxw
  1382. {
  1383. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1384. get { return new half4(w, x, x, w); }
  1385. }
  1386. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1387. public half4 wxyx
  1388. {
  1389. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1390. get { return new half4(w, x, y, x); }
  1391. }
  1392. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1393. public half4 wxyy
  1394. {
  1395. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1396. get { return new half4(w, x, y, y); }
  1397. }
  1398. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1399. public half4 wxyz
  1400. {
  1401. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1402. get { return new half4(w, x, y, z); }
  1403. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1404. set { w = value.x; x = value.y; y = value.z; z = value.w; }
  1405. }
  1406. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1407. public half4 wxyw
  1408. {
  1409. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1410. get { return new half4(w, x, y, w); }
  1411. }
  1412. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1413. public half4 wxzx
  1414. {
  1415. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1416. get { return new half4(w, x, z, x); }
  1417. }
  1418. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1419. public half4 wxzy
  1420. {
  1421. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1422. get { return new half4(w, x, z, y); }
  1423. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1424. set { w = value.x; x = value.y; z = value.z; y = value.w; }
  1425. }
  1426. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1427. public half4 wxzz
  1428. {
  1429. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1430. get { return new half4(w, x, z, z); }
  1431. }
  1432. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1433. public half4 wxzw
  1434. {
  1435. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1436. get { return new half4(w, x, z, w); }
  1437. }
  1438. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1439. public half4 wxwx
  1440. {
  1441. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1442. get { return new half4(w, x, w, x); }
  1443. }
  1444. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1445. public half4 wxwy
  1446. {
  1447. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1448. get { return new half4(w, x, w, y); }
  1449. }
  1450. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1451. public half4 wxwz
  1452. {
  1453. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1454. get { return new half4(w, x, w, z); }
  1455. }
  1456. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1457. public half4 wxww
  1458. {
  1459. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1460. get { return new half4(w, x, w, w); }
  1461. }
  1462. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1463. public half4 wyxx
  1464. {
  1465. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1466. get { return new half4(w, y, x, x); }
  1467. }
  1468. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1469. public half4 wyxy
  1470. {
  1471. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1472. get { return new half4(w, y, x, y); }
  1473. }
  1474. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1475. public half4 wyxz
  1476. {
  1477. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1478. get { return new half4(w, y, x, z); }
  1479. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1480. set { w = value.x; y = value.y; x = value.z; z = value.w; }
  1481. }
  1482. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1483. public half4 wyxw
  1484. {
  1485. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1486. get { return new half4(w, y, x, w); }
  1487. }
  1488. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1489. public half4 wyyx
  1490. {
  1491. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1492. get { return new half4(w, y, y, x); }
  1493. }
  1494. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1495. public half4 wyyy
  1496. {
  1497. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1498. get { return new half4(w, y, y, y); }
  1499. }
  1500. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1501. public half4 wyyz
  1502. {
  1503. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1504. get { return new half4(w, y, y, z); }
  1505. }
  1506. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1507. public half4 wyyw
  1508. {
  1509. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1510. get { return new half4(w, y, y, w); }
  1511. }
  1512. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1513. public half4 wyzx
  1514. {
  1515. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1516. get { return new half4(w, y, z, x); }
  1517. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1518. set { w = value.x; y = value.y; z = value.z; x = value.w; }
  1519. }
  1520. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1521. public half4 wyzy
  1522. {
  1523. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1524. get { return new half4(w, y, z, y); }
  1525. }
  1526. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1527. public half4 wyzz
  1528. {
  1529. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1530. get { return new half4(w, y, z, z); }
  1531. }
  1532. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1533. public half4 wyzw
  1534. {
  1535. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1536. get { return new half4(w, y, z, w); }
  1537. }
  1538. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1539. public half4 wywx
  1540. {
  1541. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1542. get { return new half4(w, y, w, x); }
  1543. }
  1544. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1545. public half4 wywy
  1546. {
  1547. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1548. get { return new half4(w, y, w, y); }
  1549. }
  1550. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1551. public half4 wywz
  1552. {
  1553. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1554. get { return new half4(w, y, w, z); }
  1555. }
  1556. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1557. public half4 wyww
  1558. {
  1559. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1560. get { return new half4(w, y, w, w); }
  1561. }
  1562. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1563. public half4 wzxx
  1564. {
  1565. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1566. get { return new half4(w, z, x, x); }
  1567. }
  1568. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1569. public half4 wzxy
  1570. {
  1571. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1572. get { return new half4(w, z, x, y); }
  1573. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1574. set { w = value.x; z = value.y; x = value.z; y = value.w; }
  1575. }
  1576. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1577. public half4 wzxz
  1578. {
  1579. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1580. get { return new half4(w, z, x, z); }
  1581. }
  1582. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1583. public half4 wzxw
  1584. {
  1585. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1586. get { return new half4(w, z, x, w); }
  1587. }
  1588. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1589. public half4 wzyx
  1590. {
  1591. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1592. get { return new half4(w, z, y, x); }
  1593. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1594. set { w = value.x; z = value.y; y = value.z; x = value.w; }
  1595. }
  1596. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1597. public half4 wzyy
  1598. {
  1599. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1600. get { return new half4(w, z, y, y); }
  1601. }
  1602. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1603. public half4 wzyz
  1604. {
  1605. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1606. get { return new half4(w, z, y, z); }
  1607. }
  1608. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1609. public half4 wzyw
  1610. {
  1611. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1612. get { return new half4(w, z, y, w); }
  1613. }
  1614. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1615. public half4 wzzx
  1616. {
  1617. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1618. get { return new half4(w, z, z, x); }
  1619. }
  1620. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1621. public half4 wzzy
  1622. {
  1623. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1624. get { return new half4(w, z, z, y); }
  1625. }
  1626. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1627. public half4 wzzz
  1628. {
  1629. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1630. get { return new half4(w, z, z, z); }
  1631. }
  1632. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1633. public half4 wzzw
  1634. {
  1635. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1636. get { return new half4(w, z, z, w); }
  1637. }
  1638. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1639. public half4 wzwx
  1640. {
  1641. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1642. get { return new half4(w, z, w, x); }
  1643. }
  1644. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1645. public half4 wzwy
  1646. {
  1647. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1648. get { return new half4(w, z, w, y); }
  1649. }
  1650. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1651. public half4 wzwz
  1652. {
  1653. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1654. get { return new half4(w, z, w, z); }
  1655. }
  1656. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1657. public half4 wzww
  1658. {
  1659. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1660. get { return new half4(w, z, w, w); }
  1661. }
  1662. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1663. public half4 wwxx
  1664. {
  1665. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1666. get { return new half4(w, w, x, x); }
  1667. }
  1668. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1669. public half4 wwxy
  1670. {
  1671. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1672. get { return new half4(w, w, x, y); }
  1673. }
  1674. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1675. public half4 wwxz
  1676. {
  1677. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1678. get { return new half4(w, w, x, z); }
  1679. }
  1680. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1681. public half4 wwxw
  1682. {
  1683. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1684. get { return new half4(w, w, x, w); }
  1685. }
  1686. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1687. public half4 wwyx
  1688. {
  1689. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1690. get { return new half4(w, w, y, x); }
  1691. }
  1692. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1693. public half4 wwyy
  1694. {
  1695. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1696. get { return new half4(w, w, y, y); }
  1697. }
  1698. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1699. public half4 wwyz
  1700. {
  1701. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1702. get { return new half4(w, w, y, z); }
  1703. }
  1704. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1705. public half4 wwyw
  1706. {
  1707. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1708. get { return new half4(w, w, y, w); }
  1709. }
  1710. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1711. public half4 wwzx
  1712. {
  1713. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1714. get { return new half4(w, w, z, x); }
  1715. }
  1716. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1717. public half4 wwzy
  1718. {
  1719. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1720. get { return new half4(w, w, z, y); }
  1721. }
  1722. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1723. public half4 wwzz
  1724. {
  1725. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1726. get { return new half4(w, w, z, z); }
  1727. }
  1728. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1729. public half4 wwzw
  1730. {
  1731. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1732. get { return new half4(w, w, z, w); }
  1733. }
  1734. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1735. public half4 wwwx
  1736. {
  1737. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1738. get { return new half4(w, w, w, x); }
  1739. }
  1740. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1741. public half4 wwwy
  1742. {
  1743. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1744. get { return new half4(w, w, w, y); }
  1745. }
  1746. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1747. public half4 wwwz
  1748. {
  1749. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1750. get { return new half4(w, w, w, z); }
  1751. }
  1752. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1753. public half4 wwww
  1754. {
  1755. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1756. get { return new half4(w, w, w, w); }
  1757. }
  1758. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1759. public half3 xxx
  1760. {
  1761. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1762. get { return new half3(x, x, x); }
  1763. }
  1764. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1765. public half3 xxy
  1766. {
  1767. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1768. get { return new half3(x, x, y); }
  1769. }
  1770. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1771. public half3 xxz
  1772. {
  1773. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1774. get { return new half3(x, x, z); }
  1775. }
  1776. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1777. public half3 xxw
  1778. {
  1779. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1780. get { return new half3(x, x, w); }
  1781. }
  1782. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1783. public half3 xyx
  1784. {
  1785. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1786. get { return new half3(x, y, x); }
  1787. }
  1788. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1789. public half3 xyy
  1790. {
  1791. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1792. get { return new half3(x, y, y); }
  1793. }
  1794. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1795. public half3 xyz
  1796. {
  1797. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1798. get { return new half3(x, y, z); }
  1799. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1800. set { x = value.x; y = value.y; z = value.z; }
  1801. }
  1802. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1803. public half3 xyw
  1804. {
  1805. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1806. get { return new half3(x, y, w); }
  1807. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1808. set { x = value.x; y = value.y; w = value.z; }
  1809. }
  1810. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1811. public half3 xzx
  1812. {
  1813. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1814. get { return new half3(x, z, x); }
  1815. }
  1816. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1817. public half3 xzy
  1818. {
  1819. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1820. get { return new half3(x, z, y); }
  1821. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1822. set { x = value.x; z = value.y; y = value.z; }
  1823. }
  1824. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1825. public half3 xzz
  1826. {
  1827. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1828. get { return new half3(x, z, z); }
  1829. }
  1830. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1831. public half3 xzw
  1832. {
  1833. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1834. get { return new half3(x, z, w); }
  1835. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1836. set { x = value.x; z = value.y; w = value.z; }
  1837. }
  1838. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1839. public half3 xwx
  1840. {
  1841. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1842. get { return new half3(x, w, x); }
  1843. }
  1844. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1845. public half3 xwy
  1846. {
  1847. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1848. get { return new half3(x, w, y); }
  1849. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1850. set { x = value.x; w = value.y; y = value.z; }
  1851. }
  1852. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1853. public half3 xwz
  1854. {
  1855. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1856. get { return new half3(x, w, z); }
  1857. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1858. set { x = value.x; w = value.y; z = value.z; }
  1859. }
  1860. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1861. public half3 xww
  1862. {
  1863. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1864. get { return new half3(x, w, w); }
  1865. }
  1866. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1867. public half3 yxx
  1868. {
  1869. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1870. get { return new half3(y, x, x); }
  1871. }
  1872. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1873. public half3 yxy
  1874. {
  1875. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1876. get { return new half3(y, x, y); }
  1877. }
  1878. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1879. public half3 yxz
  1880. {
  1881. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1882. get { return new half3(y, x, z); }
  1883. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1884. set { y = value.x; x = value.y; z = value.z; }
  1885. }
  1886. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1887. public half3 yxw
  1888. {
  1889. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1890. get { return new half3(y, x, w); }
  1891. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1892. set { y = value.x; x = value.y; w = value.z; }
  1893. }
  1894. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1895. public half3 yyx
  1896. {
  1897. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1898. get { return new half3(y, y, x); }
  1899. }
  1900. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1901. public half3 yyy
  1902. {
  1903. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1904. get { return new half3(y, y, y); }
  1905. }
  1906. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1907. public half3 yyz
  1908. {
  1909. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1910. get { return new half3(y, y, z); }
  1911. }
  1912. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1913. public half3 yyw
  1914. {
  1915. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1916. get { return new half3(y, y, w); }
  1917. }
  1918. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1919. public half3 yzx
  1920. {
  1921. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1922. get { return new half3(y, z, x); }
  1923. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1924. set { y = value.x; z = value.y; x = value.z; }
  1925. }
  1926. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1927. public half3 yzy
  1928. {
  1929. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1930. get { return new half3(y, z, y); }
  1931. }
  1932. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1933. public half3 yzz
  1934. {
  1935. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1936. get { return new half3(y, z, z); }
  1937. }
  1938. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1939. public half3 yzw
  1940. {
  1941. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1942. get { return new half3(y, z, w); }
  1943. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1944. set { y = value.x; z = value.y; w = value.z; }
  1945. }
  1946. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1947. public half3 ywx
  1948. {
  1949. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1950. get { return new half3(y, w, x); }
  1951. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1952. set { y = value.x; w = value.y; x = value.z; }
  1953. }
  1954. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1955. public half3 ywy
  1956. {
  1957. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1958. get { return new half3(y, w, y); }
  1959. }
  1960. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1961. public half3 ywz
  1962. {
  1963. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1964. get { return new half3(y, w, z); }
  1965. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1966. set { y = value.x; w = value.y; z = value.z; }
  1967. }
  1968. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1969. public half3 yww
  1970. {
  1971. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1972. get { return new half3(y, w, w); }
  1973. }
  1974. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1975. public half3 zxx
  1976. {
  1977. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1978. get { return new half3(z, x, x); }
  1979. }
  1980. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1981. public half3 zxy
  1982. {
  1983. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1984. get { return new half3(z, x, y); }
  1985. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1986. set { z = value.x; x = value.y; y = value.z; }
  1987. }
  1988. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1989. public half3 zxz
  1990. {
  1991. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1992. get { return new half3(z, x, z); }
  1993. }
  1994. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  1995. public half3 zxw
  1996. {
  1997. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  1998. get { return new half3(z, x, w); }
  1999. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2000. set { z = value.x; x = value.y; w = value.z; }
  2001. }
  2002. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2003. public half3 zyx
  2004. {
  2005. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2006. get { return new half3(z, y, x); }
  2007. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2008. set { z = value.x; y = value.y; x = value.z; }
  2009. }
  2010. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2011. public half3 zyy
  2012. {
  2013. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2014. get { return new half3(z, y, y); }
  2015. }
  2016. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2017. public half3 zyz
  2018. {
  2019. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2020. get { return new half3(z, y, z); }
  2021. }
  2022. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2023. public half3 zyw
  2024. {
  2025. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2026. get { return new half3(z, y, w); }
  2027. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2028. set { z = value.x; y = value.y; w = value.z; }
  2029. }
  2030. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2031. public half3 zzx
  2032. {
  2033. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2034. get { return new half3(z, z, x); }
  2035. }
  2036. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2037. public half3 zzy
  2038. {
  2039. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2040. get { return new half3(z, z, y); }
  2041. }
  2042. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2043. public half3 zzz
  2044. {
  2045. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2046. get { return new half3(z, z, z); }
  2047. }
  2048. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2049. public half3 zzw
  2050. {
  2051. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2052. get { return new half3(z, z, w); }
  2053. }
  2054. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2055. public half3 zwx
  2056. {
  2057. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2058. get { return new half3(z, w, x); }
  2059. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2060. set { z = value.x; w = value.y; x = value.z; }
  2061. }
  2062. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2063. public half3 zwy
  2064. {
  2065. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2066. get { return new half3(z, w, y); }
  2067. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2068. set { z = value.x; w = value.y; y = value.z; }
  2069. }
  2070. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2071. public half3 zwz
  2072. {
  2073. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2074. get { return new half3(z, w, z); }
  2075. }
  2076. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2077. public half3 zww
  2078. {
  2079. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2080. get { return new half3(z, w, w); }
  2081. }
  2082. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2083. public half3 wxx
  2084. {
  2085. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2086. get { return new half3(w, x, x); }
  2087. }
  2088. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2089. public half3 wxy
  2090. {
  2091. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2092. get { return new half3(w, x, y); }
  2093. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2094. set { w = value.x; x = value.y; y = value.z; }
  2095. }
  2096. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2097. public half3 wxz
  2098. {
  2099. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2100. get { return new half3(w, x, z); }
  2101. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2102. set { w = value.x; x = value.y; z = value.z; }
  2103. }
  2104. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2105. public half3 wxw
  2106. {
  2107. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2108. get { return new half3(w, x, w); }
  2109. }
  2110. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2111. public half3 wyx
  2112. {
  2113. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2114. get { return new half3(w, y, x); }
  2115. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2116. set { w = value.x; y = value.y; x = value.z; }
  2117. }
  2118. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2119. public half3 wyy
  2120. {
  2121. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2122. get { return new half3(w, y, y); }
  2123. }
  2124. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2125. public half3 wyz
  2126. {
  2127. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2128. get { return new half3(w, y, z); }
  2129. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2130. set { w = value.x; y = value.y; z = value.z; }
  2131. }
  2132. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2133. public half3 wyw
  2134. {
  2135. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2136. get { return new half3(w, y, w); }
  2137. }
  2138. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2139. public half3 wzx
  2140. {
  2141. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2142. get { return new half3(w, z, x); }
  2143. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2144. set { w = value.x; z = value.y; x = value.z; }
  2145. }
  2146. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2147. public half3 wzy
  2148. {
  2149. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2150. get { return new half3(w, z, y); }
  2151. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2152. set { w = value.x; z = value.y; y = value.z; }
  2153. }
  2154. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2155. public half3 wzz
  2156. {
  2157. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2158. get { return new half3(w, z, z); }
  2159. }
  2160. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2161. public half3 wzw
  2162. {
  2163. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2164. get { return new half3(w, z, w); }
  2165. }
  2166. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2167. public half3 wwx
  2168. {
  2169. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2170. get { return new half3(w, w, x); }
  2171. }
  2172. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2173. public half3 wwy
  2174. {
  2175. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2176. get { return new half3(w, w, y); }
  2177. }
  2178. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2179. public half3 wwz
  2180. {
  2181. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2182. get { return new half3(w, w, z); }
  2183. }
  2184. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2185. public half3 www
  2186. {
  2187. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2188. get { return new half3(w, w, w); }
  2189. }
  2190. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2191. public half2 xx
  2192. {
  2193. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2194. get { return new half2(x, x); }
  2195. }
  2196. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2197. public half2 xy
  2198. {
  2199. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2200. get { return new half2(x, y); }
  2201. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2202. set { x = value.x; y = value.y; }
  2203. }
  2204. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2205. public half2 xz
  2206. {
  2207. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2208. get { return new half2(x, z); }
  2209. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2210. set { x = value.x; z = value.y; }
  2211. }
  2212. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2213. public half2 xw
  2214. {
  2215. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2216. get { return new half2(x, w); }
  2217. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2218. set { x = value.x; w = value.y; }
  2219. }
  2220. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2221. public half2 yx
  2222. {
  2223. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2224. get { return new half2(y, x); }
  2225. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2226. set { y = value.x; x = value.y; }
  2227. }
  2228. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2229. public half2 yy
  2230. {
  2231. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2232. get { return new half2(y, y); }
  2233. }
  2234. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2235. public half2 yz
  2236. {
  2237. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2238. get { return new half2(y, z); }
  2239. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2240. set { y = value.x; z = value.y; }
  2241. }
  2242. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2243. public half2 yw
  2244. {
  2245. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2246. get { return new half2(y, w); }
  2247. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2248. set { y = value.x; w = value.y; }
  2249. }
  2250. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2251. public half2 zx
  2252. {
  2253. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2254. get { return new half2(z, x); }
  2255. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2256. set { z = value.x; x = value.y; }
  2257. }
  2258. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2259. public half2 zy
  2260. {
  2261. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2262. get { return new half2(z, y); }
  2263. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2264. set { z = value.x; y = value.y; }
  2265. }
  2266. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2267. public half2 zz
  2268. {
  2269. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2270. get { return new half2(z, z); }
  2271. }
  2272. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2273. public half2 zw
  2274. {
  2275. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2276. get { return new half2(z, w); }
  2277. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2278. set { z = value.x; w = value.y; }
  2279. }
  2280. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2281. public half2 wx
  2282. {
  2283. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2284. get { return new half2(w, x); }
  2285. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2286. set { w = value.x; x = value.y; }
  2287. }
  2288. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2289. public half2 wy
  2290. {
  2291. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2292. get { return new half2(w, y); }
  2293. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2294. set { w = value.x; y = value.y; }
  2295. }
  2296. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2297. public half2 wz
  2298. {
  2299. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2300. get { return new half2(w, z); }
  2301. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2302. set { w = value.x; z = value.y; }
  2303. }
  2304. [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
  2305. public half2 ww
  2306. {
  2307. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2308. get { return new half2(w, w); }
  2309. }
  2310. /// <summary>Returns the half element at a specified index.</summary>
  2311. unsafe public half this[int index]
  2312. {
  2313. get
  2314. {
  2315. #if ENABLE_UNITY_COLLECTIONS_CHECKS
  2316. if ((uint)index >= 4)
  2317. throw new System.ArgumentException("index must be between[0...3]");
  2318. #endif
  2319. fixed (half4* array = &this) { return ((half*)array)[index]; }
  2320. }
  2321. set
  2322. {
  2323. #if ENABLE_UNITY_COLLECTIONS_CHECKS
  2324. if ((uint)index >= 4)
  2325. throw new System.ArgumentException("index must be between[0...3]");
  2326. #endif
  2327. fixed (half* array = &x) { array[index] = value; }
  2328. }
  2329. }
  2330. /// <summary>Returns true if the half4 is equal to a given half4, false otherwise.</summary>
  2331. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2332. public bool Equals(half4 rhs) { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
  2333. /// <summary>Returns true if the half4 is equal to a given half4, false otherwise.</summary>
  2334. public override bool Equals(object o) { return Equals((half4)o); }
  2335. /// <summary>Returns a hash code for the half4.</summary>
  2336. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2337. public override int GetHashCode() { return (int)math.hash(this); }
  2338. /// <summary>Returns a string representation of the half4.</summary>
  2339. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2340. public override string ToString()
  2341. {
  2342. return string.Format("half4({0}, {1}, {2}, {3})", x, y, z, w);
  2343. }
  2344. /// <summary>Returns a string representation of the half4 using a specified format and culture-specific format information.</summary>
  2345. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2346. public string ToString(string format, IFormatProvider formatProvider)
  2347. {
  2348. return string.Format("half4({0}, {1}, {2}, {3})", x.ToString(format, formatProvider), y.ToString(format, formatProvider), z.ToString(format, formatProvider), w.ToString(format, formatProvider));
  2349. }
  2350. internal sealed class DebuggerProxy
  2351. {
  2352. public half x;
  2353. public half y;
  2354. public half z;
  2355. public half w;
  2356. public DebuggerProxy(half4 v)
  2357. {
  2358. x = v.x;
  2359. y = v.y;
  2360. z = v.z;
  2361. w = v.w;
  2362. }
  2363. }
  2364. }
  2365. public static partial class math
  2366. {
  2367. /// <summary>Returns a half4 vector constructed from four half values.</summary>
  2368. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2369. public static half4 half4(half x, half y, half z, half w) { return new half4(x, y, z, w); }
  2370. /// <summary>Returns a half4 vector constructed from two half values and a half2 vector.</summary>
  2371. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2372. public static half4 half4(half x, half y, half2 zw) { return new half4(x, y, zw); }
  2373. /// <summary>Returns a half4 vector constructed from a half value, a half2 vector and a half value.</summary>
  2374. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2375. public static half4 half4(half x, half2 yz, half w) { return new half4(x, yz, w); }
  2376. /// <summary>Returns a half4 vector constructed from a half value and a half3 vector.</summary>
  2377. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2378. public static half4 half4(half x, half3 yzw) { return new half4(x, yzw); }
  2379. /// <summary>Returns a half4 vector constructed from a half2 vector and two half values.</summary>
  2380. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2381. public static half4 half4(half2 xy, half z, half w) { return new half4(xy, z, w); }
  2382. /// <summary>Returns a half4 vector constructed from two half2 vectors.</summary>
  2383. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2384. public static half4 half4(half2 xy, half2 zw) { return new half4(xy, zw); }
  2385. /// <summary>Returns a half4 vector constructed from a half3 vector and a half value.</summary>
  2386. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2387. public static half4 half4(half3 xyz, half w) { return new half4(xyz, w); }
  2388. /// <summary>Returns a half4 vector constructed from a half4 vector.</summary>
  2389. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2390. public static half4 half4(half4 xyzw) { return new half4(xyzw); }
  2391. /// <summary>Returns a half4 vector constructed from a single half value by assigning it to every component.</summary>
  2392. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2393. public static half4 half4(half v) { return new half4(v); }
  2394. /// <summary>Returns a half4 vector constructed from a single float value by converting it to half and assigning it to every component.</summary>
  2395. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2396. public static half4 half4(float v) { return new half4(v); }
  2397. /// <summary>Return a half4 vector constructed from a float4 vector by componentwise conversion.</summary>
  2398. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2399. public static half4 half4(float4 v) { return new half4(v); }
  2400. /// <summary>Returns a half4 vector constructed from a single double value by converting it to half and assigning it to every component.</summary>
  2401. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2402. public static half4 half4(double v) { return new half4(v); }
  2403. /// <summary>Return a half4 vector constructed from a double4 vector by componentwise conversion.</summary>
  2404. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2405. public static half4 half4(double4 v) { return new half4(v); }
  2406. /// <summary>Returns a uint hash code of a half4 vector.</summary>
  2407. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2408. public static uint hash(half4 v)
  2409. {
  2410. return csum(uint4(v.x.value, v.y.value, v.z.value, v.w.value) * uint4(0x745ED837u, 0x9CDC88F5u, 0xFA62D721u, 0x7E4DB1CFu)) + 0x68EEE0F5u;
  2411. }
  2412. /// <summary>
  2413. /// Returns a uint4 vector hash code of a half4 vector.
  2414. /// When multiple elements are to be hashes together, it can more efficient to calculate and combine wide hash
  2415. /// that are only reduced to a narrow uint hash at the very end instead of at every step.
  2416. /// </summary>
  2417. [MethodImpl(MethodImplOptions.AggressiveInlining)]
  2418. public static uint4 hashwide(half4 v)
  2419. {
  2420. return (uint4(v.x.value, v.y.value, v.z.value, v.w.value) * uint4(0xBC3B0A59u, 0x816EFB5Du, 0xA24E82B7u, 0x45A22087u)) + 0xFC104C3Bu;
  2421. }
  2422. }
  2423. }