OpenSceneGraph 3.6.5
MorphTransformHardware
Go to the documentation of this file.
1/* -*-c++-*-
2 * Copyright (C) 2017 Julien Valentin <mp3butcher@hotmail.com>
3 *
4 * This library is open source and may be redistributed and/or modified under
5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
6 * (at your option) any later version. The full license is in LICENSE file
7 * included with this distribution, and on the openscenegraph.org website.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * OpenSceneGraph Public License for more details.
13 */
14
15#ifndef OSGANIMATION_MORPH_TRANSFORM_HARDWARE
16#define OSGANIMATION_MORPH_TRANSFORM_HARDWARE 1
17
18#include <osgAnimation/Export>
21#include <osgAnimation/Bone>
22#include <osg/Matrix>
23#include <osg/Array>
24
26#define MORPHTRANSHW_DEFAULTMORPHTEXTUREUNIT 7
27
28namespace osgAnimation
29{
30 class MorphGeometry;
31
63}
64
65#endif
The osgAnimation library provides general purpose utility classes for animation.
Definition Action:34
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
osg::Shader is an application-level abstraction of an OpenGL glShader.
Definition Shader:89
Definition MorphGeometry:28
osg::ref_ptr< osg::Uniform > _uniformTargetsWeight
Definition MorphTransformHardware:57
MorphTransformHardware(const MorphTransformHardware &rth, const osg::CopyOp &copyop)
META_Object(osgAnimation, MorphTransformHardware)
unsigned int _reservedTextureUnit
Definition MorphTransformHardware:61
bool _needInit
Definition MorphTransformHardware:60
virtual void operator()(MorphGeometry &)
osg::Shader * getShader()
Definition MorphTransformHardware:47
osg::ref_ptr< osg::Shader > _shader
Definition MorphTransformHardware:58
unsigned int getReservedTextureUnit() const
Definition MorphTransformHardware:51
void setShader(osg::Shader *s)
Definition MorphTransformHardware:45
void setReservedTextureUnit(unsigned int t)
texture unit reserved for morphtarget TBO default is 7
Definition MorphTransformHardware:50
const osg::Shader * getShader() const
Definition MorphTransformHardware:46
MorphTransform()
Definition RigTransform:49
#define OSGANIMATION_EXPORT
Definition Export:40

osg logo
Generated at Wed Jul 23 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.