Click or drag to resize
SoRenderToTargettargets Property

This field allows to attach a texture to a specific attachment.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoMFNode targets { get; }

Property Value

Type: SoMFNode
Remarks

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;

See Also