A function defined in BBMOD_Shader.gml
add_variant(_shader, _vertexFormat)
Adds a shader variant to be used with a specific vertex format.
Name | Type | Description |
---|---|---|
_shader | Asset.GMShader |
The raw GameMaker shader asset. |
_vertexFormat | Struct.BBMOD_VertexFormat |
The vertex format required by the shader. |
Struct.BBMOD_Shader
Returns self
.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.