Uranium
Application Framework
|
A RenderPass subclass responsible for rendering selectable objects to a texture. More...
Public Member Functions | |
def | __init__ (self, width, height) |
def | render (self) |
Perform the actual rendering. More... | |
def | getIdAtPosition (self, x, y) |
Get the object id at a certain pixel coordinate. More... | |
![]() | |
def | __init__ (self, name, width, height, priority=0) |
def | getName (self) |
Get the name of this RenderPass. More... | |
def | getPriority (self) |
Get the priority of this RenderPass. More... | |
def | setSize (self, width, height) |
Set the size of this render pass. More... | |
def | bind (self) |
Bind the render pass so it can be rendered to. More... | |
def | release (self) |
Release the render pass. More... | |
def | render (self) |
Render the contents of this render pass. More... | |
def | getTextureId (self) |
Get the texture ID of this render pass so it can be reused by other passes. More... | |
def | getOutput (self) |
Get the pixel data produced by this render pass. More... | |
Additional Inherited Members | |
![]() | |
int | MaximumPriority = 999 |
The maximum priority of a render pass. More... | |
A RenderPass subclass responsible for rendering selectable objects to a texture.
This pass performs the rendering of selectable objects to a texture that can be sampled to retrieve the actual object that was underneath the mouse cursor. Additionally, information about what objects are actually selected is rendered into the alpha channel of this render pass so it can be used later on in the composite pass.
def UM.View.SelectionPass.SelectionPass.getIdAtPosition | ( | self, | |
x, | |||
y | |||
) |
Get the object id at a certain pixel coordinate.
def UM.View.SelectionPass.SelectionPass.render | ( | self | ) |
Perform the actual rendering.