The graphics device.
The vertex shader chunk name.
The fragment shader chunk name.
Optional
useTransformFeedback: boolean | Record<string, string | boolean | string[]> = falseWhether to use transform feedback. Defaults to false.
Optional
shaderDefinitionOptions: { Additional options that will be added to the shader definition.
Fragment shader output types, which default to vec4. Passing a string will set the output type for all color attachments. Passing an array will set the output type for each color attachment.
Whether to use transform feedback. Defaults to false.
The newly created shader.
Create a shader from named shader chunks.