get_variant

function

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 © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.