VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtOsgOverlayResourceProvider.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile:  $ $Revision:  $ $State:  $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtOsgOverlayResourceProvider_H_
00014 #define DtOsgOverlayResourceProvider_H_
00015 
00016 #include <vrvOsg/vrvOsg.h>
00017 #include <vrvGraphics/DtOverlayResourceProvider.h>
00018 
00019 namespace osg
00020 {
00021    class State;
00022 }
00023 
00024 namespace makVrv
00025 {
00026    class DtOsgRenderer;
00027 
00029    class DT_DLL_VRVOSG DtOsgOverlayResourceProvider : public DtOverlayResourceProvider
00030    {
00031    public:
00032 
00034       DtOsgOverlayResourceProvider(DtOsgRenderer& renderer);
00035 
00037       void setState(osg::State* myState);
00038 
00039       virtual unsigned int texture1DId(NativeResourceHandle handle);
00040       virtual unsigned int texture2DId(NativeResourceHandle handle);
00041 
00042    protected:
00043       osg::State* myState;
00044    };
00045 }
00046 
00047 #endif
00048 

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)