|
| | NoiseTexture2D (TextureDescriptor const &descriptor, std::shared_ptr< Math::Random::ARandom > prng) |
| |
| | NoiseTexture2D (TextureDescriptor const &descriptor, std::shared_ptr< Math::Noise::ANoise > noise, uint32_t xOffset=0, uint32_t yOffset=0) |
| |
| | Texture2D (TextureDescriptor const &descriptor) |
| |
| virtual void | unload () |
| |
| virtual void | apply () |
| |
| virtual void | refresh () |
| |
| Core::Color | getPixel (uint32_t x, uint32_t y) const |
| |
| bool | setPixel (uint32_t x, uint32_t y, Core::Color const &color) |
| |
| bool | getPixels (std::vector< Core::Color > &pixels, uint32_t startX=0, uint32_t startY=0, uint32_t width=0, uint32_t height=0) const |
| |
| bool | setPixels (std::vector< Core::Color > const &pixels, uint32_t startX=0, uint32_t startY=0, uint32_t width=0, uint32_t height=0) |
| |
| unsigned | getWidth () const |
| |
| void | setWidth (uint32_t const &width) |
| |
| unsigned | getHeight () const |
| |
| void | setHeight (uint32_t const &height) |
| |
| | Texture (TextureDescriptor const &descriptor) |
| |
| TextureDescriptor | getDescriptor () const |
| |
| | Resource (File const &source) |
| |
| virtual void | forceLoad () |
| |
| File | getSourceFile () const |
| |
| void | setSourceFile (File const &file) |
| |
| void | setIsInMemory (bool inMemory) |
| |
| bool | isInMemory () const |
| |
| void | setSize (uint64_t size) |
| |
| uint64_t | getSize () const |
| |
| ResourceType | getResourceType () const |
| |
|
void | setName (std::string const &name) |
| |
|
std::string const & | getName () const |
| |
| std::string const & | getMappingName () const |
| |
| void | setMappingName (std::string const &name) |
| |
| ResourceMetadata * | getMetadata () const |
| |
| void | setMetadata (ResourceMetadata *metadata) |
| |
Creates a Texture2D from a provided noise algorithm.
This can either be pure noise from a PRNG or coherent noise from an algorithm in Math::Noise.