Home -> ITexelArray -> SetBufferLayout

Description

The SetBufferLayout method defines the layout of the buffer. Must be set before calling AllocateMemory.

Usage

void SetBufferLayout(ImageFormat imageFormat, DataFormat dataFormat, size_t entryCount);

Argument list

imageFormat [ImageFormat]
The image channel layout to allocate for each texel entry.
dataFormat [DataFormat]
The hardware data encoding to allocate for each texel entry.
entryCount [size_t]
The number of entries to allocate in the array.

See also