pub enum ShaderSet<R>where
R: Resources,{
Simple(VertexShader<R>, PixelShader<R>),
Geometry(VertexShader<R>, GeometryShader<R>, PixelShader<R>),
Tessellated(VertexShader<R>, HullShader<R>, DomainShader<R>, PixelShader<R>),
TessellatedGeometry(VertexShader<R>, HullShader<R>, DomainShader<R>, GeometryShader<R>, PixelShader<R>),
}
Expand description
A complete set of shaders to link a program. TODO: TransformFeedback
Variants§
Simple(VertexShader<R>, PixelShader<R>)
Simple program: Vs-Ps
Geometry(VertexShader<R>, GeometryShader<R>, PixelShader<R>)
Geometry shader programs: Vs-Gs-Ps
Tessellated(VertexShader<R>, HullShader<R>, DomainShader<R>, PixelShader<R>)
Tessellation programs: Vs-Hs-Ds-Ps
TessellatedGeometry(VertexShader<R>, HullShader<R>, DomainShader<R>, GeometryShader<R>, PixelShader<R>)
TessellatedGeometry programs: Vs-Hs-Ds-Hs-Ps