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

NameTypeAccessDescription
shader_set'ShaderSet'Read/WriteGets or sets the shader set.
variables'RendererVariableManager'ReadGets the variables.
preset_shaders'PresetShaders'Read/WriteGets or sets the preset shaders.
render_factory'RenderFactory'ReadGets the render factory.
asset_directories``ReadGets the asset directories.
post_processings``ReadGets the post processings.
enable_shadowsboolRead/WriteGets or sets the enable shadows.
render_target``ReadGets the render target.
node'Node'Read/WriteGets or sets the node.
frustum'Frustum'Read/WriteGets or sets the frustum.
render_stage'RenderStage'ReadGets the render stage.
material``Read/WriteGets or sets the material.
shader'ShaderProgram'Read/WriteGets or sets the shader.
fallback_entity_renderer'EntityRenderer'Read/WriteGets or sets the fallback entity renderer.

Methods

SignatureDescription
__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

See Also