HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_NAMESPACE::GLTF_ImageExport Class Reference

#include <GLTF_ImageExport.h>

Static Public Member Functions

static bool CreateMappedTexture (const UT_Array< GLTF_ChannelMapping > &mappings, std::ostream &os, const IMG_Format *format, uint32 time, const GLTF_ImgExportParms &parms, GLTF_BaseErrorManager &errormgr)
 
static bool OutputImage (const UT_String &filename, const IMG_Format *format, std::ostream &os, fpreal time, const GLTF_ImgExportParms &parms, GLTF_BaseErrorManager &errormgr, const OP_Node *cop_node=nullptr)
 

Detailed Description

Utility functions for importing, exporting and manipulating images in the context of GLTF textures.

Definition at line 75 of file GLTF_ImageExport.h.

Member Function Documentation

static bool GLTF_NAMESPACE::GLTF_ImageExport::CreateMappedTexture ( const UT_Array< GLTF_ChannelMapping > &  mappings,
std::ostream &  os,
const IMG_Format format,
uint32  time,
const GLTF_ImgExportParms parms,
GLTF_BaseErrorManager errormgr 
)
static

Takes a list of images and associated channels, packs them into a single image file, preprocesses the image and outputs it to &os

static bool GLTF_NAMESPACE::GLTF_ImageExport::OutputImage ( const UT_String filename,
const IMG_Format format,
std::ostream &  os,
fpreal  time,
const GLTF_ImgExportParms parms,
GLTF_BaseErrorManager errormgr,
const OP_Node cop_node = nullptr 
)
static

Converts the file format for the given images, processes it for GLTF and outputs it to the output stream &os.


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