Click or drag to resize
Ab4d.SharpEngine logo

CameraDistanceSortedRenderingLayer Constructor

Constructor

Namespace: Ab4d.SharpEngine.RenderingLayers
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public CameraDistanceSortedRenderingLayer(
	string layerName,
	bool containsTransparentObjects,
	Type? allowedEffectType = null
)

Parameters

layerName  String
name
containsTransparentObjects  Boolean
boolean that specified if this rendering layer contains transparent objects or other objects that need to be rendered with alpha blending and where order of rendering is important (false by default)
allowedEffectType  Type  (Optional)
when not null (by default) then only RenderingItems with this Effect type can be added to this rendering layer
See Also