BBMOD_Shader.add_variant

A function defined in BBMOD_Shader.gml

add_variant(_shader, _vertexFormat)

Description

Adds a shader variant to be used with a specific vertex format.

Arguments

Name Type Description
_shader Asset.GMShader The raw GameMaker shader asset.
_vertexFormat Struct.BBMOD_VertexFormat The vertex format required by the shader.

Returns

Struct.BBMOD_Shader Returns self.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.