Ocular Engine
NoiseTexture2D.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_GRAPHICS_RANDOM_TEXTURE2D__
19 #define __H__OCULAR_GRAPHICS_RANDOM_TEXTURE2D__
20 
21 #include "Texture2D.hpp"
22 #include "Math/Random/Random.hpp"
23 #include "Math/Noise/ANoise.hpp"
24 
25 //------------------------------------------------------------------------------------------
26 
31 namespace Ocular
32 {
37  namespace Graphics
38  {
47  class NoiseTexture2D : public Texture2D
48  {
49  public:
50 
57  NoiseTexture2D(TextureDescriptor const& descriptor, std::shared_ptr<Math::Random::ARandom> prng);
58 
67  NoiseTexture2D(TextureDescriptor const& descriptor, std::shared_ptr<Math::Noise::ANoise> noise, uint32_t xOffset = 0, uint32_t yOffset = 0);
68 
69  protected:
70 
71  private:
72  };
73  }
77 }
82 //------------------------------------------------------------------------------------------
83 
84 #endif
Definition: Texture2D.hpp:45
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
NoiseTexture2D(TextureDescriptor const &descriptor, std::shared_ptr< Math::Random::ARandom > prng)
Definition: NoiseTexture2D.cpp:29
Definition: TextureDescriptor.hpp:45
Definition: NoiseTexture2D.hpp:47