ICommandList.PushConstants

PushConstants(ShaderStage, byte[])

Push the constant to the pipeline

public void PushConstants(ShaderStage stage, byte[] data)
ParameterTypeDescription
stageShaderStageWhich shader stage will consume the constant data
dataByte[]The data that will be sent to the shader

See Also


PushConstants(ShaderStage, byte[], int)

Push the constant to the pipeline

public void PushConstants(ShaderStage stage, byte[] data, int size)
ParameterTypeDescription
stageShaderStageWhich shader stage will consume the constant data
dataByte[]The data that will be sent to the shader
sizeInt32Bytes to write to the pipeline

See Also