void SetCombo( StringToken token, int value )
void SetCombo( StringToken token, T t )

book_4_sparkGenerated
code_blocksInput

Description

The SetCombo method in the CommandList class is used to set a combination of rendering parameters identified by a StringToken and an integer value. This method is typically used to configure rendering states or shader parameters that require a combination of settings.

Usage

To use the SetCombo method, you need to have an instance of the CommandList class. You will also need a StringToken that identifies the parameter you want to set, and an integer value that represents the specific combination or setting you wish to apply.

Example usage:

var commandList = new CommandList();
var token = new StringToken("MyComboParameter");
int comboValue = 3;
commandList.SetCombo(token, comboValue);

Example

var commandList = new CommandList();
var token = new StringToken("MyComboParameter");
int comboValue = 3;
commandList.SetCombo(token, comboValue);