# cee::vis::TransparencyMode

class `TransparencyMode`

  Controlling the technique used for transparency in the view.

  The transparency mode is set from View::setTransparencyMode().

  Public Types

  enum `Mode`

    List of available transparency modes.

    Values:

    enumerator `AUTO`

      Automatic transparency.

    enumerator `DEPTH_PEELING`

      Depth peeling transparency.

    enumerator `DEPTH_PEELING_FRONT`

      Front depth peeling transparency.

    enumerator `WEIGHTED_AVERAGE`

      Weighted average transparency.

    enumerator `SIMPLE`

      Simple transparency.

  Public Functions

  `TransparencyMode`()

    Constructs an empty object.

  `TransparencyMode`(const TransparencyMode &other)

    Constructs a background object as a copy of other.

  TransparencyMode &`operator=`(const TransparencyMode &rhs)

    Assigns rhs to this background and returns a reference to this background.

  Mode `mode`() const

    Returns the transparency mode.

  unsigned int `depthPeelingNumberOfPasses`() const

    Returns number of depth peeling passes.

  Public Static Functions

  static TransparencyMode `createDepthPeeling`(unsigned int numPasses)

    Creates depth peeling with numPasses number of passes.

  static TransparencyMode `createDepthPeelingFront`(unsigned int numPasses)

    Creates front depth peeling with numPasses number of passes.

  static TransparencyMode `createWeightedAverage`()

    Creates weighted average transparency.

  static TransparencyMode `createSimple`()

    Creates simple transparency.

  static TransparencyMode `createAuto`()

    Creates automatic transparency.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...