pub struct GLShaderBuilder { /* private fields */ }👎Deprecated: Since 4.16
Expand description
A builder-pattern type to construct GLShader objects.
Implementations§
Source§impl GLShaderBuilder
impl GLShaderBuilder
Sourcepub fn resource(self, resource: impl Into<GString>) -> Self
👎Deprecated: Since 4.16
pub fn resource(self, resource: impl Into<GString>) -> Self
Resource containing the source code for the shader.
If the shader source is not coming from a resource, this
will be None.