Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
VLX wrapper of vl::Texture. More...
#include <VLXWrappers.hpp>
Public Member Functions | |
void | importTexture (VLXSerializer &s, const VLXStructure *vlx, Texture *obj) |
virtual ref< Object > | importVLX (VLXSerializer &s, const VLXStructure *vlx) |
void | exportTexture (VLXSerializer &s, const Texture *obj, VLXStructure *vlx) |
virtual ref< VLXStructure > | exportVLX (VLXSerializer &s, const Object *obj) |
VLX wrapper of vl::Texture.
Definition at line 3274 of file VLXWrappers.hpp.
void vl::VLXClassWrapper_Texture::importTexture | ( | VLXSerializer & | s, |
const VLXStructure * | vlx, | ||
Texture * | obj | ||
) | [inline] |
Definition at line 3276 of file VLXWrappers.hpp.
References vl::VLXValue::Bool, vl::VLXValue::getBool(), vl::VLXValue::getInteger(), vl::VLXValue::getString(), vl::VLXValue::getStructure(), vl::Texture::getTexParameter(), vl::VLXStructure::getValue(), vl::VLXValue::Identifier, vl::VLXSerializer::importVLX(), vl::VLXValue::Integer, NULL, vl::VLXSerializer::resolvePath(), vl::Object::setObjectName(), vl::Texture::setSetupParams(), vl::Texture::setupParams(), vl::VLXValue::String, vl::VLXValue::Structure, vl::VLXValue::type(), vl::VLXStructure::value(), vl::vlx_ETextureDimension(), vl::vlx_ETextureFormat(), and VLX_IMPORT_CHECK_RETURN.
Referenced by importVLX().
virtual ref<Object> vl::VLXClassWrapper_Texture::importVLX | ( | VLXSerializer & | s, |
const VLXStructure * | vlx | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 3364 of file VLXWrappers.hpp.
References vl::ref< T >::get(), importTexture(), and vl::VLXSerializer::registerImportedStructure().
void vl::VLXClassWrapper_Texture::exportTexture | ( | VLXSerializer & | s, |
const Texture * | obj, | ||
VLXStructure * | vlx | ||
) | [inline] |
Definition at line 3373 of file VLXWrappers.hpp.
References vl::Texture::SetupParams::bufferObject(), vl::Texture::SetupParams::depth(), vl::Texture::SetupParams::dimension(), vl::String::empty(), vl::VLXSerializer::exportVLX(), vl::Image::filePath(), vl::Texture::SetupParams::fixedSamplesLocations(), vl::Texture::SetupParams::format(), vl::Texture::SetupParams::genMipmaps(), vl::Texture::getTexParameter(), vl::Texture::SetupParams::height(), vl::Texture::SetupParams::image(), vl::Texture::SetupParams::imagePath(), vl::Object::objectName(), vl::Texture::SetupParams::samples(), vl::Texture::setupParams(), vl::String::toStdString(), vl::vlx_ETextureDimension(), vl::vlx_ETextureFormat(), vl::vlx_Identifier(), vl::vlx_String(), and vl::Texture::SetupParams::width().
Referenced by exportVLX().
virtual ref<VLXStructure> vl::VLXClassWrapper_Texture::exportVLX | ( | VLXSerializer & | s, |
const Object * | obj | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 3429 of file VLXWrappers.hpp.
References vl::Object::as(), exportTexture(), vl::VLXSerializer::generateID(), vl::VLXSerializer::registerExportedObject(), VL_CHECK, and vl::vlx_makeTag().