예제 #1
0
/* virtual */ void av::osg::TexturedQuad::getInternalFormatModeCB(const av::SFInt::GetValueEvent& event) { *(event.getValuePtr()) = Texture2D.getValue()->getOsgTexture2D()->getInternalFormatMode(); }
예제 #2
0
파일: Uniform.cpp 프로젝트: 4og/avango
/* virtual */ void
av::osg::Uniform::getTypeCB(const av::SFInt::GetValueEvent& event)
{
  *(event.getValuePtr()) = mOsgUniform->getType();
}
예제 #3
0
/* virtual */ void av::osg::TexturedQuad::getMagFilterCB(const av::SFInt::GetValueEvent& event)
{
    *(event.getValuePtr()) = Texture2D.getValue()->getOsgTexture2D()->getFilter(::osg::Texture2D::MAG_FILTER);
}
예제 #4
0
/* virtual */ void av::osg::Texture2DArray::getTextureHeightCB(const av::SFInt::GetValueEvent& event) { *(event.getValuePtr()) = mOsgTexture2DArray->getTextureWidth(); }