public readonly record struct UiShadersThe four shader modules a user interface is drawn with.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Supplied rather than compiled here, and that is the seam. Turning shader source into modules belongs to Vixen.Shaders and to Raven. A caller hands over whatever it has, which is how the golden fixture drives this with hand-written GLSL and how Vixen.Editor.App drives it from Shaders/Ui.rvn. What this must not do is grow a compiler.
Fields and properties (6)
public ShaderHandle VertexThe one vertex stage all three pipelines share.
public ShaderHandle BoxRounded rectangles and borders, as a signed distance.
public ShaderHandle TextGlyphs, as a multi-channel distance field.
public ShaderHandle SolidTessellated paths, flat.
public ShaderHandle ImageThe stage that samples a texture: an image, a video frame, a viewport.
public VertexLocations LocationsWhere the vertex stage reads UiVertex's four attributes: position, texture, colour, then shape.
Methods (1)
public UiShaders(ShaderHandle Vertex, ShaderHandle Box, ShaderHandle Text, ShaderHandle Solid)The four shader modules a user interface is drawn with.
Used by (7)
- UiHostHelloUi
- UiFrameLifetimeTestsVixen.Graphics.Golden.Tests
- UiImageTestsVixen.Graphics.Golden.Tests
- UiRendererVixen.Ui.Renderer
- VideoInUiTestsVixen.Video.Rendering.Tests
- EditorHostVixen.Editor.Host
- EditorPaneVixen.Editor.Host