Click or drag to resize
SoPBufferSetRenderToTexture Method (Boolean, SoGLRenderToBufferTextureFormats, SoGLRenderToBufferTextureTargets, Boolean, Boolean)

Specifies settings for the Pbuffer creation.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void SetRenderToTexture(
	bool enable,
	SoGLRenderToBufferTextureFormats format,
	SoGLRenderToBufferTextureTargets target,
	bool autoMipmap,
	bool hasDepth
)

Parameters

enable
Type: SystemBoolean
format
Type: OIV.InventorSoGLRenderToBufferTextureFormats
target
Type: OIV.InventorSoGLRenderToBufferTextureTargets
autoMipmap
Type: SystemBoolean
hasDepth
Type: SystemBoolean
Remarks

Indicates if it must be created to be compliant with rendering to texture and also sets texture attributes.

See Also