VR-Forces 4.0.4 Class Documentation
include/vrvGraphics/DtPixelBufferObject.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00007 
00008 #pragma once
00009 
00010 #include <vrvGraphics/vrvGraphics.h>
00011 
00012 namespace makVrv
00013 {
00014 
00018    class DT_DLL_VRVGRAPHICS DtPixelBufferObject
00019    {
00020    public:
00021 
00022       DtPixelBufferObject();
00023       ~DtPixelBufferObject();
00024 
00026       void downloadFromTexture(unsigned int texture, int w, int h);
00027 
00032       void getData(void* data);
00033 
00035       unsigned int bufferSize() const;
00036 
00037    protected:
00038       unsigned int myBufferObject;
00039       unsigned int myBufferSize;
00040    };
00041 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)