Sets depth bias.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static void SetDepthBias( XScreen screen, XDeviceCaps caps, float bias ) |
Parameters
- screen
- Type: SGP.XSpace..::.XScreen
The XScreen screen instance that this material will be set active for.
- caps
- Type: SGP.XSpace..::.XDeviceCaps
The device XDeviceCaps capabilities.
- bias
- Type: System..::.Single
New bias.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | screen is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::.ArgumentNullException | caps is nullNothingnullptra null reference (Nothing in Visual Basic). |