Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://coin3d.github.io
https://www.kongsberg.com/en/kogt/
Data Fields
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

Definition at line 235 of file simage.h.

Field Documentation

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

Definition at line 241 of file simage.h.

Referenced by add_loader(), simage_add_loader(), and simage_read_image().

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

Definition at line 239 of file simage.h.

Referenced by add_loader(), find_loader(), and simage_add_loader().

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

Definition at line 237 of file simage.h.

Referenced by add_loader(), simage_add_loader(), and simage_read_image().


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