DI-Guy SDK Documentation  13.8
diguyDx9GraphicsMaterial.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 /*****************************************************************************
7  **
8  *2 diguyDx9GraphicsMaterial
9  **
10  ** This class is part of the DI-Guy Graphics API. It overrides the class
11  ** diguyGraphicsMaterial. Detailed documentation is in the
12  ** implementation file documentation
13  ** <a href="diguyDx9GraphicsMaterial.cpp.html">here</a>.
14  */
15 
16 #ifndef diguyDx9GraphicsMaterial_h__
17 #define diguyDx9GraphicsMaterial_h__
18 
19 #include <diguyGraphicsMaterial.h>
20 #include "dx9_headers.h"
21 
22 /****************************************************************************/
24 {
25 
26 public:
27 
28  diguyDx9GraphicsMaterial(void* internal_data);
29 
30  virtual void build();
31  virtual void unbuild();
32  virtual void bind_now();
33 
34 protected:
35 
36  void apply_material();
37 
38  D3DMATERIAL9 m_material;
39 };
40 
46 
47 #endif /* diguyDx9GraphicsMaterial_h__ */
48 
virtual void build()
This function will be called by DI-Guy when it is time for a renderer-specific material object to be ...
diguyGraphicsMaterial * diguyDx9GraphicsMaterial_create_func(void *internal_data)
Create function declaration.
A class that represents a shared material.
Definition: diguyGraphicsMaterial.h:41
virtual void bind_now()
This function will be called by DI-Guy when the material should be made active, or bound...
virtual void unbuild()
This function will be called by DI-Guy when it is time for a renderer-specific material object to be ...
D3DMATERIAL9 m_material
Definition: diguyDx9GraphicsMaterial.h:38
Definition: diguyDx9GraphicsMaterial.h:23
diguyDx9GraphicsMaterial(void *internal_data)