SoRenderToTargettargets Property |
This field allows to attach a texture to a specific attachment.
Namespace: OIV.Inventor.Nodes
Supported target types are OIV.Inventor.Nodes.SoTexture2, OIV.Inventor.Nodes.SoTexture3 and OIV.Inventor.Nodes.SoTextureCubeMap. Default is empty (no targets).
NOTE: This field is indexed using the Attachment enum. For example (in pseudo-code):
targets[COLOR0] = rgbaTexture;
targets[STENCIL] = stencilTexture;