Click or drag to resize
Ab4d.SharpEngine logo

WireframeRenderingEffectTechnique Class

WireframeRenderingEffectTechnique can be used in OverrideEffectTechnique to render all objects as wireframe.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.CoreSceneComponent
      Ab4d.SharpEngine.EffectsCustomEffectTechnique
        Ab4d.SharpEngine.EffectsWireframeRenderingEffectTechnique

Namespace: Ab4d.SharpEngine.Effects
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class WireframeRenderingEffectTechnique : CustomEffectTechnique

The WireframeRenderingEffectTechnique type exposes the following members.

Constructors
 NameDescription
Public methodWireframeRenderingEffectTechnique Constructor
Top
Properties
 NameDescription
Public propertyDepthBias Gets or sets a float that is used for line depth-bias (see DepthBias). Default value is 0.
Public propertyLineColor 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.
Public propertyLinePattern Gets or sets a float that is used for line pattern (see LinePattern). Default value is 0.
Public propertyLinePatternOffset Gets or sets a float that is used to offset line pattern (see LinePatternOffset). Default value is 0.
Public propertyLinePatternScale Gets or sets a float that is used to scale line pattern (see LinePatternScale). Default value is 1.
Public propertyLineThickness Gets or sets a float that is used for line thickness. Default value is 1.
Public propertyUseLineColorFromDiffuseColor When true (by default), then line color is read from the DiffuseColor (when it is available by the material; otherwise LineColor is used).
Top
Methods
 NameDescription
Protected methodDispose 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))
Public methodOnAfterFrameRendering 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))
Public methodOnBeforeRunningRenderingStep OnBeforeRunningRenderingStep method is called when the RenderingStep that this CustomEffectTechnique was assigned to starts executing.
(Overrides CustomEffectTechniqueOnBeforeRunningRenderingStep(RenderingStep, RenderingContext))
Public methodOnUpdate
(Overrides CustomEffectTechniqueOnUpdate(RenderingContext))
Public methodRender Render method provides rendering functionality that fills the specified commandBuffer with commands to render the specified RenderingItem.
(Overrides CustomEffectTechniqueRender(CommandBuffer, RenderingItem, RenderingContext))
Top
See Also