NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
BasicMaterial.h
Go to the documentation of this file.
00001 
00010 #pragma once
00011 
00012 // Standard Includes
00013 #include <string>
00014 
00015 // Library Includes
00016 #include <d3d9.h>
00017 
00018 // Local Includes
00019 #include "MaterialInterface.h"
00020 
00021 // Forward Declarations
00022 
00023 // Typedefs
00024 
00025 // Classes
00026 namespace GraphicsCore {
00027   class BasicMaterial : public MaterialInterface {
00028   public:
00030     BasicMaterial();
00032     BasicMaterial(Color, Color, Color, Color, float);
00034     BasicMaterial(Material&);
00035     
00036     virtual ~BasicMaterial();
00037     
00038   private: // Inherited interface function implmentations should be private to help the compiler detect potential issues if the interface changes.
00039     void Apply(LPDIRECT3DDEVICE9);
00040     
00041   private: // Helper methods
00042     void Init(Material);
00043     
00044   private:
00045     Material material;
00046     
00047   };
00048 }