libsf3
Loading...
Searching...
No Matches
Data Fields
sf3_image Struct Reference

#include <sf3_image.h>

Collaboration diagram for sf3_image:
Collaboration graph
[legend]

Data Fields

struct sf3_identifier identifier
 
uint32_t width
 The width of the image.
 
uint32_t height
 The height of the image.
 
uint32_t depth
 The depth (number of layers) of the image.
 
uint8_t channels
 The channel layout of the pixels.
 
uint8_t format
 The value format of the channels.
 
char pixels []
 The raw pixel data laid out in row-major order.
 

Detailed Description

An image file.

See SF3_FORMAT_ID_IMAGE

Definition at line 72 of file sf3_image.h.

Field Documentation

◆ channels

uint8_t sf3_image::channels

The channel layout of the pixels.

Definition at line 81 of file sf3_image.h.

◆ depth

uint32_t sf3_image::depth

The depth (number of layers) of the image.

Definition at line 79 of file sf3_image.h.

◆ format

uint8_t sf3_image::format

The value format of the channels.

Definition at line 83 of file sf3_image.h.

◆ height

uint32_t sf3_image::height

The height of the image.

Definition at line 77 of file sf3_image.h.

◆ identifier

struct sf3_identifier sf3_image::identifier

Definition at line 73 of file sf3_image.h.

◆ pixels

char sf3_image::pixels[]

The raw pixel data laid out in row-major order.

Definition at line 85 of file sf3_image.h.

◆ width

uint32_t sf3_image::width

The width of the image.

Definition at line 75 of file sf3_image.h.


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