Method

WadTextureArchiveadd_texture

Declaration [src]

void
wad_texture_archive_add_texture (
  WadTextureArchive* archive,
  const char* texture_name,
  GValue* texture
)

Description [src]

Adds a texture to the archive.

Parameters

texture_name

Type: const char*

Name of the texture.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
texture

Type: GValue

A texture.

The instance takes ownership of the data, and is responsible for freeing it.