init(source:)
Initializes a new shader object using the specified source code.
Declaration
init(source: String)Parameters
- source:
A string that holds the initial source for the shader.
Return Value
An initialized shader object.
Initializes a new shader object using the specified source code.
init(source: String)A string that holds the initial source for the shader.
An initialized shader object.