3 #include <ospray/ospray_util.h>
19OSPData NewCopiedData(
const void *data, OSPDataType type, uint64_t numItems1, uint64_t numItems2 = 1, uint64_t numItems3 = 1);
21OSPTexture OSPDepthFromGLPerspective(
float fovy,
float aspect,
float zNear,
float zFar, glm::vec3 cameraDir, glm::vec3 cameraUp,
const float *glDepthBuffer,
int width,
int height);
24OSPGeometricModel LoadTriangle(glm::vec3 scale = glm::vec3(1.f),
const std::string &rendererType =
"scivis");
OSPRay integration interface and utility functions.
RENDER_API int Initialize(int *argc, char **argv)
RENDER_API std::string Version()
RENDER_API int Shutdown()
RENDER_API bool IsVersionAtLeast(int major, int minor)