Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::GPUImageBufferRepository Class Reference

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 GPUImageBufferRepositorygetInstance ()
 
static void shutdown ()
 

Detailed Description

Repository for GPU buffers.

Use this repository for avoiding multiple allocations of buffer data. *

Definition at line 133 of file cxGPUImageBuffer.h.

Member Function Documentation

void cx::GPUImageBufferRepository::clear ( )

Free all resources in the repository, for instance on session change

Definition at line 555 of file cxGPUImageBuffer.cpp.

GPUImageDataBufferPtr cx::GPUImageBufferRepository::getGPUImageDataBuffer ( vtkImageDataPtr  volume)

Definition at line 591 of file cxGPUImageBuffer.cpp.

GPUImageLutBufferPtr cx::GPUImageBufferRepository::getGPUImageLutBuffer ( vtkUnsignedCharArrayPtr  lut)

Definition at line 596 of file cxGPUImageBuffer.cpp.

GPUImageBufferRepository * cx::GPUImageBufferRepository::getInstance ( )
static

Definition at line 561 of file cxGPUImageBuffer.cpp.

int cx::GPUImageBufferRepository::getMemoryUsage ( int *  textures)

Definition at line 586 of file cxGPUImageBuffer.cpp.

void cx::GPUImageBufferRepository::shutdown ( )
static

Definition at line 570 of file cxGPUImageBuffer.cpp.


The documentation for this class was generated from the following files: