Visualization Library 2.0.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Enumerations | Functions
vlX Namespace Reference

Classes

class  ClassWrapper
 Base cass for all class wrappers implementing the translation to/from its VLX representation. More...
 
class  Linker
 Links several VLX hierachies also resolving IDs across them. More...
 
class  LoadWriterVLX
 A vl::ResourceLoadWriter capable of reading Visualization Library's VLT and VLB files. More...
 
class  Parser
 Base class for VLX parsers. More...
 
class  ParserVLB
 Parses a VLT file translating it into a VLX hierarchy. More...
 
class  ParserVLT
 Parses a VLT file translating it into a VLX hierarchy. More...
 
class  Registry
 Registry of vl::ClassWrapper objects, used by vl::VLXSerializer, see also vl::defVLXRegistry(). More...
 
class  Visitor
 Base class for all visitors visiting a VLX hierarchy. More...
 
class  VisitorExportToVLB
 Translates a VLX hierarchy into VLB format writing to the provided VirtualFile. More...
 
class  VisitorExportToVLT
 Translates a VLX hierarchy into VLT notation. More...
 
class  VisitorIDCounter
 Counts the number of occurrencies of each ID. More...
 
class  VisitorLinker
 Substitutes IDs into VLXStructures using the provided link map. More...
 
class  VisitorLinkMapper
 Compiles the link-map which associates a VLXStructure to it's ID, to be used later by other visitors. More...
 
class  VLTToken
 A token of information as defined by VLT specification. More...
 
class  VLTTokenizer
 Tokenizer used to parse VLT files. More...
 
class  VLXArray
 Base class for all arrays of VLX values. More...
 
class  VLXArrayInteger
 An array of 64 bits integers, can also have a tag. More...
 
class  VLXArrayReal
 An array of 64 bits floating point numbers, can also have a tag. More...
 
class  VLXArrayTemplate
 A templated VLXArray. More...
 
struct  VLXClassWrapper_Actor
 VLX wrapper of vl::Actor. More...
 
struct  VLXClassWrapper_ActorEventCallback
 VLX wrapper of vl::DepthSortCallback. More...
 
struct  VLXClassWrapper_Array
 VLX wrapper of vl::Array. More...
 
struct  VLXClassWrapper_Camera
 VLX wrapper of vl::Camera. More...
 
struct  VLXClassWrapper_ClipPlane
 VLX wrapper of vl::ClipPlane. More...
 
struct  VLXClassWrapper_Color
 VLX wrapper of vl::Color. More...
 
struct  VLXClassWrapper_DrawCall
 VLX wrapper of vl::DrawCall and subclasses. More...
 
struct  VLXClassWrapper_Effect
 VLX wrapper of vl::Effect. More...
 
struct  VLXClassWrapper_Geometry
 VLX wrapper of vl::Geometry. More...
 
struct  VLXClassWrapper_GLSLProgram
 VLX wrapper of vl::GLSLProgram. More...
 
struct  VLXClassWrapper_GLSLShader
 VLX wrapper of vl::GLSLVertexShader, vl::GLSLFragmentShader, vl::GLSLGeometryShader, vl::GLSLTessControlShader, vl::GLSLTessEvaluationShader. More...
 
struct  VLXClassWrapper_Light
 VLX wrapper of vl::Light. More...
 
struct  VLXClassWrapper_LODEvaluator
 VLX wrapper of vl::DistanceLODEvaluator and vl::PixelLODEvaluator. More...
 
struct  VLXClassWrapper_Material
 VLX wrapper of vl::Material. More...
 
struct  VLXClassWrapper_Normal
 VLX wrapper of vl::Normal. More...
 
struct  VLXClassWrapper_PatchParameter
 VLX wrapper of vl::PatchParameter. More...
 
struct  VLXClassWrapper_Renderable
 VLX wrapper of vl::Renderable. More...
 
struct  VLXClassWrapper_ResourceDatabase
 VLX wrapper of vl::ResourceDatabase. More...
 
struct  VLXClassWrapper_SecondaryColor
 VLX wrapper of vl::SecondaryColor. More...
 
struct  VLXClassWrapper_Shader
 VLX wrapper of vl::Shader. More...
 
struct  VLXClassWrapper_TexParameter
 VLX wrapper of vl::TexParameter. More...
 
struct  VLXClassWrapper_Texture
 VLX wrapper of vl::Texture. More...
 
struct  VLXClassWrapper_TextureSampler
 VLX wrapper of vl::TextureSampler. More...
 
struct  VLXClassWrapper_Transform
 VLX wrapper of vl::Transform. More...
 
struct  VLXClassWrapper_Uniform
 VLX wrapper of vl::Uniform. More...
 
struct  VLXClassWrapper_VertexAttrib
 VLX wrapper of vl::VertexAttrib. More...
 
