暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DOTS.hlsl 447B

12345678910111213
  1. #ifndef UNIVERSAL_DOTS_PRAGMAS_INCLUDED
  2. #define UNIVERSAL_DOTS_PRAGMAS_INCLUDED
  3. #ifndef HAVE_VFX_MODIFICATION
  4. #pragma multi_compile _ DOTS_INSTANCING_ON
  5. #if UNITY_PLATFORM_ANDROID || (UNITY_PLATFORM_WEBGL && !SHADER_API_WEBGPU) || UNITY_PLATFORM_UWP
  6. #pragma target 3.5 DOTS_INSTANCING_ON
  7. #else
  8. #pragma target 4.5 DOTS_INSTANCING_ON
  9. #endif
  10. #endif // HAVE_VFX_MODIFICATION
  11. #endif // UNIVERSAL_DOTS_PRAGMAS_INCLUDED