17 #ifndef HUSD_Compositor_h
18 #define HUSD_Compositor_h
43 int num_components) = 0;
49 int num_components) = 0;
55 bool stealdata =
false,
56 bool keeptexture =
false) = 0;
61 bool stealdata =
false,
62 bool keeptexture =
false) = 0;
virtual ~HUSD_Compositor()
virtual void updateInstanceIDBuffer(void *data, PXL_DataFormat df, bool stealdata=false, bool keeptexture=false)=0
virtual void saveBuffers(const UT_StringHolder &colorfile, const UT_StringHolder &depthfile) const
virtual void updatePrimIDBuffer(void *data, PXL_DataFormat df, bool stealdata=false, bool keeptexture=false)=0
virtual void updatePrimIDTexture(int id)
virtual void updateDepthTexture(int id)
virtual const PXL_Raster * instanceID() const =0
GLfloat GLfloat GLfloat GLfloat h
virtual void updateDepthBuffer(void *data, PXL_DataFormat df, int num_components)=0
GLubyte GLubyte GLubyte GLubyte w
virtual void updateInstIDTexture(int id)
virtual void updateColorBuffer(void *data, PXL_DataFormat df, int num_components)=0
void setResolution(int w, int h)
virtual void updateColorTexture(int id)
virtual const PXL_Raster * primID() const =0