ForwardPass
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkForwardPass 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 | IForwardPassInitialValues | No | (default: {}) |
getFramebuffer
Get the framebuffer the depth capture renders into, or null when no depth capture has been needed yet.
getOpaqueActorCount
Get the number of opaque actors seen by the last query pass.
getTranslucentActorCount
Get the number of translucent actors seen by the last query pass.
getVolumeCount
Get the number of volumes seen by the last query pass.
getZBufferTexture
Get the color texture holding the captured z-buffer, or null/undefined when no depth capture has been needed yet.
incrementOpaqueActorCount
Count one opaque actor for the current query pass, and return the count before the increment.
incrementOverlayActorCount
Count one overlay actor for the current query pass, and return the count before the increment.
incrementTranslucentActorCount
Count one translucent actor for the current query pass, and return the count before the increment.
incrementVolumeCount
Count one volume for the current query pass, and return the count before the increment.
newInstance
Method used to create a new instance of vtkForwardPass.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IForwardPassInitialValues | No | for pre-setting some of its content |
requestDepth
Ask for a z-buffer capture on the next traversal, whether or not the scene mixes geometry and volumes.