SoGLBufferObjectSetTarget Method |
Specify the buffer target, which defines possible usage of the buffer.
Namespace: OIV.Inventor.DevicesAssembly: OIV.Inventor.GL (in OIV.Inventor.GL.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetTarget(
SoGLBufferObjectBufferObjectTargets target
)
Public Sub SetTarget (
target As SoGLBufferObjectBufferObjectTargets
)
public:
void SetTarget(
SoGLBufferObjectBufferObjectTargets target
)
member SetTarget :
target : SoGLBufferObjectBufferObjectTargets -> unit
Parameters
- target
- Type: OIV.Inventor.DevicesSoGLBufferObjectBufferObjectTargets
The new target of the buffer.
Remarks WARNING: The function setTarget must be called before any operation for which OpenGL requires the target to be specified.
See Also