LensFlareSprite.h 411 B

1234567891011121314151617181920
  1. // Copyright (C) 2009-2020, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <shaders/glsl_cpp_common/Common.h>
  7. ANKI_BEGIN_NAMESPACE
  8. // Per flare information
  9. struct LensFlareSprite
  10. {
  11. Vec4 m_posScale; // xy: Position, zw: Scale
  12. Vec4 m_color;
  13. Vec4 m_depthPad3;
  14. };
  15. ANKI_END_NAMESPACE