Texture.from_data

classmethod Texture.from_data(data)[source]

Construct an object of this type from the provided data.