proc gradient*(self: GradientTexture): Gradient {.gcsafe, locks: 0.}
proc `gradient =`*(self: GradientTexture; val: Gradient) {.gcsafe, locks: 0.}
proc width*(self: GradientTexture): int64 {.gcsafe, locks: 0.}
proc `width =`*(self: GradientTexture; val: int64) {.gcsafe, locks: 0.}
method update*(self: GradientTexture) {.gcsafe, locks: 0, base.}