csharp
public static class GlslTypesMapping the IR type model onto GLSL's spelling.
No guide page documents this yet — the page shows what the code says about itself.
Methods (4)
public static string? Name(IrType type)The GLSL name for a type, or null when GLSL cannot express it.
public static string Combined(IrTextureType texture)The combined sampler type a texture pairs into — what sampler2D(t, s) constructs at the sample site.
public static string? Declare(IrType type, string name, bool allowUnsizedOuter = false)A declaration of at . Arrays put their extents after the name, as C-family languages do.
public static string Identifier(string name)Makes an identifier safe to emit, mangling only when it must.
Used by (3)
- GlslBackendTestsVixen.Raven.Tests
- GlslEmitterVixen.Raven
- GlslIntrinsicsVixen.Raven