---
name: "lqr_vmap_load"
section: "3"
platform: "linux"
package: "liblqr-1-0-dev"
version: "0.4.1-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/lqr_vmap_load"
---

# lqr\_vmap\_load(3)

load an LqrVMap object into an LqrCarver object

## NAME

lqr\_vmap\_load - load an LqrVMap object into an LqrCarver object

## SYNOPSIS

```
#include <lqr.h>
```

**LqrRetVal lqr\_vmap\_load(LqrCarver\*** *carver***, LqrVMap\*** *vmap***);**

## DESCRIPTION

The function **lqr\_vmap\_load** loads the visibility map contained in the LqrVMap object pointed to by *vmap* in the LqrCarver object pointed to by *carver*.

It can only be called over uninitialised carver objects, therefore care must be taken not to exceed the loaded map depth when resizing (see the LqrVMap objects format description in the page for [**lqr\_vmap\_new**(3)](/lqr_vmap_new/3.md)).

##

The return value follows the Liquid Rescale library signalling system.

## SEE ALSO

[**LqrRetVal**(3)](/LqrRetVal/3.md), [**lqr\_vmap\_new**(3)](/lqr_vmap_new/3.md), [**lqr\_vmap\_dump**(3)](/lqr_vmap_dump/3.md), [**lqr\_vmap\_internal\_dump**(3)](/lqr_vmap_internal_dump/3.md), [**lqr\_carver\_set\_dump\_vmaps**(3)](/lqr_carver_set_dump_vmaps/3.md)

## COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi\
