Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IMdl_resource_info Class Referenceabstract

Interface for resources. More...

Inheritance diagram for mi::neuraylib::IMdl_resource_info:
mi::base::Interface_declare< 0x28, 0x54, 0x6b, 0xcd, 0x14, 0x59, 0xfd, 0x42, 0x9d, 0xfa, 0xd5, IMdl_info >

Public Member Functions

virtual Size get_search_path_index () const =0
 Returns the index of the search path where this resource has been found. More...
 
virtual const char * get_search_path () const =0
 Returns the search path in the local file system that contains this resource. More...
 
virtual const char * get_extension () const =0
 Returns the file extension of the resource file. More...
 
virtual const char * get_resolved_path () const =0
 Returns an absolute path to the resource file in the local file system. More...
 
virtual Size get_shadows_count () const =0
 Returns the number of shadows of this resource. More...
 
virtual const IMdl_resource_infoget_shadow (Size index) const =0
 Returns one of the shadows this resource has. More...
 
virtual bool in_archive () const =0
 Returns true if the resource has been discovered inside of an archive, false if not. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x28, 0x54, 0x6b, 0xcd, 0x14, 0x59, 0xfd, 0x42, 0x9d, 0xfa, 0xd5, IMdl_info >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IMdl_info > 
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x28, 0x54, 0x6b, 0xcd, 0x14, 0x59, 0xfd, 0x42, 0x9d, 0xfa, 0xd5, IMdl_info >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Interface for resources.

Member Function Documentation

virtual const char* mi::neuraylib::IMdl_resource_info::get_extension ( ) const
pure virtual

Returns the file extension of the resource file.

virtual const char* mi::neuraylib::IMdl_resource_info::get_resolved_path ( ) const
pure virtual

Returns an absolute path to the resource file in the local file system.

virtual const char* mi::neuraylib::IMdl_resource_info::get_search_path ( ) const
pure virtual

Returns the search path in the local file system that contains this resource.

virtual Size mi::neuraylib::IMdl_resource_info::get_search_path_index ( ) const
pure virtual

Returns the index of the search path where this resource has been found.

virtual const IMdl_resource_info* mi::neuraylib::IMdl_resource_info::get_shadow ( Size  index) const
pure virtual

Returns one of the shadows this resource has.

Parameters
indexIndex in the shadow list of this resource.
virtual Size mi::neuraylib::IMdl_resource_info::get_shadows_count ( ) const
pure virtual

Returns the number of shadows of this resource.

virtual bool mi::neuraylib::IMdl_resource_info::in_archive ( ) const
pure virtual

Returns true if the resource has been discovered inside of an archive, false if not.