Struct GlslSource
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
A small wrapper around a GLSL source string produced by the transpiler.
public readonly record struct GlslSource : IEquatable<GlslSource>
- Implements
- Inherited Members
Constructors
GlslSource(string)
A small wrapper around a GLSL source string produced by the transpiler.
public GlslSource(string Text)
Parameters
TextstringThe GLSL source text.
Properties
Text
The GLSL source text.
public string Text { get; init; }
Property Value
Methods
ToString()
Returns the GLSL source text.
public override string ToString()