Struct GLShaderSource
- Namespace
- ReFuel.Graphics.OpenGL
- Assembly
- ReFuel.Common.dll
public struct GLShaderSource : IGLShader, IEnumerable<KeyValuePair<GLShaderStages, string>>, IEnumerable
- Implements
-
- Inherited Members
-
Constructors
GLShaderSource(IEnumerable<KeyValuePair<GLShaderStages, string>>)
public GLShaderSource(IEnumerable<KeyValuePair<GLShaderStages, string>> stages)
Parameters
stages
IEnumerable<KeyValuePair<GLShaderStages, string>>
GLShaderSource(string)
public GLShaderSource(string compute)
Parameters
compute
string
GLShaderSource(string, string)
public GLShaderSource(string vertex, string fragment)
Parameters
vertex
string
fragment
string
Properties
Compute
public string? Compute { readonly get; set; }
Property Value
- string
Fragment
public string? Fragment { readonly get; set; }
Property Value
- string
Geometry
public string? Geometry { readonly get; set; }
Property Value
- string
IsCompute
public bool IsCompute { get; }
Property Value
- bool
Name
public string? Name { readonly get; set; }
Property Value
- string
Stages
public GLShaderStages Stages { get; }
Property Value
- GLShaderStages
TesselationControl
public string? TesselationControl { readonly get; set; }
Property Value
- string
TesselationEvaluation
public string? TesselationEvaluation { readonly get; set; }
Property Value
- string
Vertex
public string? Vertex { readonly get; set; }
Property Value
- string