NVIDIA Iray API — software examples nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
example_http_server.cpp File Reference
#include <iostream>
#include <mi/neuraylib.h>
#include "example_shared.h"
#include "example_render_target_simple.h"

Go to the source code of this file.

Classes

class  Request_handler
 
class  Response_handler
 

Functions

void configuration (mi::neuraylib::INeuray *neuray, const char *mdl_path)
 
mi::base::Handle
< mi::neuraylib::IBuffer
rendering (mi::neuraylib::INeuray *neuray, const char *scene_file)
 
void run_http_server (mi::neuraylib::INeuray *neuray, mi::neuraylib::IBuffer *buffer, const char *port)
 
int main (int argc, char *argv[])
 

Function Documentation

void configuration ( mi::neuraylib::INeuray neuray,
const char *  mdl_path 
)

Definition at line 56 of file example_http_server.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 156 of file example_http_server.cpp.

mi::base::Handle<mi::neuraylib::IBuffer> rendering ( mi::neuraylib::INeuray neuray,
const char *  scene_file 
)

Definition at line 71 of file example_http_server.cpp.

void run_http_server ( mi::neuraylib::INeuray neuray,
mi::neuraylib::IBuffer buffer,
const char *  port 
)

Definition at line 131 of file example_http_server.cpp.