|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The HPS.TransparencyKit class is a user space object, useful for carrying a group of attribute settings related to transparency. Calling HPS.TransparencyKit.GetDefault() will return a kit with values found in this table.
◆ TransparencyKit() [1/2]
HPS.TransparencyKit.TransparencyKit |
( |
| ) |
|
|
inline |
Initializes an empty kit.
◆ TransparencyKit() [2/2]
The copy constructor creates a new TransparencyKit object that contains the same settings as the source object.
- Parameters
-
in_kit | The source object to copy. |
◆ Empty()
override bool HPS.TransparencyKit.Empty |
( |
| ) |
|
|
inlinevirtual |
Indicates whether this object has any values set on it.
- Returns
- true if no values are set on this object, false otherwise.
Reimplemented from HPS.Object.
◆ Equals()
Check if the source TransparencyKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetDefault()
Creates a TransparencyKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
- Returns
- A TransparencyKit with the default settings.
◆ ObjectType()
override HPS.Type HPS.TransparencyKit.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Kit.
◆ Set()
Copies all settings from the source TransparencyKit into this object.
- Parameters
-
◆ SetAlgorithm()
Sets the algorithm to use when calculating transparency.
- Parameters
-
in_algorithm | The algorithm to use. |
- Returns
- a reference to this object.
◆ SetDepthPeelingLayers()
Sets the number of layers to use when performing depth peeling. Ignored in other transparency methods.
- Warning
- This setting will be limited by the depth peeling layer count set at the containing window / subwindow. If the count is lower than the containing window's count, excess render passes will be omitted.
- Parameters
-
in_layers | The number of layers to use when performing depth peeling. |
- Returns
- a reference to this object.
◆ SetDepthPeelingMinimumArea()
Sets the amount of the screen a layer needs to occupy in order to process another layer when performing depth peeling. Ignored in other transparency methods.
- Parameters
-
in_area | The amount of the screen a layer needs to occupy in order to process another layer. |
in_units | The units of the minimum area. |
- Returns
- a reference to this object.
◆ SetDepthPeelingPreference()
Specifies whether quality or performance should be favored when performing depth peeling. Ignored in other transparency methods.
- Returns
- a reference to this object.
◆ SetDepthWriting()
Controls whether transparent geometry should write into the Z-buffer. Applies only when the transparency algorithm is NoSorting, ZSortNicest, or ZSortFastest.
- Parameters
-
in_state | Whether transparent geometry should write into the Z-buffer. |
- Returns
- a reference to this object.
◆ SetMethod()
Sets the method to use when blending transparent geometry.
- Parameters
-
in_style | The method to use when blending transparent geometry. |
- Returns
- a reference to this object.
◆ Show()
◆ ShowAlgorithm()
Shows the algorithm to use when calculating transparency.
- Parameters
-
out_algorithm | The algorithm to use. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowDepthPeelingLayers()
bool HPS.TransparencyKit.ShowDepthPeelingLayers |
( |
out uint |
out_layers | ) |
|
|
inline |
Shows the number of layers to use when performing depth peeling.
- Parameters
-
out_layers | The number of layers to use when performing depth peeling. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowDepthPeelingMinimumArea()
Shows the amount of the screen a layer needs to occupy in order to process another layer when performing depth peeling.
- Parameters
-
out_area | The amount of the screen a layer needs to occupy in order to process another layer. |
out_units | The units of the minimum area. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowDepthPeelingPreference()
Shows the depth peeling performance setting.
- Parameters
-
out_preference | Whether quality or performance should be favored when performing depth peeling. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowDepthWriting()
bool HPS.TransparencyKit.ShowDepthWriting |
( |
out bool |
out_state | ) |
|
|
inline |
Shows whether transparent geometry should write into the Z-buffer.
- Parameters
-
out_state | Whether transparent geometry should write into the Z-buffer. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowMethod()
Shows the method to use when blending transparent geometry.
- Parameters
-
out_style | The method to use when blending transparent geometry. |
- Returns
- true if the setting is valid, false otherwise.
◆ UnsetAlgorithm()
Removes the transparency algorithm setting.
- Returns
- A reference to this object.
◆ UnsetDepthPeelingLayers()
Removes the depth peeling layers setting.
- Returns
- A reference to this object.
◆ UnsetDepthPeelingMinimumArea()
Removes the depth peeling minimum area setting.
- Returns
- A reference to this object.
◆ UnsetDepthPeelingPreference()
Removes the depth peeling preference setting.
- Returns
- A reference to this object.
◆ UnsetDepthWriting()
Removes the depth writing setting.
- Returns
- A reference to this object.
◆ UnsetEverything()
Removes all settings from this object.
- Returns
- A reference to this object.
◆ UnsetMethod()
Removes the transparency method setting.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.TransparencyKit.cs