Click or drag to resize
Ab4d.SharpEngine logo

SceneViewChooseDepthStencilFormat 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.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
protected virtual Format ChooseDepthStencilFormat(
	SampleCountFlags multiSampleCount,
	bool requireStencilSupport = false
)

Parameters

multiSampleCount  SampleCountFlags
SampleCountFlags
requireStencilSupport  Boolean  (Optional)
requireStencilSupport

Return Value

Format
Format for the depth-stencil buffer
See Also