 |
SceneView.ChooseDepthStencilFormat Method |
virtual ChooseDepthStencilFormat that can be overriden to set a different Format for the depth-stencil buffer.
Returns Format.Undefined if not supported
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxprotected virtual Format ChooseDepthStencilFormat(
SampleCountFlags multiSampleCount,
bool use32BitDepthFormat,
bool requireStencilSupport = false
)
Parameters
- multiSampleCount SampleCountFlags
- SampleCountFlags
- use32BitDepthFormat Boolean
- true to use 32-bit depth format
- requireStencilSupport Boolean (Optional)
- requireStencilSupport
Return Value
FormatFormat for the depth-stencil buffer
See Also