Wireframe |
public class WireframeRenderingEffectTechnique : CustomEffectTechnique
The WireframeRenderingEffectTechnique type exposes the following members.
Name | Description | |
---|---|---|
WireframeRenderingEffectTechnique | Constructor |
Name | Description | |
---|---|---|
DepthBias | Gets or sets a float that is used for line depth-bias (see DepthBias). Default value is 0. | |
LineColor | Gets or sets a Color4 that is used when UseLineColorFromDiffuseColor is false or when line color cannot be determined (for example for StandardMaterial with texture). Default value is Black. | |
LinePattern | Gets or sets a float that is used for line pattern (see LinePattern). Default value is 0. | |
LinePatternOffset | Gets or sets a float that is used to offset line pattern (see LinePatternOffset). Default value is 0. | |
LinePatternScale | Gets or sets a float that is used to scale line pattern (see LinePatternScale). Default value is 1. | |
LineThickness | Gets or sets a float that is used for line thickness. Default value is 1. | |
UseLineColorFromDiffuseColor | When true (by default), then line color is read from the DiffuseColor (when it is available by the material; otherwise LineColor is used). |
Name | Description | |
---|---|---|
Dispose |
Releases unmanaged and managed resources (when disposing is true).
This method may be called only from the CheckAndDispose(Boolean) method and must not be called manually by the user.
(Overrides ComponentBaseDispose(Boolean)) | |
OnAfterFrameRendering |
OnAfterFrameRendering method is called once per frame from the CompleteRenderingStep rendering step. It is called after all RenderObjectsRenderingStep rendering step for this frame were called.
(Overrides CustomEffectTechniqueOnAfterFrameRendering(RenderingContext)) | |
OnBeforeRunningRenderingStep |
OnBeforeRunningRenderingStep method is called when the RenderingStep that this CustomEffectTechnique was assigned to starts executing.
(Overrides CustomEffectTechniqueOnBeforeRunningRenderingStep(RenderingStep, RenderingContext)) | |
OnUpdate | (Overrides CustomEffectTechniqueOnUpdate(RenderingContext)) | |
Render |
Render method provides rendering functionality that fills the specified commandBuffer with commands to render the specified RenderingItem.
(Overrides CustomEffectTechniqueRender(CommandBuffer, RenderingItem, RenderingContext)) |