SamplerFactory.cpp 803 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Copyright (C) 2009-2017, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #include <anki/gr/vulkan/SamplerFactory.h>
  6. #include <anki/gr/vulkan/GrManagerImpl.h>
  7. namespace anki
  8. {
  9. MicroSampler::~MicroSampler()
  10. {
  11. // TODO
  12. }
  13. GrAllocator<U8> MicroSampler::getAllocator() const
  14. {
  15. return m_factory->m_gr->getAllocator();
  16. }
  17. Error MicroSampler::init(const SamplerInitInfo& inf)
  18. {
  19. // TODO
  20. return Error::NONE;
  21. }
  22. Error SamplerFactory::init(GrManagerImpl* gr)
  23. {
  24. ANKI_ASSERT(gr);
  25. // TODO
  26. return Error::NONE;
  27. }
  28. void SamplerFactory::destroy()
  29. {
  30. // TODO
  31. }
  32. Error SamplerFactory::newInstance(const SamplerInitInfo& inf, MicroSamplerPtr& psampler)
  33. {
  34. // TODO
  35. return Error::NONE;
  36. }
  37. } // end namespace anki