CUDA:使用CUDA/OpenGL互操作性对在OpenGL中生成的3D场景的图像进行后处理实例
#include <cooperative_groups.h>
namespace cg = cooperative_groups;
#include <helper_cuda.h>
cudaTextureObject_t inTexObject;
// clamp x to range [a, b]
__device__ float
#include <cooperative_groups.h>
namespace cg = cooperative_groups;
#include <helper_cuda.h>
cudaTextureObject_t inTexObject;
// clamp x to range [a, b]
__device__ float