FragmentPipelineShader¶
Qualified name: algan.rendering.shaders.fragment\_shaders.FragmentPipelineShader
- class FragmentPipelineShader(pipeline_id, layout, total_width)[source]¶
Bases:
objectMarker
shaderfor a mob with a custom fragment pipeline.Carries the pipeline metadata (id, per-param slot layout, total width) so it reaches the ray-traced primitive through the ordinary
shader=handoff (seeRayTracedTrianglePrimitive._pack_frag_pipeline). As a vertex shader it is a no-op returning the raw albedo, so if the vertex path ever runs it leaves the color raw for the in-kernel pipeline to shade.Methods