Skip to main content

TextureSurface

A texture source. Contains a pointer to the data and the width and height of the texture. The alpha channel is used in 565 rendering with alpha. The stride is the width used when moving to the next line of the texture.

Public Attributes

const uint16_t *data
The pixel bits or indexes for color in CLUT entries.
const uint8_t *extraData
The alpha channel or clut data.
int32_theight
The height.
int32_tstride
The stride.
int32_twidth
The width.

Public Attributes Documentation

data

const uint16_t * data

The pixel bits or indexes for color in CLUT entries.

extraData

const uint8_t * extraData

The alpha channel or clut data.

height

int32_t height

The height.

stride

int32_t stride

The stride.

width

int32_t width

The width.