Axiom.CgPrograms.CgProgram.CreateLowLevelImpl C# (CSharp) Méthode

CreateLowLevelImpl() protected méthode

Create as assembler program from the compiled source supplied by the Cg compiler.
protected CreateLowLevelImpl ( ) : void
Résultat void
		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 );
			}
		}