GpuMemoryBudget
GPU memory budget for grayscale volume rendering in the 3D view. Auto lets the application choose a suitable value. Named values set a fixed budget in gigabytes. Available values: - Auto: Application chooses a suitable budget automatically. - GB1: 1 GB budget. - GB2: 2 GB budget. - GB4: 4 GB budget. - GB6: 6 GB budget. - GB8: 8 GB budget. - GB12: 12 GB budget. - GB16: 16 GB budget. - GB24: 24 GB budget. - GB32: 32 GB budget.
Import
import ScriptingApi as api
# Access the class
# GpuMemoryBudget is available via api.GpuMemoryBudget
Enumeration Values
Enumeration Budget from GpuMemoryBudget
| Value | Description |
|---|---|
GpuMemoryBudget.Auto | Auto option |
GpuMemoryBudget.GB1 | GB1 option |
GpuMemoryBudget.GB2 | GB2 option |
GpuMemoryBudget.GB4 | GB4 option |
GpuMemoryBudget.GB6 | GB6 option |
GpuMemoryBudget.GB8 | GB8 option |
GpuMemoryBudget.GB12 | GB12 option |
GpuMemoryBudget.GB16 | GB16 option |
GpuMemoryBudget.GB24 | GB24 option |
GpuMemoryBudget.GB32 | GB32 option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.GpuMemoryBudget.Auto