1vpCreateContext(3)         Library Functions Manual         vpCreateContext(3)
2
3
4

NAME

6       vpCreateContext, vpDestroyContext - create/destroy a rendering context
7

SYNOPSIS

9       #include <volpack.h>
10
11       vpContext *
12       vpCreateContext()
13
14       void
15       vpDestroyContext(vpc)
16           vpContext *vpc;
17

ARGUMENTS

19       vpc    VolPack context from vpCreateContext.
20

DESCRIPTION

22       vpCreateContext  returns a handle for a new rendering context.  It con‐
23       tains default values for most of the rendering parameters.
24
25       vpDestroyContext destroys a rendering context and frees the  associated
26       memory.   Only  data  structures  allocated  by  the library are freed;
27       application-defined data structures that are referenced in the  render‐
28       ing context through a pointer are not freed (e.g. arrays of volume data
29       and shading lookup tables).  The application is responsible for keeping
30       track of such data structures and freeing them when appropriate.
31

SEE ALSO

33       VolPack(3)
34
35
36
37VolPack                                                     vpCreateContext(3)
Impressum