Xui.GPU.Backends.Hlsl

Assembly: Xui.Core · C# declarations · Assembly overview

Types

class HlslCodeGenerator

HLSL code generator for DirectX shaders. Translates IR to HLSL shader code.

public class HlslCodeGenerator : IShaderBackend
{
    public string Name { get; }

    public string GenerateCode(IrShaderModule module);
}

string HlslCodeGenerator.GenerateCode(IrShaderModule module)

public string GenerateCode(IrShaderModule module);

Generates HLSL shader code from an IR module.

string HlslCodeGenerator.Name

public string Name { get; }

Gets the name of this backend ("HLSL").