Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

GeometryPoolDefs.cs.hlsl 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef GEOMETRYPOOLDEFS_CS_HLSL
  2. #define GEOMETRYPOOLDEFS_CS_HLSL
  3. //
  4. // UnityEngine.Rendering.UnifiedRayTracing.GeoPoolVertexAttribs: static fields
  5. //
  6. #define GEOPOOLVERTEXATTRIBS_POSITION (1)
  7. #define GEOPOOLVERTEXATTRIBS_NORMAL (2)
  8. #define GEOPOOLVERTEXATTRIBS_UV0 (4)
  9. #define GEOPOOLVERTEXATTRIBS_UV1 (8)
  10. //
  11. // UnityEngine.Rendering.UnifiedRayTracing.GeometryPoolConstants: static fields
  12. //
  13. #define GEO_POOL_POS_BYTE_SIZE (12)
  14. #define GEO_POOL_UV0BYTE_SIZE (16)
  15. #define GEO_POOL_UV1BYTE_SIZE (16)
  16. #define GEO_POOL_NORMAL_BYTE_SIZE (4)
  17. #define GEO_POOL_POS_BYTE_OFFSET (0)
  18. #define GEO_POOL_UV0BYTE_OFFSET (12)
  19. #define GEO_POOL_UV1BYTE_OFFSET (28)
  20. #define GEO_POOL_NORMAL_BYTE_OFFSET (44)
  21. #define GEO_POOL_INDEX_BYTE_SIZE (4)
  22. #define GEO_POOL_VERTEX_BYTE_SIZE (48)
  23. // Generated from UnityEngine.Rendering.UnifiedRayTracing.GeoPoolMeshChunk
  24. struct GeoPoolMeshChunk
  25. {
  26. int indexOffset;
  27. int indexCount;
  28. int vertexOffset;
  29. int vertexCount;
  30. };
  31. // Generated from UnityEngine.Rendering.UnifiedRayTracing.GeoPoolVertex
  32. struct GeoPoolVertex
  33. {
  34. float3 pos;
  35. float4 uv0;
  36. float4 uv1;
  37. float3 N;
  38. };
  39. #endif