RenderState

Overview

RenderState is a class in Aspose.3D FOSS for .NET. Inherits from: IDisposable, IComparable<RenderState>.

Render state for building the pipeline The changes made on render state will not affect the created pipeline instances.

This class provides 5 methods for working with RenderState objects in .NET programs. Available methods include: CompareTo, Dispose, Equals, GetHashCode, RenderState. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package. Properties: Blend, BlendColor, CullFace, CullFaceMode, DepthFunction, DepthMask, and 11 more.

Properties

NameTypeAccessDescription
BlendboolRead/WriteEnable or disable the fragment blending.
BlendColorFVector4Read/WriteGets or sets the blend color where used in
SourceBlendFactorBlendFactorRead/WriteGets or sets how the color is blended.
DestinationBlendFactorBlendFactorRead/WriteGets or sets how the color is blended.
CullFaceboolRead/WriteEnable or disable cull face
CullFaceModeCullFaceModeRead/WriteGets or sets which face will be culled.
FrontFaceFrontFaceRead/WriteGets or sets which order is front face.
DepthTestboolRead/WriteEnable or disable the depth test.
DepthMaskboolRead/WriteEnable or disable the depth writing.
DepthFunctionCompareFunctionRead/WriteGets or sets the compare function used in depth test
StencilTestboolRead/WriteEnable or disable the stencil test.
StencilReferenceintRead/WriteGets or sets the reference value for the stencil test.
StencilMaskuintRead/WriteGets or sets the mask that is ANDed with the both reference and stored stencil value when test is done.
StencilFrontFaceStencilStateReadGets the stencil state for front face.
StencilBackFaceStencilStateReadGets the stencil state for back face.
ScissorTestboolRead/WriteEnable or disable scissor test
PolygonModePolygonModeRead/WriteGets or sets the polygon’s render mode.

Methods

SignatureDescription
RenderState()Constructor of
Equals(obj: object)Not implemented in the FOSS edition — throws at runtime. Returns a value indicating whether this instance is equal to a specified object.
GetHashCode()Not implemented in the FOSS edition — throws at runtime. Returns the hash code for this instance.
Dispose()Dispose the and release all internal resources.
CompareTo(other: RenderState)Not implemented in the FOSS edition — throws at runtime. Compare the render state with another instance

See Also

 English