BBMOD_Shader.get_variant

A function defined in BBMOD_Shader.gml

get_variant(_vertexFormat)

Description

Retrieves a shader variant for given vertex format.

Arguments

Name Type Description
_vertexFormat Struct.BBMOD_VertexFormat The vertex format.

Returns

Asset.GMShader The raw shader asset or undefined if the vertex format is not supported.

Do you find this page helpful?

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