gs.textures.BatchTexture#

A batch of textures used for batch rendering, where each environment can be assigned its own texture. Construct one directly from a list of textures, or use the from_images and from_colors factory methods to build a batch from per-environment images or colors.

class genesis.options.textures.BatchTexture(*, textures: list[genesis.options.textures.Texture | None] = <factory>) None[source]#

A batch of textures for batch rendering.

Parameters:

textures (List[Optional[Texture]]) – List of textures.