Home -> IStateBuffer -> BindBufferLayout

Description

The BindBufferLayout method binds the specified state buffer layout to the state buffer. A layout must be defined using this method or SetManualPageSize before calling AllocateMemory, and cannot be changed afterwards.

Usage

SuccessToken BindBufferLayout(IStateBufferLayout* stateBufferLayout);

Argument list

stateBufferLayout [IStateBufferLayout*]
The state buffer layout object that defines the page layout for this buffer.

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