Add a render texture
| <viz>.addRenderTexture( | |
| size = [0,0] | |
| type = viz.TEX_2D | |
| format = viz.TEX_RGBA |
)
size = [0,0]
A list specifying the texture [width,height]
type = viz.TEX_2D
The texture type. Can be one of the following:
viz.TEX_2D
viz.TEX_CUBE
viz.TEX_RECT
format = viz.TEX_RGBA
Texture format. Can be one of the following:
viz.TEX_RGB
viz.TEX_RGBA
viz.TEX_RGB_16
viz.TEX_RGBA_16
viz.TEX_RGB_32
viz.TEX_RGBA_32
viz.TEX_DEPTH
viz.TEX_DEPTH_16
viz.TEX_DEPTH_24
viz.TEX_DEPTH_32
viz.TEX_DEPTH_STENCIL
This command will create a blank texture that can be used with render nodes. The final size of the texture will be the maximum of the texture and render node size.
<multimedia:image> object
<viz>.addRenderNode
<viz>.addBlankTexture
<viz>.addTexture
<viz>.addTextureFromBuffer
<viz>.addVideo