MaterialRuntime.cpp 957 B

12345678910111213141516171819202122232425262728293031
  1. #include "anki/script/Common.h"
  2. #include "anki/scene/MaterialRuntime.h"
  3. WRAP(MaterialRuntimeVariable)
  4. {
  5. class_<MaterialRuntimeVariable, noncopyable>("MaterialRuntimeVariable",
  6. no_init)
  7. /*.def("setValue", (void (MaterialRuntimeVariable::*)(const float&))
  8. (&MaterialRuntimeVariable::setValue))
  9. .def("setValue", (void (MaterialRuntimeVariable::*)(const Vec2&))
  10. (&MaterialRuntimeVariable::setValue))
  11. .def("setValue", (void (MaterialRuntimeVariable::*)(const Vec3&))
  12. (&MaterialRuntimeVariable::setValue))*/
  13. ;
  14. }
  15. WRAP(MaterialRuntime)
  16. {
  17. class_<MaterialRuntime, noncopyable>("MaterialRuntime", no_init)
  18. /*.def("getVariables",
  19. (MaterialRuntime::VariablesContainer&
  20. (MaterialRuntime::*)())(&MaterialRuntime::getVariables),
  21. return_value_policy<reference_existing_object>())
  22. .def("getWireframe", (bool (MaterialRuntime::*)() const)(
  23. &MaterialRuntime::getWireframe))
  24. .def("setWireframe", &MaterialRuntime::setWireframe)*/
  25. ;
  26. }