ArcGIS Procedural Runtime  3.2.10650
List of all members | Public Member Functions
prtx::TextureEncoder Class Reference

#include <Encoder.h>

Inheritance diagram for prtx::TextureEncoder:
[legend]

Public Member Functions

virtual prt::ContentType getContentType () const
 
 TextureEncoder (const std::wstring &id, const prt::AttributeMap *options, prt::Callbacks *callbacks)
 
- Public Member Functions inherited from prtx::Encoder
virtual void encode (GenerateContext &context, size_t initialShapeIndex)
 
virtual void encode (const prtx::ContentPtrVector &content)
 
 Encoder (const std::wstring &id, const prt::AttributeMap *options, prt::Callbacks *callbacks)
 
virtual void finish (prtx::GenerateContext &context)
 
virtual ExtensionType getExtensionType () const final override
 
const std::wstring & getID () const
 
virtual void init (GenerateContext &context)
 
virtual bool validate (GenerateContext &context, size_t initialShapeIndex) const
 
- Public Member Functions inherited from prtx::Extension
 Extension (const Extension &)=delete
 
Extensionoperator= (const Extension &)=delete
 

Additional Inherited Members

- Public Types inherited from prtx::Extension
enum  ExtensionType {
  ET_UNDEFINED,
  ET_STREAM_ADAPTOR,
  ET_RESOLVEMAP_PROVIDER,
  ET_ENCODER,
  ET_DECODER,
  ET_COUNT
}
 
- Static Public Member Functions inherited from prtx::Extension
static prt::ContentType toContentType (const std::wstring &ctStr)
 
static ExtensionType toExtensionType (const std::wstring &etStr)
 
static const std::wstring & toString (const ExtensionType &et)
 
static const std::wstring & toString (const prt::ContentType &ct)
 
- Protected Member Functions inherited from prtx::Encoder
prt::CallbacksgetCallbacks () const
 
const prt::AttributeMapgetOptions () const
 

Detailed Description

Helper base class for all encoders which support the encoding of Texture objects.

Member Function Documentation

◆ getContentType()

virtual prt::ContentType prtx::TextureEncoder::getContentType ( ) const
inlinevirtual

Fixates the content type to prt::CT_TEXTURE.

Returns
Always returns prt::CT_TEXTURE.

Implements prtx::Extension.


The documentation for this class was generated from the following file: