RenderPass
Introduction
vtkRenderPass is a deferred class with a simple deferred method Render.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkRenderPass characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IRenderPassInitialValues | No | (default: {}) |
getCaptureDelegateOutput
True when this pass captures the color texture of its delegates and writes the final image itself, which lets those delegates skip their own blit.
getCurrentOperation
getCurrentParent
getDelegates
getOperation
getPostDelegateOperations
getPreDelegateOperations
getTraverseOperation
newInstance
Method used to create a new instance of vtkRenderPass.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IRenderPassInitialValues | No | for pre-setting some of its content |
releaseGraphicsResources
Release the GPU resources this pass owns, and those of the passes it delegates to. A pass that holds another pass outside its delegates is responsible for releasing that pass itself.
| Argument | Type | Required | Description |
|---|---|---|---|
viewNode | Yes |
setCurrentOperation
| Argument | Type | Required | Description |
|---|---|---|---|
val | String | Yes |
setCurrentParent
| Argument | Type | Required | Description |
|---|---|---|---|
currentParent | Yes |
setDelegates
| Argument | Type | Required | Description |
|---|---|---|---|
delegates | Yes |
setPostDelegateOperations
| Argument | Type | Required | Description |
|---|---|---|---|
postDelegateOperations | Yes |
setPreDelegateOperations
| Argument | Type | Required | Description |
|---|---|---|---|
preDelegateOperations | Yes |
traverse
by default this class will traverse all of its preDelegateOperations, then call its delegate render passes the traverse all of its postDelegateOperations any of those three arrays can be empty
| Argument | Type | Required | Description |
|---|---|---|---|
viewNode | Yes | ||
parent | Yes |