Click or drag to resize
SoDepthBufferElement Class

Stores the current depth buffer parameters.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoDepthBufferElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoDepthBufferElement : SoElement

The SoDepthBufferElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGet

Returns current depth buffer parameters.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Override OIV.Inventor.Elements.SoDepthBufferElement.Pop(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoElement) method to keep GL up to date.

(Overrides SoElementPop(SoState, SoElement).)
Public methodPush (Overrides SoElementPush(SoState).)
Public methodStatic memberSet(SoState, Boolean, Boolean, SoDepthBufferElementDepthWriteFunctions, SbVec2f)

Sets the depth buffer parameters.

Public methodStatic memberSet(SoState, SoDepthBuffer, Boolean, Boolean, SoDepthBufferElementDepthWriteFunctions, SbVec2f)

Sets the depth buffer parameters.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current depth buffer parameters used for rendering, including:

  • Depth buffer test enabled,

  • Depth buffer writing enabled,

  • Depth buffer range, and

  • Depth comparison function.

See Also