GLTFContent.add_texture

GLTFContent.add_texture(texture)[source]

Adds a texture to the content.

Parameters

texture (compas.files.data_classes.TextureData) – The texture to add

Returns

int