AttachTextureFromBuffer now accepts a byte slice