Cogl.Attribute.prototype.set_normalized

function set_normalized(normalized: Cogl.Bool): void {
    // Gjs wrapper for cogl_attribute_set_normalized()
}
  

Sets whether fixed point attribute types are mapped to the range 0→1. For example when this property is TRUE and a Cogl.AttributeType.unsigned_byte type is used then the value 255 will be mapped to 1.0.

The default value of this property depends on the name of the attribute. For the builtin properties cogl_color_in and cogl_normal_in it will default to TRUE and for all other names it will default to FALSE.

Since 1.10

normalized

The new value for the normalized property.