Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
simage_plugin Struct Reference

#include <simage.h>

Data Fields

unsigned char *(* load_func )(const char *name, int *width, int *height, int *numcomponents)
int(* identify_func )(const char *filename, const unsigned char *header, int headerlen)
int(* error_func )(char *textbuffer, int bufferlen)

Detailed Description

Use the plugin interface described below for extending simage to handle more file formats

Field Documentation

◆ load_func

unsigned char*(* simage_plugin::load_func) (const char *name, int *width, int *height, int *numcomponents)

◆ identify_func

int(* simage_plugin::identify_func) (const char *filename, const unsigned char *header, int headerlen)

◆ error_func

int(* simage_plugin::error_func) (char *textbuffer, int bufferlen)

The documentation for this struct was generated from the following file: