Deprecated.hlsl 928 B

12345678910111213141516171819202122232425
  1. #ifndef UNIVERSAL_DEPRECATED_INCLUDED
  2. #define UNIVERSAL_DEPRECATED_INCLUDED
  3. // Stereo-related bits
  4. #define SCREENSPACE_TEXTURE TEXTURE2D_X
  5. #define SCREENSPACE_TEXTURE_FLOAT TEXTURE2D_X_FLOAT
  6. #define SCREENSPACE_TEXTURE_HALF TEXTURE2D_X_HALF
  7. // Typo-fixes, re-route to new name for backwards compatiblity (if there are external dependencies).
  8. #define kDieletricSpec kDielectricSpec
  9. #define DirectBDRF DirectBRDF
  10. // Deprecated: not using consistent naming convention
  11. #if defined(USING_STEREO_MATRICES)
  12. #define unity_StereoMatrixIP unity_StereoMatrixInvP
  13. #define unity_StereoMatrixIVP unity_StereoMatrixInvVP
  14. #endif
  15. // Previously used when rendering with DrawObjectsPass.
  16. // Global object render pass data containing various settings.
  17. // x,y,z are currently unused
  18. // w is used for knowing whether the object is opaque(1) or alpha blended(0)
  19. half4 _DrawObjectPassData;
  20. #endif // UNIVERSAL_DEPRECATED_INCLUDED