BezierCurveFragmentShaderVulkan
Package: Libraries.Game.Graphics.Shaders.Vulkan.Fragment · Inherits from: Libraries.Game.Graphics.Shaders.Shader, Libraries.Language.Object
The BezierCurveFragmentShaderVulkan class draws a BezierCurve on Vulkan. It is BezierCurveFragmentShaderOpenGL's drawing, with the curve's values coming from BezierCurveVertexShaderVulkan instead of uniforms: v_endPoints: the first point (x, y) and the second point (z, w). v_controlPoints: the first control point (x, y) and the second (z, w). v_sizes: the aspect ratio (x), line thickness (y), dot thickness (z) and anti-alias distance (w). v_dotEnabled: 1 to draw the end points as dots, 0 not to. This code is adapted from a shader by Inigo Quilez under the MIT License. https://www.shadertoy.com/view/MlKcDD