const
A qualifier for constant types and funtions and for function parameters that are read-only.
constant
An address space qualifier for function parameters with reference type (e.g. the uniform buffer) that are read-only.
constexpr
A qualifier for constant expressions.
public:
An access qualifier that defines public access for the variables of a structure or class.
private:
An access qualifier that defines private access for the variables of a structure or class.
vertex Varying vertexShader() {}
A qualifier for identifiying the vertex function in a Metal shader file.
fragment float4 fragmentShader() {}
A qualifier for identifiying the fragment function in a Metal shader file.