Exemplo n.º 1
0
/* virtual */ void av::osg::TexturedQuad::setInternalFormatModeCB(const av::SFInt::SetValueEvent& event)
{
    Texture2D.getValue()->getOsgTexture2D()->setInternalFormatMode((::osg::Texture2D::InternalFormatMode)(event.getValue()));
}
Exemplo n.º 2
0
/* virtual */ void
av::osg::Uniform::setTypeCB(const av::SFInt::SetValueEvent& event)
{
  mOsgUniform->setType(static_cast< ::osg::Uniform::Type>(event.getValue()));
}
Exemplo n.º 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()));
}
Exemplo n.º 4
0
/* virtual */ void av::osg::Texture2DArray::setTextureHeightCB(const av::SFInt::SetValueEvent& event) { mOsgTexture2DArray->setTextureHeight(event.getValue()); }