Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
vpCreateContext(3)	   Library Functions Manual	    vpCreateContext(3)

NAME
       vpCreateContext,	vpDestroyContext - create/destroy a rendering context

SYNOPSIS
       #include	<volpack.h>

       vpContext *
       vpCreateContext()

       void
       vpDestroyContext(vpc)
	   vpContext *vpc;

ARGUMENTS
       vpc    VolPack context from vpCreateContext.

DESCRIPTION
       vpCreateContext	returns	a handle for a new rendering context.  It con-
       tains default values for	most of	the rendering parameters.

       vpDestroyContext	destroys a rendering context and frees the  associated
       memory.	 Only  data structures allocated by the	library	are freed; ap-
       plication-defined data structures that are referenced in	the  rendering
       context through a pointer are not freed (e.g. arrays of volume data and
       shading lookup tables).	The application	 is  responsible  for  keeping
       track of	such data structures and freeing them when appropriate.

SEE ALSO
       VolPack(3)

VolPack							    vpCreateContext(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=volpack-Context&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help