10#ifndef CUDATEXTURERECTANGLE_H
11#define CUDATEXTURERECTANGLE_H
14#include <osg/TextureRectangle>
22class CudaTextureRectangle :
public osg::TextureRectangle
26 CudaTextureRectangle();
27 ~CudaTextureRectangle();
29 virtual void apply(osg::State& state)
const;
31 void resize(osg::State* state,
int w,
int h,
int dataTypeSize);
37 osg::ref_ptr<osg::PixelDataBufferObject> pbo_;
38 CudaGraphicsResource resource_;
39 int resourceDataSize_;
Definition: ARToolKit.h:33