logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vpCreateContext, vpDestroyContext - create/destroy a rendering context

Arguments

vpc    VolPack context from vpCreateContext.

Description

vpCreateContext returns a handle for a new rendering context.  It contains 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; application-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.

Name

       vpCreateContext, vpDestroyContext - create/destroy a rendering context

See Also

VolPack(3)

VolPack                                                                                       vpCreateContext(3)

Synopsis

       #include <volpack.h>

       vpContext *
       vpCreateContext()

       void
       vpDestroyContext(vpc)
           vpContext *vpc;

See Also