コード例 #1
0
 ~GpuData()
 {
     device->DeleteBuffer(bvh);
     device->DeleteBuffer(vertices);
     device->DeleteBuffer(stack);
     executable->DeleteFunction(isect_func);
     executable->DeleteFunction(occlude_func);
     device->DeleteExecutable(executable);
 }
コード例 #2
0
ファイル: bvhstrategy.cpp プロジェクト: Jinqiang/FireRays_SDK
		~GpuData()
		{
			device->DeleteBuffer(bvh);
			device->DeleteBuffer(vertices);
			device->DeleteBuffer(faces);
			device->DeleteBuffer(shapes);
			device->DeleteBuffer(raycnt);
			executable->DeleteFunction(isect_func);
			executable->DeleteFunction(occlude_func);
			executable->DeleteFunction(isect_indirect_func);
			executable->DeleteFunction(occlude_indirect_func);
			device->DeleteExecutable(executable);
		}