module charge.gfx.compiler
Source file for Shader Compiler code.
Code Map
//! Source file for Shader Compiler code.
module charge.gfx.compiler;
class Compiler
{
public:
this() { }
fn compile(comp: CompSrc, name: string) Shader { }
fn compile(vert: VertSrc, frag: FragSrc, name: string) Shader { }
fn getInclude(file: string) string { }
fn addInclude(src: Src, lookupName: string) { }
}
struct Src
{
public:
src: string;
filename: string;
public:
fn addInternalStart(filename: string) { }
fn setup(src: string, filename: string, add: bool) { }
}
struct VertSrc
{
public:
src: Src;
public:
fn setup(src: string, filename: string, add: bool) { }
}
struct GeomSrc
{
public:
src: Src;
public:
fn setup(src: string, filename: string, add: bool) { }
}
struct FragSrc
{
public:
src: Src;
public:
fn setup(src: string, filename: string, add: bool) { }
}
struct CompSrc
{
public:
src: Src;
public:
fn setup(src: string, filename: string, add: bool) { }
}