Adding code to TextureArray