Renderer class
Renderer class
The context about renderer.
The Renderer type exposes the following members:
Properties
Property | Description |
---|---|
shader_set | Gets or sets the shader set that used to render the scene |
variables | Access to the internal variables used for rendering |
preset_shaders | Gets or sets the preset shader set |
render_factory | Gets the factory to build render-related objects. |
asset_directories | Directories that stored external assets |
post_processings | Active post-processing chain |
enable_shadows | Gets or sets whether to enable shadows. |
render_target | Specify the render target that the following render operations will be performed on. |
node | Gets or sets the Renderer.node instance used to provide world transform matrix. |
frustum | Gets or sets the frustum that used to provide view matrix. |
render_stage | Gets the current render stage. |
material | Gets or sets the material that used to provide material information used by shaders. |
shader | Gets or sets the shader instance used for rendering the geometry. |
fallback_entity_renderer | Gets or sets the fallback entity renderer when the entity has no special renderer defined. |
Methods
Method | Description |
---|---|
clear_cache | 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. |
get_post_processing | Gets a built-in post-processor that supported by the renderer. |
execute | Execute an post processing on specified render target |
create_renderer | Creates a new Renderer with default profile. |
register_entity_renderer | Register the entity renderer for specified entity |
render | Render the specified target |
See Also
- module
aspose.threed.render
- class
Renderer