|
Wasabi
|
#include <WMaterial.hpp>
Public Member Functions | |
| template<typename T > | |
| WError | SetVariable (const char *varName, T value) |
| template<typename T > | |
| WError | SetVariableArray (const char *varName, T *arr, int numElements) |
| WError | SetVariableData (const char *varName, void *data, size_t len) |
| WError | SetTexture (uint32_t bindingIndex, class WImage *img, uint32_t arrayIndex=0) |
| WError | SetTexture (std::string name, class WImage *img, uint32_t arrayIndex=0) |
Public Attributes | |
| std::unordered_map< WMaterial *, bool > | m_materials |
Helper class to deal with a collection of materials using the same interface as a single one.
1.8.17