Using Other Modules


If you need to make use of other modules, you must inline their code into yours.
public IModule Module { get; set; }

public string GetCode()
{
    return Module.GetCode() + @"
float " + FunctionName + @"(__global int *p, Single3 input)
{
    return " + Module.FunctionName + @"(p, input.x, input.y, input.z);
}
";
}

Last edited Sep 13, 2010 at 3:06 AM by YellPika, version 1

Comments

No comments yet.