PushConstants

ICommandList.PushConstants method (1 of 2)

Push the constant to the pipeline

public void PushConstants(ShaderStage stage, byte[] data)
Parameter Type Description
stage ShaderStage Which shader stage will consume the constant data
data Byte[] The data that will be sent to the shader

See Also


ICommandList.PushConstants method (2 of 2)

Push the constant to the pipeline

public void PushConstants(ShaderStage stage, byte[] data, int size)
Parameter Type Description
stage ShaderStage Which shader stage will consume the constant data
data Byte[] The data that will be sent to the shader
size Int32 Bytes to write to the pipeline

See Also