OpenVDB  9.0.1
Public Member Functions | List of all members
ImageHandle< BufferT > Class Template Reference

#include <nanovdb/examples/benchmark/Image.h>

Public Member Functions

 ImageHandle (int width, int height, int log2=7)
 
const Imageimage () const
 
Imageimage ()
 
template<typename U = BufferT>
std::enable_if< BufferTraits< U >::hasDeviceDual, const Image * >::type deviceImage () const
 
template<typename U = BufferT>
std::enable_if< BufferTraits< U >::hasDeviceDual, Image * >::type deviceImage ()
 
template<typename U = BufferT>
std::enable_if< BufferTraits< U >::hasDeviceDual, void >::type deviceUpload (void *stream=nullptr, bool sync=true)
 
template<typename U = BufferT>
std::enable_if< BufferTraits< U >::hasDeviceDual, void >::type deviceDownload (void *stream=nullptr, bool sync=true)
 

Constructor & Destructor Documentation

ImageHandle ( int  width,
int  height,
int  log2 = 7 
)

Member Function Documentation

std::enable_if<BufferTraits<U>::hasDeviceDual, void>::type deviceDownload ( void *  stream = nullptr,
bool  sync = true 
)
inline
std::enable_if<BufferTraits<U>::hasDeviceDual, const Image*>::type deviceImage ( ) const
inline
std::enable_if<BufferTraits<U>::hasDeviceDual, Image*>::type deviceImage ( )
inline
std::enable_if<BufferTraits<U>::hasDeviceDual, void>::type deviceUpload ( void *  stream = nullptr,
bool  sync = true 
)
inline
const Image* image ( ) const
inline
Image* image ( )
inline