3#include <osgDB/ReadFile>
4#include <osg/Texture2D>
12 virtual void setMaterialType(osg::ref_ptr<osg::Material>& mat,
float r,
float g,
float b,
float t) = 0;
13 virtual void loadTexture(osg::ref_ptr<osg::Texture2D>& texture2D) {};
Definition MaterialBase.h:7
virtual ~MaterialBase()
Definition MaterialBase.h:11
bool hasTexture
Definition MaterialBase.h:10
virtual void setMaterialType(osg::ref_ptr< osg::Material > &mat, float r, float g, float b, float t)=0
virtual void loadTexture(osg::ref_ptr< osg::Texture2D > &texture2D)
Definition MaterialBase.h:13
MaterialBase()
Definition MaterialBase.h:9