nvtt: nvtt::RefImage Struct Reference

nvtt

Loading...
Searching...
No Matches
Public Attributes | List of all members
nvtt::RefImage Struct Reference

Use this structure to reference each of the input images. More...

`#include <nvtt_lowlevel.h>`

## Public Attributes

const void * | data
| For CPUInputBuffer, this should point to host memory; for GPUInputBuffer, this should point to device memory.
int | width = 0
| Width of the image. This can be arbitrary, up to 65535.
int | height = 0
| Height of the image. This can be arbitrary, up to 65535.
int | depth = 1
| Z-dimension of the images, usually 1.
int | num_channels = 4
| Number of channels the image has.
ChannelOrder | channel_swizzle [4] = { Red,Green,Blue,Alpha }
| Channels order how the image is stored.
bool | channel_interleave = true
| Whether the rgba channels are interleaved (r0, g0, b0, a0, r1, g1, b1, a1, ...)

## Detailed Description

Use this structure to reference each of the input images.

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

- nvtt/nvtt_lowlevel.h