Method

WadTextureArchiveget_texture

Declaration [src]

GValue*
wad_texture_archive_get_texture (
  WadTextureArchive* archive,
  const char* texture_name
)

Description [src]

Gets a texture from the wad.

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.

Return value

Type: GValue

The requested texture, or NULL if the given name does not exist.

The data is owned by the instance.
The return value can be NULL.