Renderer Class
The context about renderer.
Inheritance Hierarchy
SystemObject
  Aspose.ThreeD.RenderRenderer

Namespace: Aspose.ThreeD.Render
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 20.3.0.0 (20.3)
Syntax
public abstract class Renderer : IDisposable

The Renderer type exposes the following members.

Properties
  NameDescription
Public propertyAssetDirectories
Directories that stored external assets
Public propertyEnableShadows
Gets or sets wheather to enabel shadows.
Public propertyFallbackEntityRenderer
Gets or sets the fallback entity renderer when the entity has no special renderer defined.
Public propertyFrustum
Gets or sets the frustum that used to provide view matrix.
Public propertyMaterial
Gets or sets the material that used to provide material information used by shaders.
Public propertyNode
Gets or sets the Node instance used to provide world transform matrix.
Public propertyPostProcessings
Active post-processing chain
Public propertyPresetShaders
Gets or sets the preset shader set
Public propertyRenderFactory
Gets the factory to build render-related objects.
Public propertyRenderStage
Gets the current render stage.
Public propertyRenderTarget
Specify the render target that the following render operations will be performed on.
Public propertyShader
Gets or sets the shader instance used for rendering the geometry.
Public propertyShaderSet
Gets or sets the shader set that used to render the scene
Public propertyVariables
Access to the internal variables used for rendering
Methods
  NameDescription
Protected methodBeginTarget
Begin render on specified render target
Protected methodBeginViewport(Viewport)
Begin rendering on specified viewport
Protected methodBeginViewport(Viewport, Frustum)
Begin rendering on specified viewport
Public methodClearCache
Manually clear the cache. Aspose.3D will cache some objects like materials/geometries into internal types that compatible with the render pipeline. This should be manually called when scene has major changes.
Public methodStatic memberCreateRenderer
Creates a new Renderer with default profile.
Public methodDispose
Dispose the Renderer and all related resources
Protected methodDispose(Boolean)
Dispose the Renderer and all related resources
Protected methodEndTarget
End rendering on specified render target.
Protected methodEndViewport
Finished rendering on specified viewport
Public methodEquals (Inherited from Object.)
Public methodExecute
Execute an post processing on specified render target
Protected methodFinalize
Finalizer of Renderer
(Overrides ObjectFinalize.)
Public methodGetCommandList
Gets the command list for specified render queue
Protected methodGetEntityRenderer
Get the entity renderer that used to render the specified entity, or return fallback renderer if no entity renderer was registered.
Public methodGetHashCode (Inherited from Object.)
Public methodGetPostProcessing
Gets a built-in post-processor that supported by the renderer.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRegisterEntityRenderer
Register the entity renderer for specified entity
Public methodRender
Render the specified target
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Protected fieldentityRenderersByKey
Registered entity renderers
See Also