Home -> IStateContainer -> BindStateBuffer

Description

The BindStateBuffer method sets up a binding to an IStateBuffer object. Where the target state buffer contains multiple pages, only a single page can be bound per binding.

Usage

void BindStateBuffer(StateBufferId stateBufferId, IStateBuffer* stateBuffer, uint32_t stateBufferPageNo = 0);

Argument list

stateBufferId [StateBufferId]
The StateBufferId of the state buffer to bind
stateBuffer [IStateBuffer*]
The IStateBuffer to bind
stateBufferPageNo [uint32_t]
The page in the target state buffer to bind. If the state buffer doesn't contain multiple pages, this must be set to 0.

See also