gamnit :: CustomTexture :: cpixels
private var cpixels = new CByteArray(4*width.to_i*height.to_i) is lazy