Renderer
Overview
Renderer is a class in Aspose.3D FOSS for Python.
The context about renderer.
This class declares 7 methods for Renderer objects in Python programs.
Available methods include: __init__, clear_cache, create_renderer, execute, get_post_processing, register_entity_renderer, render.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: asset_directories, enable_shadows, fallback_entity_renderer, frustum, material, node, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
shader_set | 'ShaderSet' | Read/Write | Gets or sets the shader set. |
variables | 'RendererVariableManager' | Read | Gets the variables. |
preset_shaders | 'PresetShaders' | Read/Write | Gets or sets the preset shaders. |
render_factory | 'RenderFactory' | Read | Gets the render factory. |
asset_directories | `` | Read | Gets the asset directories. |
post_processings | `` | Read | Gets the post processings. |
enable_shadows | bool | Read/Write | Gets or sets the enable shadows. |
render_target | `` | Read | Gets the render target. |
node | 'Node' | Read/Write | Gets or sets the node. |
frustum | 'Frustum' | Read/Write | Gets or sets the frustum. |
render_stage | 'RenderStage' | Read | Gets the render stage. |
material | `` | Read/Write | Gets or sets the material. |
shader | 'ShaderProgram' | Read/Write | Gets or sets the shader. |
fallback_entity_renderer | 'EntityRenderer' | Read/Write | Gets or sets the fallback entity renderer. |
Methods
| Signature | Description |
|---|---|
__init__() | Not implemented in the FOSS edition — throws at runtime. Calls init on this Renderer instance. |
clear_cache() | Not implemented in the FOSS edition — throws at runtime. ` clears any cached rendering data, ensuring that subsequent render calls start with a fresh state |
get_post_processing(name: str) | Not implemented in the FOSS edition — throws at runtime. Calls get_post_processing(name) on this Renderer instance. |
execute(post_processing, result) | Not implemented in the FOSS edition — throws at runtime. Calls execute(post_processing, result) on this Renderer instance. |
create_renderer() → 'Renderer' | Not implemented in the FOSS edition — throws at runtime. returns a newRenderer` instance that can be configured independently of existing renderers |
register_entity_renderer(renderer) | Not implemented in the FOSS edition — throws at runtime. Calls register_entity_renderer(renderer) on this Renderer instance. |
render(render_target) | Not implemented in the FOSS edition — throws at runtime. Executes the rendering pipeline and writes the result to the specified target |