Vixen
02b45cc4
csharp
public readonly record struct VideoShaders

The 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 Vertex

    Builds the quad from the vertex index and the push constants.

  • public ShaderHandle Fragment

    Samples three planes and multiplies by six numbers.

Methods (1)

Used by (5)

  • VideoGameVideoPlayback
  • VideoInUiTestsVixen.Video.Rendering.Tests
  • VideoRenderTargetVixen.Video.Rendering
  • VideoRendererVixen.Video.Rendering
  • VideoRendererTestsVixen.Video.Rendering.Tests