26 #include <vsg/io/ReaderWriter.h>
ReaderWriter for reading and writing spirv shader files.
Definition: spirv.h:35
bool getFeatures(Features &features) const override
get the Features supported by this ReaderWriter
ref_ptr< Object > read(const Path &filename, ref_ptr< const Options > options={}) const override
read object from file, return object on success, return null ref_ptr<> if format not supported,...
ref_ptr< vsg::Object > read(const uint8_t *ptr, size_t size, ref_ptr< const Options >={}) const override
read object from memory block, return object on success, return null ref_ptr<> if format not supporte...
bool write(const Object *object, const Path &filename, ref_ptr< const Options > options={}) const override
write object to file, return true on success, return false on failure.
ref_ptr< vsg::Object > read(std::istream &fin, ref_ptr< const Options > options={}) const override
read object from input stream, return object on success, return null ref_ptr<> if format not supporte...
Definition: ReaderWriter.h:92