#include <RhRdkContentIOPlugIn.h>
This class allows a plug-in to provide custom file formats for loading and saving content.
Please use CRhRdkContentIOPlugInEx instead of CRhRdkContentIOPlugIn. 
◆ CanLoad()
  
  | 
        
          | virtual bool CRhRdkContentIOPlugIn::CanLoad | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- true if the plug-in is capable of loading content. 
 
 
◆ CanSave()
  
  | 
        
          | virtual bool CRhRdkContentIOPlugIn::CanSave | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- true if the plug-in is capable of saving content. 
 
 
◆ Description()
  
  | 
        
          | virtual const wchar_t* CRhRdkContentIOPlugIn::Description | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- The description of the file format (e.g., "JPEG Files" 
 
 
◆ EVF()
  
  | 
        
          | virtual void* CRhRdkContentIOPlugIn::EVF | ( | const wchar_t * | , |  
          |  |  | void * |  |  
          |  | ) |  |  |  | inlineoverridevirtual | 
 
Emergency virtual function for future expansion. 
Reimplemented from CRhRdkObject.
 
 
◆ FileExtension()
  
  | 
        
          | virtual const wchar_t* CRhRdkContentIOPlugIn::FileExtension | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- The file extension used by the plug-in (e.g., "jpg") 
 
 
◆ InterfaceId()
  
  | 
        
          | virtual UUID CRhRdkContentIOPlugIn::InterfaceId | ( | void |  | ) | const |  | overridevirtual | 
 
 
◆ Kind()
  
  | 
        
          | virtual const RDK_DEPRECATED wchar_t* CRhRdkContentIOPlugIn::Kind | ( | void |  | ) | const |  | inlinevirtual | 
 
This method is deprecated in favor of the one below. 
 
 
◆ Load()
Create a new content and load it from a custom content file. 
- Parameters
- 
  
    | pDoc | is a pointer to a Rhino document. May be nullptr. |  | wszFullPath | is the filename to load from. |  | kind | is only used by I/O plug-ins that support multiple kinds. It tells the plug-in which content kind to create. If the plug-in only supports a single content kind, it can ignore this parameter. |  
 
- Note
- The content is not actually attached to any document, it is just loaded. The pDoc parameter is only used for unpacking embedded files, if necessary. 
- 
This method is deprecated in favor of CRhRdkContentIOPlugInEx::LoadMultiple(). 
- Returns
- A pointer to the new content if loaded successfully, else nullptr. 
 
 
◆ RdkPlugInId()
  
  | 
        
          | virtual UUID CRhRdkContentIOPlugIn::RdkPlugInId | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- The unique id of the client's RDK plug-in. 
 
 
◆ Save()
Save an existing content to a custom content file. 
- Parameters
- 
  
    | wszFullPath | is the full paths to the filename to save to. |  | content | is the content to save. |  | pSceneServer | is a pointer to a scene server that can be used to render a preview image. for storing in the file. |  
 
- Note
- This parameter is nullptr when content is a texture. 
- Returns
- true if saved successfully, else false. 
 
 
◆ SupportedKinds()
- Returns
- The kind(s) of content that this plug-in can load/save.