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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
protected 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

Format
Format for the depth-stencil buffer
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneView.ChooseDepthStencilFormat(Ab4d.Vulkan.SampleCountFlags,System.Boolean,System.Boolean)"]

See Also