|
|
|
|
|
|
void FunctionName(inout bool3 a, inout bool3 b) { bool3 t = a; a = b; b = t; } \ |
|
|
|
void FunctionName(inout bool4 a, inout bool4 b) { bool4 t = a; a = b; b = t; } |
|
|
|
|
|
|
|
|
|
|
|
// MACRO from Legacy Untiy |
|
|
|
// Transforms 2D UV by scale/bias property |
|
|
|
#define TRANSFORM_TEX(tex, name) ((tex.xy) * name##_ST.xy + name##_ST.zw) |
|
|
|
#define GET_TEXELSIZE_NAME(name) (name##_TexelSize) |
|
|
|
|
|
|
|
#endif // UNITY_MACROS_INCLUDED |