Uranium
Application Framework
Loading...
Searching...
No Matches
UM.View.DefaultPass.DefaultPass Class Reference

A render pass subclass that renders everything with the default parameters. More...

Inheritance diagram for UM.View.DefaultPass.DefaultPass:
UM.View.RenderPass.RenderPass

Public Member Functions

 __init__ (self, width, height)
 
 render (self)
 Render the contents of this render pass.
 
- Public Member Functions inherited from UM.View.RenderPass.RenderPass
 __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
 
- Protected Attributes inherited from UM.View.RenderPass.RenderPass
 _name
 
 _width
 
 _height
 
 _priority
 
 _gl
 
 _fbo
 

Additional Inherited Members

- Static Public Attributes inherited from UM.View.RenderPass.RenderPass
int MaximumPriority = 999
 The maximum priority of a render pass.
 
- Protected Member Functions inherited from UM.View.RenderPass.RenderPass
 _updateRenderStorage (self)
 private:
 

Detailed Description

A render pass subclass that renders everything with the default parameters.

This class provides the basic rendering of the objects in the scene.

Constructor & Destructor Documentation

◆ __init__()

UM.View.DefaultPass.DefaultPass.__init__ (   self,
  width,
  height 
)

Reimplemented from UM.View.RenderPass.RenderPass.

Member Function Documentation

◆ render()

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.


The documentation for this class was generated from the following file: