protected override void CreateLowLevelImpl()
{
if ( selectedCgProfile != Cg.CG_PROFILE_UNKNOWN && !HasCompileError )
{
// retreive the
string lowLevelSource = Cg.cgGetProgramString( cgProgram, Cg.CG_COMPILED_PROGRAM );
// create a low-level program, with the same name as this one
assemblerProgram = GpuProgramManager.Instance.CreateProgramFromString( Name, Group, lowLevelSource, Type, selectedProfile );
}
}