 |
RenderingLayer Constructor |
Constructor
Namespace: Ab4d.SharpEngine.RenderingLayersAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic RenderingLayer(
string layerName,
bool useMultiThreading = false,
bool containsTransparentObjects = false,
Type? allowedEffectType = null
)
Parameters
- layerName String
- name of this RenderingLayer
- useMultiThreading Boolean (Optional)
- boolean that specified is this rendering layer can be rendered with using multiple threads (false by default)
- containsTransparentObjects Boolean (Optional)
- 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
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.RenderingLayers.RenderingLayer.#ctor(System.String,System.Boolean,System.Boolean,System.Type)"]
See Also