init(geometry:surface:lighting:)
Creates a descriptor from the three shader stages.
Declaration
init(geometry: LowLevelMaterialResource.GeometryModifier, surface: LowLevelMaterialResource.SurfaceShader, lighting: LowLevelMaterialResource.LightingFunction)Parameters
- geometry:
The vertex-stage geometry modifier.
- surface:
The fragment-stage surface shader.
- lighting:
The lighting evaluation function.