Click or drag to resize
SoGpuBufferObjectSetSize Method

Sets the size in bytes of the buffer object.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public override bool SetSize(
	ulong size
)

Parameters

size
Type: SystemUInt64

The requested size in bytes.

Return Value

Type: Boolean

true if the operation was successful.

Remarks

If the requested size is the same as the current size, this method does nothing and returns true. If there is existing memory that is owned by the buffer object, that memory is released. If the requested size is zero, the buffer object is now empty.

See Also