Home -> IIndexBuffer -> SetRawInitialData

Description

The SetRawInitialData method allows initial data to be set directly for the buffer where manual layout attributes have been bound with the BindIndexAttributeManualLayout method.

Usage

SuccessToken SetRawInitialData(const uint8_t* data, size_t dataSizeInBytes);

Argument list

data [const uint8_t*]
The source bytes to use when the manually laid out buffer is allocated.
dataSizeInBytes [size_t]
The number of source bytes supplied.

Return value

[SuccessToken]
True if the operation succeeded, false otherwise. An assertion will be raised in debug builds if the result is not tested.

See also