![]()  | 
  
    ArcGIS Procedural Runtime
    3.3.11173
    
   | 
 
#include <Texture.h>
Public Types | |
| enum | PixelFormat {  GREY8 = 1, GREY16 = 2, RGB8 = 3, RGBA8 = 4, FLOAT32 = 5 }  | 
  Public Types inherited from prtx::Attributable | |
| using | PrimitiveType = uint8_t | 
Public Member Functions | |
| virtual const uint8_t * | getBuffer () const =0 | 
| virtual size_t | getBufferSize () const =0 | 
| virtual PixelFormat | getFormat () const =0 | 
| virtual uint32_t | getHeight () const =0 | 
| virtual prtx::URIPtr | getURI () const =0 | 
| virtual const std::wstring & | getWarnings () const =0 | 
| virtual uint32_t | getWidth () const =0 | 
| virtual bool | isValid () const =0 | 
  Public Member Functions inherited from prtx::Attributable | |
| virtual void * | getBlindData (const std::wstring &key) const =0 | 
| virtual Bool | getBool (const std::wstring &key) const =0 | 
| virtual const BoolVector & | getBoolArray (const std::wstring &key) const =0 | 
| virtual double | getFloat (const std::wstring &key) const =0 | 
| virtual const DoubleVector & | getFloatArray (const std::wstring &key) const =0 | 
| virtual int32_t | getInt (const std::wstring &key) const =0 | 
| virtual const Int32Vector & | getIntArray (const std::wstring &key) const =0 | 
| virtual const WStringVector & | getKeys () const =0 | 
| virtual const std::wstring & | getString (const std::wstring &key) const =0 | 
| virtual const WStringVector & | getStringArray (const std::wstring &key) const =0 | 
| virtual PrimitiveType | getType (const std::wstring &key) const =0 | 
| virtual bool | hasKey (const std::wstring &key) const =0 | 
  Public Member Functions inherited from prtx::ComparableContent | |
| virtual bool | compare (const ComparableContent &rhs) const =0 | 
| virtual bool | operator!= (const ComparableContent &rhs) const =0 | 
| virtual bool | operator< (const ComparableContent &rhs) const =0 | 
| virtual bool | operator== (const ComparableContent &rhs) const =0 | 
  Public Member Functions inherited from prtx::Content | |
| Content (const Content &)=delete | |
| Content & | operator= (const Content &)=delete | 
Static Public Member Functions | |
| static uint8_t | getBytesPerPixel (PixelFormat format) | 
| static uint8_t | getChannelCount (PixelFormat format) | 
| template<typename S > | |
| static S | getFormatAsString (PixelFormat format) | 
| static PixelFormat | getFormatFromString (const wchar_t *string) | 
| static bool | hasAlpha (PixelFormat format) | 
Static Public Attributes | |
| static const std::wstring | METADATA_KEY_BYTESPERPIXEL | 
| metadata attribute "bytesPerPixel" (PT_INT), corresponds to getBytesPerPixel()  | |
| static const std::wstring | METADATA_KEY_DEPTH | 
| (deprecated) metadata attribute "depth" (PT_INT), corresponds to getBytesPerPixel()  | |
| static const std::wstring | METADATA_KEY_FORMAT | 
| metadata attribute "format" (PT_STRING), i.e. PixelFormat as wstring  | |
| static const std::wstring | METADATA_KEY_GEOTRANSFORM | 
| metadata attribute "geoTransform", see GDALDataset::GetGeoTransform() documentation  | |
| static const std::wstring | METADATA_KEY_HEIGHT | 
| metadata attribute "height" (PT_INT), corresponds to getHeight()  | |
| static const std::wstring | METADATA_KEY_NODATAVALUE | 
| metadata attribute "noDataValue"  | |
| static const std::wstring | METADATA_KEY_OFFSET | 
| metadata attribute "offset"  | |
| static const std::wstring | METADATA_KEY_PROJECTIONREF | 
| metadata attribute "projectionRef"  | |
| static const std::wstring | METADATA_KEY_SCALE | 
| metadata attribute "scale"  | |
| static const std::wstring | METADATA_KEY_UNIT | 
| metadata attribute "unit"  | |
| static const std::wstring | METADATA_KEY_WIDTH | 
| metadata attribute "width" (PT_INT), corresponds to getWidth()  | |
| static const double | METADATA_NODATAVALUE_NONE | 
| sentinel value for the METADATA_KEY_NODATAVALUE attribute = "there is *no* noDataValue").  | |
  Static Public Attributes inherited from prtx::Attributable | |
| static constexpr PrimitiveType | PT_BLIND_DATA = prt::Attributable::PT_BLIND_DATA | 
| static constexpr PrimitiveType | PT_BLIND_DATA_ARRAY = prt::Attributable::PT_BLIND_DATA_ARRAY | 
| static constexpr PrimitiveType | PT_BOOL = prt::Attributable::PT_BOOL | 
| static constexpr PrimitiveType | PT_BOOL_ARRAY = prt::Attributable::PT_BOOL_ARRAY | 
| static constexpr PrimitiveType | PT_COUNT = prt::Attributable::PT_COUNT | 
| static constexpr PrimitiveType | PT_FLOAT = prt::Attributable::PT_FLOAT | 
| static constexpr PrimitiveType | PT_FLOAT_ARRAY = prt::Attributable::PT_FLOAT_ARRAY | 
| static constexpr PrimitiveType | PT_INT = prt::Attributable::PT_INT | 
| static constexpr PrimitiveType | PT_INT_ARRAY = prt::Attributable::PT_INT_ARRAY | 
| static constexpr PrimitiveType | PT_STRING = prt::Attributable::PT_STRING | 
| static constexpr PrimitiveType | PT_STRING_ARRAY = prt::Attributable::PT_STRING_ARRAY | 
| static constexpr PrimitiveType | PT_UNDEFINED = prt::Attributable::PT_UNDEFINED | 
The read-only Texture class allows for Texture access. Every texture supports the essential attributes
Some textures also support some geo-referencing attributes:
Supported pixel formats.
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
      
  | 
  static | 
| format | PixelFormat to query. | 
      
  | 
  static | 
| format | PixelFormat to query. | 
      
  | 
  pure virtual | 
      
  | 
  static | 
| format | PixelFormat to query. | 
      
  | 
  static | 
Throws an exception if string is invalid.
| string | PixelFormat as string (i.e. enum value as string). | 
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
      
  | 
  static | 
| format | PixelFormat to query. | 
      
  | 
  pure virtual | 
 1.8.14