osg serializers fixed for static build, ShaderAttribute wrapper added
This commit is contained in:
parent
4bc1320709
commit
8055ec9156
@ -3,25 +3,34 @@
|
||||
USE_SERIALIZER_WRAPPER(AlphaFunc)
|
||||
USE_SERIALIZER_WRAPPER(AnimationPath)
|
||||
USE_SERIALIZER_WRAPPER(AnimationPathCallback)
|
||||
USE_SERIALIZER_WRAPPER(AtomicCounterBufferBinding)
|
||||
USE_SERIALIZER_WRAPPER(AudioSink)
|
||||
USE_SERIALIZER_WRAPPER(AudioStream)
|
||||
USE_SERIALIZER_WRAPPER(AutoTransform)
|
||||
USE_SERIALIZER_WRAPPER(Billboard)
|
||||
USE_SERIALIZER_WRAPPER(BlendColor)
|
||||
USE_SERIALIZER_WRAPPER(BlendEquation)
|
||||
USE_SERIALIZER_WRAPPER(BlendEquationi)
|
||||
USE_SERIALIZER_WRAPPER(BlendFunc)
|
||||
USE_SERIALIZER_WRAPPER(BlendFunci)
|
||||
USE_SERIALIZER_WRAPPER(BoolValueObject)
|
||||
USE_SERIALIZER_WRAPPER(Box)
|
||||
USE_SERIALIZER_WRAPPER(BufferData)
|
||||
USE_SERIALIZER_WRAPPER(BufferIndexBinding)
|
||||
USE_SERIALIZER_WRAPPER(BufferObject)
|
||||
USE_SERIALIZER_WRAPPER(Callback)
|
||||
USE_SERIALIZER_WRAPPER(CallbackObject)
|
||||
USE_SERIALIZER_WRAPPER(Camera)
|
||||
USE_SERIALIZER_WRAPPER(CameraView)
|
||||
USE_SERIALIZER_WRAPPER(Capsule)
|
||||
USE_SERIALIZER_WRAPPER(ClampColor)
|
||||
USE_SERIALIZER_WRAPPER(ClearNode)
|
||||
USE_SERIALIZER_WRAPPER(ClipNode)
|
||||
USE_SERIALIZER_WRAPPER(ClipControl)
|
||||
USE_SERIALIZER_WRAPPER(ClipPlane)
|
||||
USE_SERIALIZER_WRAPPER(ClusterCullingCallback)
|
||||
USE_SERIALIZER_WRAPPER(ColorMask)
|
||||
USE_SERIALIZER_WRAPPER(ColorMaski)
|
||||
USE_SERIALIZER_WRAPPER(ColorMatrix)
|
||||
USE_SERIALIZER_WRAPPER(CompositeShape)
|
||||
USE_SERIALIZER_WRAPPER(ComputeBoundingBoxCallback)
|
||||
@ -32,9 +41,11 @@ USE_SERIALIZER_WRAPPER(ConvexPlanarOccluder)
|
||||
USE_SERIALIZER_WRAPPER(CoordinateSystemNode)
|
||||
USE_SERIALIZER_WRAPPER(CullFace)
|
||||
USE_SERIALIZER_WRAPPER(Cylinder)
|
||||
USE_SERIALIZER_WRAPPER(DefaultUserDataContainer)
|
||||
USE_SERIALIZER_WRAPPER(Depth)
|
||||
USE_SERIALIZER_WRAPPER(Drawable)
|
||||
USE_SERIALIZER_WRAPPER(DrawPixels)
|
||||
USE_SERIALIZER_WRAPPER(ElementBufferObject)
|
||||
USE_SERIALIZER_WRAPPER(EllipsoidModel)
|
||||
USE_SERIALIZER_WRAPPER(Fog)
|
||||
USE_SERIALIZER_WRAPPER(FragmentProgram)
|
||||
@ -77,10 +88,14 @@ USE_SERIALIZER_WRAPPER(Projection)
|
||||
USE_SERIALIZER_WRAPPER(ProxyNode)
|
||||
USE_SERIALIZER_WRAPPER(SampleMaski)
|
||||
USE_SERIALIZER_WRAPPER(Scissor)
|
||||
USE_SERIALIZER_WRAPPER(Script)
|
||||
USE_SERIALIZER_WRAPPER(ScriptNodeCallback)
|
||||
USE_SERIALIZER_WRAPPER(Sequence)
|
||||
USE_SERIALIZER_WRAPPER(ShadeModel)
|
||||
USE_SERIALIZER_WRAPPER(Shader)
|
||||
USE_SERIALIZER_WRAPPER(ShaderAttribute)
|
||||
USE_SERIALIZER_WRAPPER(ShaderBinary)
|
||||
USE_SERIALIZER_WRAPPER(ShaderStorageBufferBinding)
|
||||
USE_SERIALIZER_WRAPPER(Shape)
|
||||
USE_SERIALIZER_WRAPPER(ShapeDrawable)
|
||||
USE_SERIALIZER_WRAPPER(Sphere)
|
||||
@ -101,16 +116,21 @@ USE_SERIALIZER_WRAPPER(Texture1D)
|
||||
USE_SERIALIZER_WRAPPER(Texture2D)
|
||||
USE_SERIALIZER_WRAPPER(Texture2DArray)
|
||||
USE_SERIALIZER_WRAPPER(Texture3D)
|
||||
USE_SERIALIZER_WRAPPER(TextureBuffer)
|
||||
USE_SERIALIZER_WRAPPER(TextureCubeMap)
|
||||
USE_SERIALIZER_WRAPPER(TextureRectangle)
|
||||
USE_SERIALIZER_WRAPPER(TransferFunction)
|
||||
USE_SERIALIZER_WRAPPER(TransferFunction1D)
|
||||
USE_SERIALIZER_WRAPPER(Transform)
|
||||
USE_SERIALIZER_WRAPPER(TransformFeedbackBufferBinding)
|
||||
USE_SERIALIZER_WRAPPER(TriangleMesh)
|
||||
USE_SERIALIZER_WRAPPER(Uniform)
|
||||
USE_SERIALIZER_WRAPPER(UniformBufferBinding)
|
||||
USE_SERIALIZER_WRAPPER(UniformCallback)
|
||||
USE_SERIALIZER_WRAPPER(UpdateCallback)
|
||||
USE_SERIALIZER_WRAPPER(UserDataContainer)
|
||||
USE_SERIALIZER_WRAPPER(VertexAttribDivisor)
|
||||
USE_SERIALIZER_WRAPPER(VertexBufferObject)
|
||||
USE_SERIALIZER_WRAPPER(VertexProgram)
|
||||
USE_SERIALIZER_WRAPPER(Viewport)
|
||||
|
||||
@ -164,5 +184,21 @@ USE_SERIALIZER_WRAPPER(DrawElementsUByte)
|
||||
USE_SERIALIZER_WRAPPER(DrawElementsUShort)
|
||||
USE_SERIALIZER_WRAPPER(DrawElementsUInt)
|
||||
|
||||
#ifdef OSG_HAS_MULTIDRAWARRAYS
|
||||
USE_SERIALIZER_WRAPPER(MultiDrawArrays)
|
||||
#endif
|
||||
|
||||
// PrimitiveSetIndirect
|
||||
USE_SERIALIZER_WRAPPER(IndirectCommandDrawArrays)
|
||||
USE_SERIALIZER_WRAPPER(IndirectCommandDrawElements)
|
||||
USE_SERIALIZER_WRAPPER(osgDefaultIndirectCommandDrawArrays)
|
||||
USE_SERIALIZER_WRAPPER(osgDefaultIndirectCommandDrawElements)
|
||||
USE_SERIALIZER_WRAPPER(DrawArraysIndirect)
|
||||
USE_SERIALIZER_WRAPPER(MultiDrawArraysIndirect)
|
||||
USE_SERIALIZER_WRAPPER(DrawElementsIndirect)
|
||||
USE_SERIALIZER_WRAPPER(DrawElementsIndirectUByte)
|
||||
USE_SERIALIZER_WRAPPER(DrawElementsIndirectUShort)
|
||||
USE_SERIALIZER_WRAPPER(DrawElementsIndirectUInt)
|
||||
|
||||
extern "C" void wrapper_serializer_library_osg(void) {}
|
||||
|
||||
|
11
src/osgWrappers/serializers/osg/ShaderAttribute.cpp
Normal file
11
src/osgWrappers/serializers/osg/ShaderAttribute.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <osg/ShaderAttribute>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( ShaderAttribute,
|
||||
/*new osg::ShaderAttribute*/NULL,
|
||||
osg::ShaderAttribute,
|
||||
"osg::Object osg::StateAttribute osg::ShaderAttribute" )
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user