RDPipelineShader
Inherits: RefCounted < Object
Description
Section titled “Description”Pipeline shader (used by RenderingDevice).
Wraps a shader resource and allows specialization constants to be applied at pipeline creation time.
Used by RenderingDevice.raytracing_pipeline_create() for ray generation, miss, and hit shaders. The pipeline selects the required shader stage automatically.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| RID | shader |
RID() |
| Array[RDPipelineSpecializationConstant] | specialization_constants |
[] |
Property descriptions
Section titled “Property descriptions”shader
RID shader = RID()
Shader resource. The required stage is selected by the pipeline.
specialization_constants
Array[RDPipelineSpecializationConstant] specialization_constants = []
Specialization constants applied to the selected shader stage at pipeline creation time.
