HairBuffersSemantics.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. namespace AZ
  10. {
  11. namespace RPI
  12. {
  13. class BufferAsset;
  14. class Buffer;
  15. }
  16. namespace Render
  17. {
  18. namespace Hair
  19. {
  20. enum class HairDynamicBuffersSemantics : uint8_t
  21. {
  22. Position = 0,
  23. PositionsPrev,
  24. PositionsPrevPrev,
  25. Tangent,
  26. StrandLevelData,
  27. NumBufferStreams
  28. };
  29. enum class HairGenerationBuffersSemantics : uint8_t
  30. {
  31. InitialHairPositions = 0,
  32. HairRestLengthSRV,
  33. HairStrandType,
  34. FollowHairRootOffset,
  35. BoneSkinningData,
  36. TressFXSimulationConstantBuffer,
  37. NumBufferStreams
  38. };
  39. enum class HairRenderBuffersSemantics : uint8_t
  40. {
  41. HairVertexRenderParams = 0,
  42. HairTexCoords,
  43. BaseAlbedo,
  44. StrandAlbedo,
  45. RenderCB,
  46. StrandCB,
  47. NumBufferStreams
  48. };
  49. } // namespace Hair
  50. } // namespace Render
  51. } // namespace AZ