SoPBufferSetRenderToTexture Method (Boolean, SoGLRenderToBufferTextureFormats, SoGLRenderToBufferTextureTargets, Boolean, Boolean) |
Specifies settings for the Pbuffer creation.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic void SetRenderToTexture(
bool enable,
SoGLRenderToBufferTextureFormats format,
SoGLRenderToBufferTextureTargets target,
bool autoMipmap,
bool hasDepth
)
Public Sub SetRenderToTexture (
enable As Boolean,
format As SoGLRenderToBufferTextureFormats,
target As SoGLRenderToBufferTextureTargets,
autoMipmap As Boolean,
hasDepth As Boolean
)
public:
void SetRenderToTexture(
bool enable,
SoGLRenderToBufferTextureFormats format,
SoGLRenderToBufferTextureTargets target,
bool autoMipmap,
bool hasDepth
)
member SetRenderToTexture :
enable : bool *
format : SoGLRenderToBufferTextureFormats *
target : SoGLRenderToBufferTextureTargets *
autoMipmap : bool *
hasDepth : bool -> unit
Parameters
- enable
- Type: SystemBoolean
- format
- Type: OIV.InventorSoGLRenderToBufferTextureFormats
- target
- Type: OIV.InventorSoGLRenderToBufferTextureTargets
- autoMipmap
- Type: SystemBoolean
- hasDepth
- Type: SystemBoolean
RemarksIndicates if it must be created to be compliant with rendering to texture and also sets texture attributes.
See Also