vsgXchange  1.0.2
VulkanSceneGraph 3rd party data integration library
Public Member Functions | Static Public Attributes | List of all members
vsgXchange::stbi Class Reference

add png, jpeg and gif support using local build of stbi. More...

#include <images.h>

Inheritance diagram for vsgXchange::stbi:
Inheritance graph
[legend]
Collaboration diagram for vsgXchange::stbi:
Collaboration graph
[legend]

Public Member Functions

vsg::ref_ptr< vsg::Object > read (const vsg::Path &filename, vsg::ref_ptr< const vsg::Options > options={}) const override
 
vsg::ref_ptr< vsg::Object > read (std::istream &fin, vsg::ref_ptr< const vsg::Options > options={}) const override
 
vsg::ref_ptr< vsg::Object > read (const uint8_t *ptr, size_t size, vsg::ref_ptr< const vsg::Options > options={}) const override
 
bool write (const vsg::Object *object, const vsg::Path &filename, vsg::ref_ptr< const vsg::Options >={}) const override
 
bool write (const vsg::Object *object, std::ostream &stream, vsg::ref_ptr< const vsg::Options >={}) const override
 
bool getFeatures (Features &features) const override
 
bool readOptions (vsg::Options &options, vsg::CommandLine &arguments) const override
 

Static Public Attributes

static constexpr const char * jpeg_quality = "jpeg_quality"
 

Detailed Description

add png, jpeg and gif support using local build of stbi.


The documentation for this class was generated from the following file: