Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
openCLInfo [-minVertexBuffer] [-valid]
openCLInfo is NOT undoable, queryable, and NOT editable.
Query OpenCL information.
boolean | The state of whether OpenCL is initialized or not (with the 'valid' flag) |
In query mode, return type is based on queried flag.
OpenCL, debug
minVertexBuffer, valid
Long name (short name) |
Argument types |
Properties |
-minVertexBuffer(-mvb)
|
|
|
|
Valid in query mode only. Returns the minimum vertex buffer size.
|
|
-valid(-v)
|
|
|
|
Valid in query mode only. Checks if OpenCL is initialized.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Query if OpenCL is initialized or not
openCLInfo -q -valid;
// Result: 1 //
// Query the minimum vertex buffer size
openCLInfo -q -mvb;
// Result: 2000 //