Click or drag to resize
SoRenderToTargetlayers Property

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoMFInt32 layers { get; }

Property Value

Type: SoMFInt32
Remarks

It describes the layer where the color attachment must be written, along the Z dimension for OIV.Inventor.Nodes.SoTexture3, or the cube map face for OIV.Inventor.Nodes.SoTextureCubeMap (the cube map faces order is presented in the table below). This field is indexed by color attachments (i.e. from COLOR0 to COLOR15) and has no effect when targets are of type OIV.Inventor.Nodes.SoTexture2 or when target attachments are DEPTH or STENCIL, which require a OIV.Inventor.Nodes.SoTexture2 Target.

Layer number Cube Map Face
0 Positive X
1 Negative X
2 Positive Y
3 Negative Y
4 Positive Z
5 Negative Z

See Also