![]() |
ArcGIS Procedural Runtime
3.3.11173
|
#include <Texture.h>
Public Member Functions | |
| TexturePtr | createTexture (const prtx::URIPtr &uri, uint32_t width, uint32_t height, const Texture::PixelFormat &format, uint8_t *buffer) |
| TexturePtr | createTextureAndReset (const prtx::URIPtr &uri, uint32_t width, uint32_t height, const Texture::PixelFormat &format, uint8_t *buffer) |
| TextureBuilder & | operator= (const TextureBuilder &)=delete |
| virtual void | setBlindData (const std::wstring &key, void *val) |
| virtual void | setBool (const std::wstring &key, Bool val) |
| virtual void | setBoolArray (const std::wstring &key, const std::vector< Bool > &val) |
| virtual void | setFloat (const std::wstring &key, double val) |
| virtual void | setFloatArray (const std::wstring &key, const std::vector< double > &val) |
| virtual void | setInt (const std::wstring &key, int32_t val) |
| virtual void | setIntArray (const std::wstring &key, const std::vector< int > &val) |
| virtual void | setString (const std::wstring &key, const std::wstring &val) |
| virtual void | setStringArray (const std::wstring &key, const WStringVector &val) |
| TextureBuilder (const TextureBuilder &)=delete | |
Public Member Functions inherited from prtx::AttributableSetter | |
| virtual void | setBoolArray (const std::wstring &key, const BoolVector &val)=0 |
| virtual void | setIntArray (const std::wstring &key, const Int32Vector &val)=0 |
Builder for Texture instances. Set metadata values first and then use a create function to createXXX() an instance. See Texture for valid metadata keys.
| TexturePtr prtx::TextureBuilder::createTexture | ( | const prtx::URIPtr & | uri, |
| uint32_t | width, | ||
| uint32_t | height, | ||
| const Texture::PixelFormat & | format, | ||
| uint8_t * | buffer | ||
| ) |
Creates a Texture instance with the currently set metadata.
| TexturePtr prtx::TextureBuilder::createTextureAndReset | ( | const prtx::URIPtr & | uri, |
| uint32_t | width, | ||
| uint32_t | height, | ||
| const Texture::PixelFormat & | format, | ||
| uint8_t * | buffer | ||
| ) |
Creates a Texture instance with the currently set metadata and resets the builder.
|
virtual |
Sets a blind data value.
| key | The key of the value. |
| val | The blind data value to set. |
Implements prtx::AttributableSetter.
|
virtual |
Sets a boolean value.
| key | The key of the value. |
| val | The value to set. |
Implements prtx::AttributableSetter.
|
virtual |
Sets a float value.
| key | The key of the value. |
| val | The value to set. |
Implements prtx::AttributableSetter.
|
virtual |
Sets a float array.
| key | The key of the array. |
| val | Vector with the values to set. |
Implements prtx::AttributableSetter.
|
virtual |
Sets an integer value.
| key | The key of the value. |
| val | The value to set. |
Implements prtx::AttributableSetter.
|
virtual |
Sets a string value.
| key | The key of the string. |
| val | The string to set. |
Implements prtx::AttributableSetter.
|
virtual |
Sets a string array.
| key | The key of the array. |
| val | Vector with the values to set. |
Implements prtx::AttributableSetter.
1.8.14