Uranium
Application Framework
|
A render pass subclass that renders everything with the default parameters. More...
Public Member Functions | |
__init__ (self, width, height) | |
render (self) | |
Render the contents of this render pass. | |
![]() | |
__init__ (self, name, width, height, priority=0) | |
getName (self) | |
Get the name of this RenderPass. | |
getSize (self) | |
getPriority (self) | |
Get the priority of this RenderPass. | |
setSize (self, width, height) | |
Set the size of this render pass. | |
bind (self) | |
Bind the render pass so it can be rendered to. | |
release (self) | |
Release the render pass. | |
render (self) | |
Render the contents of this render pass. | |
getTextureId (self) | |
Get the texture ID of this render pass so it can be reused by other passes. | |
getOutput (self) | |
Get the pixel data produced by this render pass. | |
Protected Attributes | |
_renderer | |
![]() | |
_name | |
_width | |
_height | |
_priority | |
_gl | |
_fbo | |
Additional Inherited Members | |
![]() | |
int | MaximumPriority = 999 |
The maximum priority of a render pass. | |
![]() | |
_updateRenderStorage (self) | |
private: | |
A render pass subclass that renders everything with the default parameters.
This class provides the basic rendering of the objects in the scene.
UM.View.DefaultPass.DefaultPass.__init__ | ( | self, | |
width, | |||
height | |||
) |
Reimplemented from UM.View.RenderPass.RenderPass.
UM.View.DefaultPass.DefaultPass.render | ( | self | ) |
Render the contents of this render pass.
This method should be reimplemented by subclasses to perform the actual rendering of the render pass.
Reimplemented from UM.View.RenderPass.RenderPass.