Context(3)

Context3

Create/destroy a rendering context

Usage

#include <volpack.h>

vpContext *

vpCreateContext()

void

vpDestroyContext(vpc)

vpContext *vpc;

Arguments

vpc

VolPack context from vpCreateContext.

Overview

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0–10
  2. 11–13

From libvolpack1-dev 1.0b3-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.