Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

half4.gen.cs 133KB

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