display_type#

texture.display_type(p0: str) int#

Set the texture to accept color, color+alpha, or just alpha from the loaded image.

Args:
p0:

‘type’

  • rgba

  • rgb

  • a

Examples:
ensight.texture.select(0)
ensight.texture.display_type("rgb")
Returns:

zero on success, non-zero on error