TinyRaytracer 0.1
A simple C++ raytracer
Loading...
Searching...
No Matches
Public Attributes | List of all members
image_t Struct Reference

#include <libpng.h>

Public Attributes

uint32_t height
 
uint32_t width
 
pixel_trgba
 

Detailed Description

A minimal struct for storing PNG data. C/C++ has poor support for 2D arrays, so use the provided image_xy macro (C) or the Image wrapper class (C++) for access.


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