![]() |
CustusX
18.04-rc5
An IGT application
|
Repository for GPU buffers. More...
#include <cxGPUImageBuffer.h>
Public Member Functions | |
| GPUImageDataBufferPtr | getGPUImageDataBuffer (vtkImageDataPtr volume) |
| GPUImageLutBufferPtr | getGPUImageLutBuffer (vtkUnsignedCharArrayPtr lut) |
| int | getMemoryUsage (int *textures) |
| void | clear () |
Static Public Member Functions | |
| static GPUImageBufferRepository * | getInstance () |
| static void | shutdown () |
Repository for GPU buffers.
Use this repository for avoiding multiple allocations of buffer data. *
Definition at line 112 of file cxGPUImageBuffer.h.
| void cx::GPUImageBufferRepository::clear | ( | ) |
Free all resources in the repository, for instance on session change
Definition at line 546 of file cxGPUImageBuffer.cpp.
| GPUImageDataBufferPtr cx::GPUImageBufferRepository::getGPUImageDataBuffer | ( | vtkImageDataPtr | volume | ) |
Definition at line 582 of file cxGPUImageBuffer.cpp.
| GPUImageLutBufferPtr cx::GPUImageBufferRepository::getGPUImageLutBuffer | ( | vtkUnsignedCharArrayPtr | lut | ) |
Definition at line 587 of file cxGPUImageBuffer.cpp.
|
static |
Definition at line 552 of file cxGPUImageBuffer.cpp.
| int cx::GPUImageBufferRepository::getMemoryUsage | ( | int * | textures | ) |
Definition at line 577 of file cxGPUImageBuffer.cpp.
|
static |
Definition at line 561 of file cxGPUImageBuffer.cpp.