Table of Contents

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

Text string

The GLSL source text.

Properties

Text

The GLSL source text.

public string Text { get; init; }

Property Value

string

Methods

ToString()

Returns the GLSL source text.

public override string ToString()

Returns

string