Render |
The RenderObjectsRenderingStep type exposes the following members.
Name | Description | |
---|---|---|
AllowMultipassRendering | Gets or sets a boolean that specifies if multipass rendering is used when number of light is bigger than the number of lights that can be rendered in one rendering pass. Default value is true. | |
BackgroundThreadsManager | Gets or sets a BackgroundThreadsManager that is used by this RenderObjectsRenderingStep. If this value is not manually set by the user, then it is set from the BackgroundThreadsManager or BackgroundThreadsManager. | |
FilterEffectTypeFunction | Gets or sets a filter function that can be used to filter the objects that will be rendered by their effect type (returning false for object that are not rendered). FilterEffectTypeFunction is called before the OverrideEffect is applied. | |
FilterLightsFunction | Gets or sets a filter function that can be used to filter lights used by this RenderObjectsRenderingStep - the function should return a List{ILight} | |
FilterObjectsFunction | Gets or sets a filter function that can be used to filter the objects that will be rendered (returning false for object that are not rendered). | |
FilterRenderingQueuesFunction | Gets or sets a filter function that can be used to filter RenderingQueue that will be rendered (returning false for RenderingQueue that are not rendered). | |
IsCachingCommandLists | Gets or sets a boolean that specifies if this instance of RenderObjectsRenderingStep can cache command lists (record then in one frame and reuse the command lists in the following frames). By default this value is set to true, but to use command lists then also the IsCachingCommandLists from DXScene must be set to true. | |
OverrideBlendState | When OverrideBlendState is set, the specified BlendState will be used to render all the objects. | |
OverrideDepthStencilState | When OverrideDepthStencilState is set, the specified DepthStencilState will be used to render all the objects. | |
OverrideEffect | When OverrideEffect is set, than it renders all objects with this effect; else the effect defined by the object's material is used | |
OverrideRasterizerState | When OverrideRasterizerState is set, the specified RasterizerState will be used to render all the objects. | |
OverrideStandardEffect | When OverrideStandardEffect is set, than the materials that does not have any specific effect specified will be rendered with it renders all objects with OverrideStandardEffect; otherwise the DXDevice.EffectsManager.GetStandardEffect() method will be used to get the standard effect. | |
UseMultiThreading | Gets or sets a nullable Boolean that specifies if rendering objects in this rendering step can be done in multiple threads (when also enabled by MaxBackgroundThreadsCount). Default value is true. |