SoWinRenderAreaSetClearBeforeRender Method (Boolean, Boolean) |
Enables/prevents window clearing from happening before a rendering starts (default is clear true).
Namespace: OIV.Inventor.WinAssembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void SetClearBeforeRender(
bool trueOrFalse,
bool zbTrueOrFalse
)
Public Sub SetClearBeforeRender (
trueOrFalse As Boolean,
zbTrueOrFalse As Boolean
)
public:
void SetClearBeforeRender(
bool trueOrFalse,
bool zbTrueOrFalse
)
member SetClearBeforeRender :
trueOrFalse : bool *
zbTrueOrFalse : bool -> unit
Parameters
- trueOrFalse
- Type: SystemBoolean
- zbTrueOrFalse
- Type: SystemBoolean
Remarks This can be useful to limit flickering when doing single buffering and geometry covers the entire window (used in the material editor). Also controls whether the depth buffer (sometimes called the Z buffer) is cleared before rendering.
See Also