示例#1
0
/* virtual */ void av::osg::TexturedQuad::setInternalFormatModeCB(const av::SFInt::SetValueEvent& event)
{
    Texture2D.getValue()->getOsgTexture2D()->setInternalFormatMode((::osg::Texture2D::InternalFormatMode)(event.getValue()));
}
示例#2
0
文件: Uniform.cpp 项目: 4og/avango
/* virtual */ void
av::osg::Uniform::setTypeCB(const av::SFInt::SetValueEvent& event)
{
  mOsgUniform->setType(static_cast< ::osg::Uniform::Type>(event.getValue()));
}
示例#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()));
}
示例#4
0
/* virtual */ void av::osg::Texture2DArray::setTextureHeightCB(const av::SFInt::SetValueEvent& event) { mOsgTexture2DArray->setTextureHeight(event.getValue()); }