1 #ifndef RAY_TRACING_DEVICE_H
2 #define RAY_TRACING_DEVICE_H
4 #include "ConstantMemoryLink.h"
7 #include "RayTracingParams.h"
9 #if CURRENT_MEMORY_MODEL == MEMORY_MODEL_GLOBAL or CURRENT_MEMORY_MODEL == MEMORY_MODEL_SHARED
12 void rayTracing(uchar4
* ptrDevPixels
, const Sphere
* ptrDevSpheres
, int w
, int h
, float t
);
14 #elif CURRENT_MEMORY_MODEL == MEMORY_MODEL_CONSTANT
17 * Accès à la mémoire constante contenant les sphères.
19 ConstantMemoryLink
constantMemorySpheresLink();
22 void rayTracing(uchar4
* ptrDevPixels
, int w
, int h
, float t
);