Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NETNamespace: Visual3D.Graphics3D.MaterialRendering.FX
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public class FXMaterialPass : RenderPass
Public Class FXMaterialPass _ Inherits RenderPass
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| FXMaterialPass(FXMaterialTechnique, Int32) | Initializes a new instance of the FXMaterialPass class | |
| AlphaBlendEnable | (Inherited from RenderPass.) | |
| AlphaRejectFunction | Alpha reject function. See SetAlphaRejectSettings(CompareFunction, Byte). (Inherited from RenderPass.) | |
| AlphaRejectValue | Alpha reject value. See SetAlphaRejectSettings(CompareFunction, Byte). (Inherited from RenderPass.) | |
| BeginPass(RenderContext) | (Overrides RenderPass..::..BeginPass(RenderContext).) | |
| ColorWriteChannels |
Gets/sets mask of channels (red/green/blue/alpha) used while rendering of this pass.
Default is ColorWriteChannels.All
(Inherited from RenderPass.) | |
| CullMode |
Sets the culling mode for this pass based on the 'vertex winding'.
(Inherited from RenderPass.) | |
| DepthBias | Sets the depth bias to be used for this Pass. (Inherited from RenderPass.) | |
| DepthFunction | Gets/Sets function used to compare depth values when depth checking is on. (Inherited from RenderPass.) | |
| DestBlendFactor | Retrieves destination blending factor for the material (as set using SetSceneBlending). (Inherited from RenderPass.) | |
| EndPass(RenderContext) | (Overrides RenderPass..::..EndPass(RenderContext).) | |
| FogColorOverride | Gets/Sets the fog color for the scene. NOTE: Only valid if FogOverride is true. (Inherited from RenderPass.) | |
| FogDensityOverride | Gets/Sets the fog density for this pass. NOTE: Only valid if FogOverride is true. (Inherited from RenderPass.) | |
| FogEndOverride | Gets/Sets the fog end distance for this pass. NOTE: Only valid if FogOverride is true. (Inherited from RenderPass.) | |
| FogModeOverride | Gets/Sets the fog mode for this pass. NOTE: Only valid if FogOverride is true. (Inherited from RenderPass.) | |
| FogStartOverride | (Inherited from RenderPass.) | |
| FogTechniqueOverride | Gets/Sets the fog technique for this pass. NOTE: Only valid if FogOverride is true. (Inherited from RenderPass.) | |
| ForceOwnFillMode | If set to true, RenderMode will be forcibly applied regardless
of current Camera fill mode (wireframe etc). Default is false. (Inherited from RenderPass.) | |
| Index | ||
| IsDepthOnlyPass |
Sets whether or not color buffer writing is disabled for this Pass (depth-only pass).
(Inherited from RenderPass.) | |
| IsFogOverriden | Gets/Sets flag indicate that this pass is to override the scene fog settings. (Inherited from RenderPass.) | |
| Name | ||
| PointSpriteEnable | Gets/sets flag indicate whether point sprites are being drawn with texture.
In case if this flag is set to false and PrimitiveType.Point is being rendered, each
point sprite is filled by flat color. (Inherited from RenderPass.) | |
| PointSpriteSize | Size of point sprites. (Inherited from RenderPass.) | |
| ReferenceStencil | Specifies a reference value to use for the stencil test. The default is 0. (Inherited from RenderPass.) | |
| RenderMode | Optional override of wireframe/solid render mode. (Inherited from RenderPass.) | |
| ResetRenderStates()()()() | Resets render state values to their defaults. (Inherited from RenderPass.) | |
| SetAlphaRejectSettings(CompareFunction, Byte) | Sets way the pass will use alpha to totally reject pixels from the pipeline. (Inherited from RenderPass.) | |
| SetFog(Boolean) | (Inherited from RenderPass.) | |
| SetFog(Boolean, FogMode) | (Inherited from RenderPass.) | |
| SetFog(Boolean, FogMode, VColor) | (Inherited from RenderPass.) | |
| SetFog(Boolean, FogMode, VColor, Single) | (Inherited from RenderPass.) | |
| SetFog(Boolean, FogMode, VColor, Single, Single, Single) | Sets the fogging mode applied to this pass. (Inherited from RenderPass.) | |
| SetFogOverride(Boolean) | (Inherited from RenderPass.) | |
| SetSceneBlending(SceneBlendType) | Sets the kind of blending this pass has with the existing contents of the scene. (Inherited from RenderPass.) | |
| SetSceneBlending(Blend, Blend) |
Allows very fine control of blending this Pass with the existing contents of the scene.
(Inherited from RenderPass.) | |
| ShadingMode | Sets the type of light shading required.
NOTE: The default shading method is Gouraud shading. (Inherited from RenderPass.) | |
| SourceBlendFactor | Retrieves the source blending factor for the material (as set using SetSceneBlending). (Inherited from RenderPass.) | |
| StencilDepthBufferFail | Gets or sets the stencil operation to perform if the stencil test passes
and the depth-test fails. The default is StencilOperation.Keep. (Inherited from RenderPass.) | |
| StencilDepthBufferFailCCW | Gets or sets the stencil operation to perform if the stencil test passes
and the depth-buffer test fails for a counterclockwise triangle. The default
is StencilOperation.Keep. (Inherited from RenderPass.) | |
| StencilEnable | Gets or sets stencil enabling. The default is false. (Inherited from RenderPass.) | |
| StencilFail | Gets or sets the stencil operation to perform if the stencil test fails.
The default is StencilOperation.Keep. (Inherited from RenderPass.) | |
| StencilFailCCW | Gets or sets the stencil operation to perform if the stencil test fails for
a counterclockwise triangle. The default is StencilOperation.Keep. (Inherited from RenderPass.) | |
| StencilFunction | Gets or sets the comparison function for the stencil test. The default is
CompareFunction.Always. (Inherited from RenderPass.) | |
| StencilFunctionCCW | Gets or sets the comparison function to use for counterclockwise stencil
tests. The default is CompareFunction.Always. (Inherited from RenderPass.) | |
| StencilMask | Gets or sets the mask applied to the reference value and each stencil buffer
entry to determine the significant bits for the stencil test. The default
mask is Int32.MaxValue. (Inherited from RenderPass.) | |
| StencilPass | Gets or sets the stencil operation to perform if the stencil test passes.
The default is StencilOperation.Keep. (Inherited from RenderPass.) | |
| StencilPassCCW | Gets or sets the stencil operation to perform if the stencil and z-tests
pass for a counterclockwise triangle. The default is StencilOperation.Keep. (Inherited from RenderPass.) | |
| StencilWriteMask | Gets or sets the write mask applied to values written into the stencil buffer.
The default mask is Int32.MaxValue. (Inherited from RenderPass.) | |
| Technique | ||
| ToString()()()() | (Overrides Object..::..ToString()()()().) | |
| TransparencyMode |
Simplified version of SetSceneBlending method, with limited set of
predefined blending modes. Able to return one of TransparencyMode enum values,
based on current combination of source/dest blend modes. Returns Opaque mode for
any unrecognized source/dest blending.
(Inherited from RenderPass.) | |
| TwoSidedStencil | Enables or disables two-sided stenciling. The default is false. (Inherited from RenderPass.) | |
| UseDepthCheck | Gets/Sets if pass renders with depth-buffer checking on or not. (Inherited from RenderPass.) | |
| UseDepthWrite | Gets/Sets if pass renders with depth-buffer writing on or not. (Inherited from RenderPass.) | |
| XnaPass |
Inheritance Hierarchy
System..::..Object
Visual3D.Graphics3D.MaterialRendering..::..RenderPass
Visual3D.Graphics3D.MaterialRendering.FX..::..FXMaterialPass
Visual3D.Graphics3D.MaterialRendering..::..RenderPass
Visual3D.Graphics3D.MaterialRendering.FX..::..FXMaterialPass