struct  VLXClassWrapper_Viewport
 VLX wrapper of vl::Viewport. More...
 
class  VLXList
 A simple sequence of VLXValue objects, can also have a tag. More...
 
class  VLXRawtextBlock
 A block of raw text. More...
 
class  VLXSerializer
 Translates an arbitrary set of vl::Object (and subclasses) into VLB and VLT format. More...
 
class  VLXStructure
 A list of key/VLXValue pairs, can also have a tag. More...
 
class  VLXTaggedValue
 Base class for VLX values with a tag. More...
 
class  VLXValue
 Wrapper for all VLX value types. More...
 

Enumerations

enum  EVLBChunkType {
  VLB_ChunkStructure = 1, VLB_ChunkList, VLB_ChunkArrayRealDouble, VLB_ChunkArrayRealFloat,
  VLB_ChunkArrayInteger, VLB_ChunkRawtext, VLB_ChunkString, VLB_ChunkIdentifier,
  VLB_ChunkID, VLB_ChunkRealDouble, VLB_ChunkInteger, VLB_ChunkBool
}
 

Functions

bool compress (const void *data, size_t size, std::vector< unsigned char > &out, int level)
 
bool decompress (const void *cdata, size_t csize, void *data_out)
 
VLX_EXPORT vl::ref< vl::ResourceDatabaseloadVLT (vl::VirtualFile *file)
 
VLX_EXPORT vl::ref< vl::ResourceDatabaseloadVLT (const vl::String &path)
 
VLX_EXPORT vl::ref< vl::ResourceDatabaseloadVLB (vl::VirtualFile *file)
 
VLX_EXPORT vl::ref< vl::ResourceDatabaseloadVLB (const vl::String &path)
 
VLX_EXPORT bool saveVLT (vl::VirtualFile *file, const vl::ResourceDatabase *)
 
VLX_EXPORT bool saveVLT (const vl::String &file, const vl::ResourceDatabase *)
 
VLX_EXPORT bool saveVLB (vl::VirtualFile *file, const vl::ResourceDatabase *)
 
VLX_EXPORT bool saveVLB (const vl::String &file, const vl::ResourceDatabase *)
 
VLX_EXPORT bool isVLT (vl::VirtualFile *file)
 
VLX_EXPORT bool isVLT (const vl::String &file)
 
VLX_EXPORT bool isVLB (vl::VirtualFile *file)
 
VLX_EXPORT bool isVLB (const vl::String &file)
 
VLX_EXPORT RegistrydefVLXRegistry ()
 
VLX_EXPORT void setDefVLXRegistry (Registry *reg)
 
std::string vlx_makeTag (const vl::Object *obj)
 
VLXValue vlx_Identifier (const std::string &str)
 
VLXValue vlx_ID (const std::string &str)
 
VLXValue vlx_String (const std::string &str)
 
VLXValue vlx_Rawtext (const std::string &str)
 
vl::vec2 vlx_vec2 (const VLXArrayReal *arr)
 
vl::vec3 vlx_vec3 (const VLXArrayReal *arr)
 
vl::vec4 vlx_vec4 (const VLXArrayReal *arr)
 
vl::ivec4 vlx_ivec4 (const VLXArrayInteger *arr)
 
vl::uvec4 vlx_uivec4 (const VLXArrayInteger *arr)
 
VLXValue vlx_toValue (const std::vector< int > &vec)
 
VLXValue vlx_toValue (const vl::vec4 &vec)
 
VLXValue vlx_toValue (const vl::ivec4 &vec)
 
VLXValue vlx_toValue (const vl::uvec4 &vec)
 
VLXValue vlx_toValue (const vl::vec3 &vec)
 
VLXValue vlx_toValue (const vl::vec2 &vec)
 
bool vlx_isTranslation (const vl::mat4 &mat)
 
bool vlx_isScaling (const vl::mat4 &mat)
 
VLXValue vlx_toValue (const vl::mat4 &mat)
 
vl::mat4 vlx_mat4 (const VLXArrayReal *arr)
 
vl::mat4 vlx_mat4 (const VLXList *list)
 
const char * vlx_EProjectionMatrixType (vl::EProjectionMatrixType pt)
 
