Material.renderPriority

Sets the render priority for transparent objects in 3D scenes. Higher priority objects will be sorted in front of lower priority objects. Note: this only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are not sorted, while transparent objects are sorted from back to front (subject to priority).

  1. long renderPriority [@property getter]
    struct Material
    @nogc nothrow @property
    long
    renderPriority
    ()
  2. long renderPriority [@property setter]

Meta