tp::ShaderStageSetup struct

Describes an individual shader stage of a pipeline, referencing a tp::ShaderModule and its entry point.

Constructors, destructors, conversion operators

ShaderStageSetup(const ShaderModule* stageModule, const char* stageEntryPoint, ArrayView<SpecializationConstant> specializationConstants = {})

Function documentation

tp::ShaderStageSetup::ShaderStageSetup(const ShaderModule* stageModule, const char* stageEntryPoint, ArrayView<SpecializationConstant> specializationConstants = {})

Parameters
stageModule The shader module to be used for this stage.
stageEntryPoint The entry point to be executed for this stage.
specializationConstants The values of specialization constants to be used for this stage.