ArcGIS Procedural Runtime
3.2.10650
|
#include <Encoder.h>
Public Member Functions | |
virtual prt::ContentType | getContentType () const final override |
MaterialEncoder (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 | |
Extension & | operator= (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::Callbacks * | getCallbacks () const |
const prt::AttributeMap * | getOptions () const |
Helper base class for all encoders which support the encoding of Material objects. Note that such encoders typically also know how to encode (or defer) dependent content objects such as Texture.
|
inlinefinaloverridevirtual |
Fixates the content type to prt::CT_MATERIAL.
Implements prtx::Extension.