Example #1
0
/* virtual */ void av::osg::TexturedQuad::setInternalFormatModeCB(const av::SFInt::SetValueEvent& event)
{
    Texture2D.getValue()->getOsgTexture2D()->setInternalFormatMode((::osg::Texture2D::InternalFormatMode)(event.getValue()));
}
Example #2
0
/* virtual */ void
av::osg::Uniform::setTypeCB(const av::SFInt::SetValueEvent& event)
{
  mOsgUniform->setType(static_cast< ::osg::Uniform::Type>(event.getValue()));
}
Example #3
0
/* virtual */ void av::osg::TexturedQuad::setMagFilterCB(const av::SFInt::SetValueEvent& event)
{
    Texture2D.getValue()->getOsgTexture2D()->setFilter(::osg::Texture2D::MAG_FILTER, (::osg::Texture2D::FilterMode)(event.getValue()));
}
Example #4
0
/* virtual */ void av::osg::Texture2DArray::setTextureHeightCB(const av::SFInt::SetValueEvent& event) { mOsgTexture2DArray->setTextureHeight(event.getValue()); }