csharp
public readonly record struct VideoShadersThe two shader modules a video 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. The same call Vixen.Ui.Renderer's UiShaders makes for the same reason: turning shader source into modules belongs to Vixen.Shaders and, once it lands, to Raven. Until then a caller hands over whatever it has — Samples/11-VideoPlayback hands over hand-written GLSL — and what this must not do is grow a compiler.
Fields and properties (2)
public ShaderHandle VertexBuilds the quad from the vertex index and the push constants.
public ShaderHandle FragmentSamples three planes and multiplies by six numbers.
Methods (1)
public VideoShaders(ShaderHandle Vertex, ShaderHandle Fragment)The two shader modules a video is drawn with.
Used by (5)
- VideoGameVideoPlayback
- VideoInUiTestsVixen.Video.Rendering.Tests
- VideoRenderTargetVixen.Video.Rendering
- VideoRendererVixen.Video.Rendering
- VideoRendererTestsVixen.Video.Rendering.Tests