#pragma once //- // =========================================================================== // Copyright 2019 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // =========================================================================== //+ #include #include #include #include OPENMAYA_MAJOR_NAMESPACE_OPEN // **************************************************************************** // NAMESPACE namespace MHWRender { // **************************************************************************** // CLASS DECLARATION (MPxImagePlaneOverride) //! \ingroup OpenMayaRender MPx //! \brief Base class for user defined image plane draw overrides. class OPENMAYARENDER_EXPORT OPENMAYA_DEPRECATED(2020, "The class isn't required for MPxImagePlane to be supported in Viewport 2.0.") MPxImagePlaneOverride { public: MPxImagePlaneOverride(const MObject& obj); virtual ~MPxImagePlaneOverride(); virtual ::MHWRender::DrawAPI supportedDrawAPIs() const; static const char* className(); MString getFileName(bool useImageSequence); virtual void updateDG(); virtual void updateColorTexture(); OPENMAYA_PRIVATE: void *fData; }; }// namespace MHWRender OPENMAYA_NAMESPACE_CLOSE