Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
VLX wrapper of vl::GLSLProgram. More...
#include <VLXWrappers.hpp>
Public Member Functions | |
void | importGLSLProgram (VLXSerializer &s, const VLXStructure *vlx, GLSLProgram *obj) |
virtual ref< Object > | importVLX (VLXSerializer &s, const VLXStructure *vlx) |
void | exportGLSLProgram (VLXSerializer &s, const GLSLProgram *obj, VLXStructure *vlx) |
virtual ref< VLXStructure > | exportVLX (VLXSerializer &s, const Object *obj) |
VLX wrapper of vl::GLSLProgram.
Definition at line 2703 of file VLXWrappers.hpp.
void vl::VLXClassWrapper_GLSLProgram::importGLSLProgram | ( | VLXSerializer & | s, |
const VLXStructure * | vlx, | ||
GLSLProgram * | obj | ||
) | [inline] |
Definition at line 2705 of file VLXWrappers.hpp.
References vl::GLSLProgram::addAutoAttribLocation(), vl::Object::as(), vl::GLSLProgram::attachShader(), vl::GLSLProgram::bindFragDataLocation(), vl::VLXValue::getIdentifier(), vl::VLXValue::getList(), vl::VLXValue::getString(), vl::VLXValue::getStructure(), vl::VLXStructure::getValue(), vl::VLXValue::Identifier, vl::VLXSerializer::importVLX(), vl::VLXValue::Integer, vl::VLXValue::List, NULL, vl::Object::setObjectName(), vl::GLSLProgram::setUniform(), vl::VLXValue::Structure, vl::VLXValue::type(), vl::VLXStructure::value(), and VLX_IMPORT_CHECK_RETURN.
Referenced by importVLX().
virtual ref<Object> vl::VLXClassWrapper_GLSLProgram::importVLX | ( | VLXSerializer & | s, |
const VLXStructure * | vlx | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 2763 of file VLXWrappers.hpp.
References vl::ref< T >::get(), importGLSLProgram(), and vl::VLXSerializer::registerImportedStructure().
void vl::VLXClassWrapper_GLSLProgram::exportGLSLProgram | ( | VLXSerializer & | s, |
const GLSLProgram * | obj, | ||
VLXStructure * | vlx | ||
) | [inline] |
Definition at line 2772 of file VLXWrappers.hpp.
References vl::GLSLProgram::autoAttribLocations(), vl::VLXSerializer::exportVLX(), vl::GLSLProgram::fragDataLocations(), vl::VLXValue::getList(), vl::GLSLProgram::getUniformSet(), vl::Object::objectName(), vl::VLXValue::setList(), vl::GLSLProgram::shader(), vl::GLSLProgram::shaderCount(), vl::UniformSet::uniforms(), vl::vlx_Identifier(), and vl::vlx_String().
Referenced by exportVLX().
virtual ref<VLXStructure> vl::VLXClassWrapper_GLSLProgram::exportVLX | ( | VLXSerializer & | s, |
const Object * | obj | ||
) | [inline, virtual] |
Implements vl::VLXClassWrapper.
Definition at line 2807 of file VLXWrappers.hpp.
References vl::Object::as(), exportGLSLProgram(), vl::VLXSerializer::generateID(), vl::VLXSerializer::registerExportedObject(), VL_CHECK, and vl::vlx_makeTag().