Neil Roberts
b7c8f8111e
[cogl-material] Allow setting a layer with an invalid texture handle
It was previously possible to create a material layer with no texture by setting some property on it such as the matrix. However it was not possible to get back to that state without removing the layer and recreating it. It is useful to be able to remove the texture to free resources without forgetting the state of the layer so we can put a different texture in later.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%