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: 2023.1.3.0 (2023.1.3)
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