vl::EProjectionMatrixType vlx_EProjectionMatrixType (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EClearColorMode (vl::EClearColorMode ccm)
 
vl::EClearColorMode vlx_EClearColorMode (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EClearFlags (vl::EClearFlags cf)
 
vl::EClearFlags vlx_EClearFlags (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EPolygonFace (vl::EPolygonFace pf)
 
vl::EPolygonFace vlx_EPolygonFace (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EColorMaterial (vl::EColorMaterial cm)
 
vl::EColorMaterial vlx_EColorMaterial (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_ETextureFormat (vl::ETextureFormat tf)
 
vl::ETextureFormat vlx_ETextureFormat (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EUniformType (vl::EUniformType type)
 
vl::EUniformType vlx_EUniformType (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EDepthTextureMode (vl::EDepthTextureMode dtm)
 
vl::EDepthTextureMode vlx_EDepthTextureMode (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_ETexCompareMode (vl::ETexCompareMode tcm)
 
vl::ETexCompareMode vlx_ETexCompareMode (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_ETexCompareFunc (vl::ETexCompareFunc tcf)
 
vl::ETexCompareFunc vlx_ETexCompareFunc (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_ETexParamFilter (vl::ETexParamFilter tpf)
 
vl::ETexParamFilter vlx_ETexParamFilter (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_ETexParamWrap (vl::ETexParamWrap tpw)
 
vl::ETexParamWrap vlx_ETexParamWrap (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EEnable (vl::EEnable en)
 
vl::EEnable vlx_EEnable (const VLXValue &value, VLXSerializer &s)
 
vl::EPrimitiveType vlx_EPrimitiveType (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EPrimitiveType (vl::EPrimitiveType type)
 
vl::EVertexAttribInterpretation vlx_EVertexAttribInterpretation (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_EVertexAttribInterpretation (vl::EVertexAttribInterpretation type)
 
vl::ETextureDimension vlx_ETextureDimension (const VLXValue &value, VLXSerializer &s)
 
const char * vlx_ETextureDimension (vl::ETextureDimension td)
 
VLXValue export_AABB (const vl::AABB &aabb)
 
vl::AABB import_AABB (const VLXStructure *vlx)
 
VLXValue export_Sphere (const vl::Sphere &sphere)
 
vl::Sphere import_Sphere (const VLXStructure *vlx)
 

Enumeration Type Documentation

◆ EVLBChunkType

Enumerator
VLB_ChunkStructure 
VLB_ChunkList 
VLB_ChunkArrayRealDouble 
VLB_ChunkArrayRealFloat 
VLB_ChunkArrayInteger 
VLB_ChunkRawtext 
VLB_ChunkString 
VLB_ChunkIdentifier 
VLB_ChunkID 
VLB_ChunkRealDouble 
VLB_ChunkInteger 
VLB_ChunkBool 

Definition at line 41 of file BinaryDefs.hpp.

Function Documentation

◆ compress()

bool vlX::compress ( const void *  data,
size_t  size,
std::vector< unsigned char > &  out,
int  level 
)

◆ decompress()

bool vlX::decompress ( const void *  cdata,
size_t  csize,
void *  data_out 
)

◆ defVLXRegistry()

vlX::Registry * vlX::defVLXRegistry ( )

Definition at line 43 of file pimpl.cpp.

Referenced by vlX::Registry::exportRegistry(), and vlX::VLXSerializer::VLXSerializer().

◆ export_AABB()

VLXValue vlX::export_AABB ( const vl::AABB aabb)
inline

◆ export_Sphere()

VLXValue vlX::export_Sphere ( const vl::Sphere sphere)
inline

◆ import_AABB()

vl::AABB vlX::import_AABB ( const VLXStructure vlx)
inline

◆ import_Sphere()

vl::Sphere vlX::import_Sphere ( const VLXStructure vlx)
inline

◆ isVLB() [1/2]

bool vlX::isVLB ( vl::VirtualFile file)

◆ isVLB() [2/2]

bool vlX::isVLB ( const vl::String file)

Definition at line 145 of file ioVLX.cpp.

References vl::ref< T >::get(), isVLT(), and vl::locateFile().

◆ isVLT() [1/2]

bool vlX::isVLT ( vl::VirtualFile file)

◆ isVLT() [2/2]

bool vlX::isVLT ( const vl::String file)

Definition at line 126 of file ioVLX.cpp.

References vl::ref< T >::get(), isVLT(), and vl::locateFile().

◆ loadVLB() [1/2]

ref< ResourceDatabase > vlX::loadVLB ( vl::VirtualFile file)

◆ loadVLB() [2/2]

ref< ResourceDatabase > vlX::loadVLB ( const vl::String path)

Definition at line 61 of file ioVLX.cpp.

References vl::ref< T >::get(), loadVLB(), and vl::locateFile().

◆ loadVLT() [1/2]

ref< ResourceDatabase > vlX::loadVLT ( vl::VirtualFile file)

◆ loadVLT() [2/2]

ref< ResourceDatabase > vlX::loadVLT ( const vl::String path)

Definition at line 38 of file ioVLX.cpp.

References vl::ref< T >::get(), loadVLT(), and vl::locateFile().

◆ saveVLB() [1/2]

bool vlX::saveVLB ( vl::VirtualFile file,
const vl::ResourceDatabase res_db 
)

◆ saveVLB() [2/2]

bool vlX::saveVLB ( const vl::String file,
const vl::ResourceDatabase res_db 
)

Definition at line 105 of file ioVLX.cpp.

References vl::ref< T >::get(), and saveVLB().

◆ saveVLT() [1/2]

bool vlX::saveVLT ( vl::VirtualFile file,
const vl::ResourceDatabase res_db 
)

◆ saveVLT() [2/2]

bool vlX::saveVLT ( const vl::String file,
const vl::ResourceDatabase res_db 
)

Definition at line 84 of file ioVLX.cpp.

References vl::ref< T >::get(), and saveVLT().

◆ setDefVLXRegistry()

void vlX::setDefVLXRegistry ( vlX::Registry reg)

◆ vlx_EClearColorMode() [1/2]

const char* vlX::vlx_EClearColorMode ( vl::EClearColorMode  ccm)
inline

◆ vlx_EClearColorMode() [2/2]

vl::EClearColorMode vlX::vlx_EClearColorMode ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EClearFlags() [1/2]

const char* vlX::vlx_EClearFlags ( vl::EClearFlags  cf)
inline

◆ vlx_EClearFlags() [2/2]

vl::EClearFlags vlX::vlx_EClearFlags ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EColorMaterial() [1/2]

const char* vlX::vlx_EColorMaterial ( vl::EColorMaterial  cm)
inline

◆ vlx_EColorMaterial() [2/2]

vl::EColorMaterial vlX::vlx_EColorMaterial ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EDepthTextureMode() [1/2]

const char* vlX::vlx_EDepthTextureMode ( vl::EDepthTextureMode  dtm)
inline

◆ vlx_EDepthTextureMode() [2/2]

vl::EDepthTextureMode vlX::vlx_EDepthTextureMode ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EEnable() [1/2]

const char* vlX::vlx_EEnable ( vl::EEnable  en)
inline

◆ vlx_EEnable() [2/2]

vl::EEnable vlX::vlx_EEnable ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EPolygonFace() [1/2]

const char* vlX::vlx_EPolygonFace ( vl::EPolygonFace  pf)
inline

◆ vlx_EPolygonFace() [2/2]

vl::EPolygonFace vlX::vlx_EPolygonFace ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EPrimitiveType() [1/2]

vl::EPrimitiveType vlX::vlx_EPrimitiveType ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EPrimitiveType() [2/2]

const char* vlX::vlx_EPrimitiveType ( vl::EPrimitiveType  type)
inline

◆ vlx_EProjectionMatrixType() [1/2]

const char* vlX::vlx_EProjectionMatrixType ( vl::EProjectionMatrixType  pt)
inline

◆ vlx_EProjectionMatrixType() [2/2]

vl::EProjectionMatrixType vlX::vlx_EProjectionMatrixType ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_ETexCompareFunc() [1/2]

const char* vlX::vlx_ETexCompareFunc ( vl::ETexCompareFunc  tcf)
inline

◆ vlx_ETexCompareFunc() [2/2]

vl::ETexCompareFunc vlX::vlx_ETexCompareFunc ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_ETexCompareMode() [1/2]

const char* vlX::vlx_ETexCompareMode ( vl::ETexCompareMode  tcm)
inline

◆ vlx_ETexCompareMode() [2/2]

vl::ETexCompareMode vlX::vlx_ETexCompareMode ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_ETexParamFilter() [1/2]

const char* vlX::vlx_ETexParamFilter ( vl::ETexParamFilter  tpf)
inline

◆ vlx_ETexParamFilter() [2/2]

vl::ETexParamFilter vlX::vlx_ETexParamFilter ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_ETexParamWrap() [1/2]

const char* vlX::vlx_ETexParamWrap ( vl::ETexParamWrap  tpw)
inline

◆ vlx_ETexParamWrap() [2/2]

vl::ETexParamWrap vlX::vlx_ETexParamWrap ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_ETextureDimension() [1/2]

vl::ETextureDimension vlX::vlx_ETextureDimension ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_ETextureDimension() [2/2]

const char* vlX::vlx_ETextureDimension ( vl::ETextureDimension  td)
inline

◆ vlx_ETextureFormat() [1/2]

const char* vlX::vlx_ETextureFormat ( vl::ETextureFormat  tf)
inline

Definition at line 383 of file vlxutils.hpp.

References vl::TF_ALPHA, vl::TF_ALPHA12, vl::TF_ALPHA16, vl::TF_ALPHA16F, vl::TF_ALPHA16I_EXT, vl::TF_ALPHA16UI_EXT, vl::TF_ALPHA32F, vl::TF_ALPHA32I_EXT, vl::TF_ALPHA32UI_EXT, vl::TF_ALPHA4, vl::TF_ALPHA8, vl::TF_ALPHA8I_EXT, vl::TF_ALPHA8UI_EXT, vl::TF_COMPRESSED_ALPHA, vl::TF_COMPRESSED_INTENSITY, vl::TF_COMPRESSED_LUMINANCE, vl::TF_COMPRESSED_LUMINANCE_ALPHA, vl::TF_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT, vl::TF_COMPRESSED_LUMINANCE_LATC1_EXT, vl::TF_COMPRESSED_RED, vl::TF_COMPRESSED_RED_GREEN_RGTC2_EXT, vl::TF_COMPRESSED_RED_RGTC1_EXT, vl::TF_COMPRESSED_RG, vl::TF_COMPRESSED_RGB, vl::TF_COMPRESSED_RGB_FXT1_3DFX, vl::TF_COMPRESSED_RGB_S3TC_DXT1_EXT, vl::TF_COMPRESSED_RGBA, vl::TF_COMPRESSED_RGBA_FXT1_3DFX, vl::TF_COMPRESSED_RGBA_S3TC_DXT1_EXT, vl::TF_COMPRESSED_RGBA_S3TC_DXT3_EXT, vl::TF_COMPRESSED_RGBA_S3TC_DXT5_EXT, vl::TF_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT, vl::TF_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT, vl::TF_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, vl::TF_COMPRESSED_SIGNED_RED_RGTC1_EXT, vl::TF_COMPRESSED_SLUMINANCE, vl::TF_COMPRESSED_SLUMINANCE_ALPHA, vl::TF_COMPRESSED_SRGB, vl::TF_COMPRESSED_SRGB_ALPHA, vl::TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, vl::TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, vl::TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, vl::TF_COMPRESSED_SRGB_S3TC_DXT1_EXT, vl::TF_DEPTH24_STENCIL8, vl::TF_DEPTH32F_STENCIL8, vl::TF_DEPTH_COMPONENT, vl::TF_DEPTH_COMPONENT16, vl::TF_DEPTH_COMPONENT24, vl::TF_DEPTH_COMPONENT32, vl::TF_DEPTH_COMPONENT32F, vl::TF_DEPTH_STENCIL, vl::TF_INTENSITY, vl::TF_INTENSITY12, vl::TF_INTENSITY16, vl::TF_INTENSITY16F, vl::TF_INTENSITY16I_EXT, vl::TF_INTENSITY16UI_EXT, vl::TF_INTENSITY32F, vl::TF_INTENSITY32I_EXT, vl::TF_INTENSITY32UI_EXT, vl::TF_INTENSITY4, vl::TF_INTENSITY8, vl::TF_INTENSITY8I_EXT, vl::TF_INTENSITY8UI_EXT, vl::TF_LUMINANCE, vl::TF_LUMINANCE12, vl::TF_LUMINANCE12_ALPHA12, vl::TF_LUMINANCE12_ALPHA4, vl::TF_LUMINANCE16, vl::TF_LUMINANCE16_ALPHA16, vl::TF_LUMINANCE16F, vl::TF_LUMINANCE16I_EXT, vl::TF_LUMINANCE16UI_EXT, vl::TF_LUMINANCE32F, vl::TF_LUMINANCE32I_EXT, vl::TF_LUMINANCE32UI_EXT, vl::TF_LUMINANCE4, vl::TF_LUMINANCE4_ALPHA4, vl::TF_LUMINANCE6_ALPHA2, vl::TF_LUMINANCE8, vl::TF_LUMINANCE8_ALPHA8, vl::TF_LUMINANCE8I_EXT, vl::TF_LUMINANCE8UI_EXT, vl::TF_LUMINANCE_ALPHA, vl::TF_LUMINANCE_ALPHA16F, vl::TF_LUMINANCE_ALPHA16I_EXT, vl::TF_LUMINANCE_ALPHA16UI_EXT, vl::TF_LUMINANCE_ALPHA32F, vl::TF_LUMINANCE_ALPHA32I_EXT, vl::TF_LUMINANCE_ALPHA32UI_EXT, vl::TF_LUMINANCE_ALPHA8I_EXT, vl::TF_LUMINANCE_ALPHA8UI_EXT, vl::TF_R11F_G11F_B10F, vl::TF_R16, vl::TF_R16_SNORM, vl::TF_R16F, vl::TF_R16I, vl::TF_R16UI, vl::TF_R32F, vl::TF_R32I, vl::TF_R32UI, vl::TF_R3_G3_B2, vl::TF_R8, vl::TF_R8_SNORM, vl::TF_R8I, vl::TF_R8UI, vl::TF_RED, vl::TF_RG, vl::TF_RG16, vl::TF_RG16_SNORM, vl::TF_RG16F, vl::TF_RG16I, vl::TF_RG16UI, vl::TF_RG32F, vl::TF_RG32I, vl::TF_RG32UI, vl::TF_RG8, vl::TF_RG8_SNORM, vl::TF_RG8I, vl::TF_RG8UI, vl::TF_RGB, vl::TF_RGB10, vl::TF_RGB10_A2, vl::TF_RGB10_A2UI, vl::TF_RGB12, vl::TF_RGB16, vl::TF_RGB16F, vl::TF_RGB16I, vl::TF_RGB16UI, vl::TF_RGB32F, vl::TF_RGB32I, vl::TF_RGB32UI, vl::TF_RGB4, vl::TF_RGB5, vl::TF_RGB5_A1, vl::TF_RGB8, vl::TF_RGB8_SNORM, vl::TF_RGB8I, vl::TF_RGB8UI, vl::TF_RGB9_E5, vl::TF_RGBA, vl::TF_RGBA12, vl::TF_RGBA16, vl::TF_RGBA16_SNORM, vl::TF_RGBA16F, vl::TF_RGBA16I, vl::TF_RGBA16UI, vl::TF_RGBA2, vl::TF_RGBA32F, vl::TF_RGBA32I, vl::TF_RGBA32UI, vl::TF_RGBA4, vl::TF_RGBA8, vl::TF_RGBA8_SNORM, vl::TF_RGBA8I, vl::TF_RGBA8UI, vl::TF_SLUMINANCE, vl::TF_SLUMINANCE8, vl::TF_SLUMINANCE8_ALPHA8, vl::TF_SLUMINANCE_ALPHA, vl::TF_SRGB, vl::TF_SRGB8, vl::TF_SRGB8_ALPHA8, vl::TF_SRGB_ALPHA, and vl::TF_UNKNOWN.

Referenced by vlX::VLXClassWrapper_Texture::exportTexture(), and vlX::VLXClassWrapper_Texture::importTexture().

◆ vlx_ETextureFormat() [2/2]

vl::ETextureFormat vlX::vlx_ETextureFormat ( const VLXValue value,
VLXSerializer s 
)
inline

Definition at line 625 of file vlxutils.hpp.

References vl::Log::error(), vlX::VLXValue::getIdentifier(), vlX::VLXSerializer::ImportError, vlX::VLXValue::lineNumber(), vlX::VLXSerializer::setError(), vl::TF_11F_G11F_B10F_EXT, vl::TF_ALPHA, vl::TF_ALPHA12, vl::TF_ALPHA16, vl::TF_ALPHA16F, vl::TF_ALPHA16I_EXT, vl::TF_ALPHA16UI_EXT, vl::TF_ALPHA32F, vl::TF_ALPHA32I_EXT, vl::TF_ALPHA32UI_EXT, vl::TF_ALPHA4, vl::TF_ALPHA8, vl::TF_ALPHA8I_EXT, vl::TF_ALPHA8UI_EXT, vl::TF_ALPHA_FLOAT16_ATI, vl::TF_ALPHA_FLOAT32_ATI, vl::TF_COMPRESSED_ALPHA, vl::TF_COMPRESSED_INTENSITY, vl::TF_COMPRESSED_LUMINANCE, vl::TF_COMPRESSED_LUMINANCE_ALPHA, vl::TF_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT, vl::TF_COMPRESSED_LUMINANCE_LATC1_EXT, vl::TF_COMPRESSED_RED, vl::TF_COMPRESSED_RED_GREEN_RGTC2_EXT, vl::TF_COMPRESSED_RED_RGTC1_EXT, vl::TF_COMPRESSED_RG, vl::TF_COMPRESSED_RGB, vl::TF_COMPRESSED_RGB_FXT1_3DFX, vl::TF_COMPRESSED_RGB_S3TC_DXT1_EXT, vl::TF_COMPRESSED_RGBA, vl::TF_COMPRESSED_RGBA_FXT1_3DFX, vl::TF_COMPRESSED_RGBA_S3TC_DXT1_EXT, vl::TF_COMPRESSED_RGBA_S3TC_DXT3_EXT, vl::TF_COMPRESSED_RGBA_S3TC_DXT5_EXT, vl::TF_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT, vl::TF_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT, vl::TF_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, vl::TF_COMPRESSED_SIGNED_RED_RGTC1_EXT, vl::TF_COMPRESSED_SLUMINANCE, vl::TF_COMPRESSED_SLUMINANCE_ALPHA, vl::TF_COMPRESSED_SRGB, vl::TF_COMPRESSED_SRGB_ALPHA, vl::TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, vl::TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, vl::TF_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, vl::TF_COMPRESSED_SRGB_S3TC_DXT1_EXT, vl::TF_DEPTH24_STENCIL8, vl::TF_DEPTH32F_STENCIL8, vl::TF_DEPTH_COMPONENT, vl::TF_DEPTH_COMPONENT16, vl::TF_DEPTH_COMPONENT24, vl::TF_DEPTH_COMPONENT32, vl::TF_DEPTH_COMPONENT32F, vl::TF_DEPTH_STENCIL, vl::TF_INTENSITY, vl::TF_INTENSITY12, vl::TF_INTENSITY16, vl::TF_INTENSITY16F, vl::TF_INTENSITY16I_EXT, vl::TF_INTENSITY16UI_EXT, vl::TF_INTENSITY32F, vl::TF_INTENSITY32I_EXT, vl::TF_INTENSITY32UI_EXT, vl::TF_INTENSITY4, vl::TF_INTENSITY8, vl::TF_INTENSITY8I_EXT, vl::TF_INTENSITY8UI_EXT, vl::TF_INTENSITY_FLOAT16_ATI, vl::TF_INTENSITY_FLOAT32_ATI, vl::TF_LUMINANCE, vl::TF_LUMINANCE12, vl::TF_LUMINANCE12_ALPHA12, vl::TF_LUMINANCE12_ALPHA4, vl::TF_LUMINANCE16, vl::TF_LUMINANCE16_ALPHA16, vl::TF_LUMINANCE16F, vl::TF_LUMINANCE16I_EXT, vl::TF_LUMINANCE16UI_EXT, vl::TF_LUMINANCE32F, vl::TF_LUMINANCE32I_EXT, vl::TF_LUMINANCE32UI_EXT, vl::TF_LUMINANCE4, vl::TF_LUMINANCE4_ALPHA4, vl::TF_LUMINANCE6_ALPHA2, vl::TF_LUMINANCE8, vl::TF_LUMINANCE8_ALPHA8, vl::TF_LUMINANCE8I_EXT, vl::TF_LUMINANCE8UI_EXT, vl::TF_LUMINANCE_ALPHA, vl::TF_LUMINANCE_ALPHA16F, vl::TF_LUMINANCE_ALPHA16I_EXT, vl::TF_LUMINANCE_ALPHA16UI_EXT, vl::TF_LUMINANCE_ALPHA32F, vl::TF_LUMINANCE_ALPHA32I_EXT, vl::TF_LUMINANCE_ALPHA32UI_EXT, vl::TF_LUMINANCE_ALPHA8I_EXT, vl::TF_LUMINANCE_ALPHA8UI_EXT, vl::TF_LUMINANCE_ALPHA_FLOAT16_ATI, vl::TF_LUMINANCE_ALPHA_FLOAT32_ATI, vl::TF_LUMINANCE_FLOAT16_ATI, vl::TF_LUMINANCE_FLOAT32_ATI, vl::TF_R11F_G11F_B10F, vl::TF_R16, vl::TF_R16_SNORM, vl::TF_R16F, vl::TF_R16I, vl::TF_R16UI, vl::TF_R32F, vl::TF_R32I, vl::TF_R32UI, vl::TF_R3_G3_B2, vl::TF_R8, vl::TF_R8_SNORM, vl::TF_R8I, vl::TF_R8UI, vl::TF_RED, vl::TF_RG, vl::TF_RG16, vl::TF_RG16_SNORM, vl::TF_RG16F, vl::TF_RG16I, vl::TF_RG16UI, vl::TF_RG32F, vl::TF_RG32I, vl::TF_RG32UI, vl::TF_RG8, vl::TF_RG8_SNORM, vl::TF_RG8I, vl::TF_RG8UI, vl::TF_RGB, vl::TF_RGB10, vl::TF_RGB10_A2, vl::TF_RGB10_A2UI, vl::TF_RGB12, vl::TF_RGB16, vl::TF_RGB16F, vl::TF_RGB16I, vl::TF_RGB16I_EXT, vl::TF_RGB16UI, vl::TF_RGB16UI_EXT, vl::TF_RGB32F, vl::TF_RGB32I, vl::TF_RGB32I_EXT, vl::TF_RGB32UI, vl::TF_RGB32UI_EXT, vl::TF_RGB4, vl::TF_RGB5, vl::TF_RGB5_A1, vl::TF_RGB8, vl::TF_RGB8_SNORM, vl::TF_RGB8I, vl::TF_RGB8I_EXT, vl::TF_RGB8UI, vl::TF_RGB8UI_EXT, vl::TF_RGB9_E5, vl::TF_RGB9_E5_EXT, vl::TF_RGB_FLOAT16_ATI, vl::TF_RGB_FLOAT32_ATI, vl::TF_RGBA, vl::TF_RGBA12, vl::TF_RGBA16, vl::TF_RGBA16_SNORM, vl::TF_RGBA16F, vl::TF_RGBA16I, vl::TF_RGBA16I_EXT, vl::TF_RGBA16UI, vl::TF_RGBA16UI_EXT, vl::TF_RGBA2, vl::TF_RGBA32F, vl::TF_RGBA32I, vl::TF_RGBA32I_EXT, vl::TF_RGBA32UI, vl::TF_RGBA32UI_EXT, vl::TF_RGBA4, vl::TF_RGBA8, vl::TF_RGBA8_SNORM, vl::TF_RGBA8I, vl::TF_RGBA8I_EXT, vl::TF_RGBA8UI, vl::TF_RGBA8UI_EXT, vl::TF_RGBA_FLOAT16_ATI, vl::TF_RGBA_FLOAT32_ATI, vl::TF_SLUMINANCE, vl::TF_SLUMINANCE8, vl::TF_SLUMINANCE8_ALPHA8, vl::TF_SLUMINANCE_ALPHA, vl::TF_SRGB, vl::TF_SRGB8, vl::TF_SRGB8_ALPHA8, vl::TF_SRGB_ALPHA, and vl::TF_UNKNOWN.

◆ vlx_EUniformType() [1/2]

const char* vlX::vlx_EUniformType ( vl::EUniformType  type)
inline

◆ vlx_EUniformType() [2/2]

vl::EUniformType vlX::vlx_EUniformType ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EVertexAttribInterpretation() [1/2]

vl::EVertexAttribInterpretation vlX::vlx_EVertexAttribInterpretation ( const VLXValue value,
VLXSerializer s 
)
inline

◆ vlx_EVertexAttribInterpretation() [2/2]

const char* vlX::vlx_EVertexAttribInterpretation ( vl::EVertexAttribInterpretation  type)
inline

Definition at line 1247 of file vlxutils.hpp.

References vl::VAI_DOUBLE, vl::VAI_INTEGER, and vl::VAI_NORMAL.

◆ vlx_ID()

VLXValue vlX::vlx_ID ( const std::string &  str)
inline

Definition at line 48 of file vlxutils.hpp.

References vlX::VLXValue::ID.

◆ vlx_Identifier()

VLXValue vlX::vlx_Identifier ( const std::string &  str)
inline

◆ vlx_isScaling()

bool vlX::vlx_isScaling ( const vl::mat4 mat)
inline

Definition at line 138 of file vlxutils.hpp.

References vl::Matrix4< T_Scalar >::e(), and vl::Matrix4< T_Scalar >::isIdentity().

Referenced by vlx_toValue().

◆ vlx_isTranslation()

bool vlX::vlx_isTranslation ( const vl::mat4 mat)
inline

Definition at line 131 of file vlxutils.hpp.

References vl::Matrix4< T_Scalar >::isIdentity(), and vl::Matrix4< T_Scalar >::setT().

Referenced by vlx_toValue().

◆ vlx_ivec4()

vl::ivec4 vlX::vlx_ivec4 ( const VLXArrayInteger arr)
inline

◆ vlx_makeTag()

std::string vlX::vlx_makeTag ( const vl::Object obj)
inline

◆ vlx_mat4() [1/2]

vl::mat4 vlX::vlx_mat4 ( const VLXArrayReal arr)
inline

◆ vlx_mat4() [2/2]

vl::mat4 vlX::vlx_mat4 ( const VLXList list)
inline

◆ vlx_Rawtext()

VLXValue vlX::vlx_Rawtext ( const std::string &  str)
inline

Definition at line 52 of file vlxutils.hpp.

References NULL.

Referenced by vlX::VLXClassWrapper_GLSLShader::exportGLSLShader().

◆ vlx_String()

VLXValue vlX::vlx_String ( const std::string &  str)
inline

◆ vlx_toValue() [1/7]

VLXValue vlX::vlx_toValue ( const std::vector< int > &  vec)
inline

◆ vlx_toValue() [2/7]

VLXValue vlX::vlx_toValue ( const vl::vec4 vec)
inline

◆ vlx_toValue() [3/7]

VLXValue vlX::vlx_toValue ( const vl::ivec4 vec)
inline

◆ vlx_toValue() [4/7]

VLXValue vlX::vlx_toValue ( const vl::uvec4 vec)
inline

◆ vlx_toValue() [5/7]

VLXValue vlX::vlx_toValue ( const vl::vec3 vec)
inline

◆ vlx_toValue() [6/7]

VLXValue vlX::vlx_toValue ( const vl::vec2 vec)
inline

◆ vlx_toValue() [7/7]

VLXValue vlX::vlx_toValue ( const vl::mat4 mat)
inline

◆ vlx_uivec4()

vl::uvec4 vlX::vlx_uivec4 ( const VLXArrayInteger arr)
inline

◆ vlx_vec2()

vl::vec2 vlX::vlx_vec2 ( const VLXArrayReal arr)
inline

◆ vlx_vec3()

vl::vec3 vlX::vlx_vec3 ( const VLXArrayReal arr)
inline

◆ vlx_vec4()

vl::vec4 vlX::vlx_vec4 ( const VLXArrayReal arr)
inline