<node3d:renderNode>.getRenderTexture

Gets the render texture attached to the specified buffer

 

<node3d:renderNode>.getRenderTexture(
    buffer = viz.RENDER_COLOR    

)

 

buffer = viz.RENDER_COLOR

The render buffer to retrieve the texture from. Can be one of the following:

Render buffer modes

viz.RENDER_COLOR

The color buffer

viz.RENDER_DEPTH

The depth buffer

viz.RENDER_STENCIL

The stencil buffer

viz.RENDER_DEPTH_STENCIL

The depth/stencil buffer

viz.RENDER_COLOR0 + i

The ith color attachment


Remarks

Returns the texture object attached to the render node in the specified buffer slot.

Return Value

VizTexture object

See also

<node3d:renderNode>.setRenderTexture