Cogl.Primitive.texture_set_auto_mipmap
function texture_set_auto_mipmap(primitive_texture: Cogl.PrimitiveTexture, value: Cogl.Bool): void { // Gjs wrapper for cogl_primitive_texture_set_auto_mipmap() }
Sets whether the texture will automatically update the smaller mipmap levels after any part of level 0 is updated. The update will only occur whenever the texture is used for drawing with a texture filter that requires the lower mipmap levels. An application should disable this if it wants to upload its own data for the other levels. By default auto mipmapping is enabled.
Since 2.0
- primitive_texture
- value
The new value for whether to auto mipmap