本文整理汇总了Java中org.rajawali3d.materials.shaders.IShaderFragment类的典型用法代码示例。如果您正苦于以下问题:Java IShaderFragment类的具体用法?Java IShaderFragment怎么用?Java IShaderFragment使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IShaderFragment类属于org.rajawali3d.materials.shaders包,在下文中一共展示了IShaderFragment类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getFragmentShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getFragmentShaderFragment() {
if(mFragmentShader == null)
{
mFragmentShader = new ToonFragmentShaderFragment(mLights);
mFragmentShader.setToonColors(mToonColor0, mToonColor1, mToonColor2, mToonColor3);
}
return mFragmentShader;
}
示例2: getVertexShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getVertexShaderFragment()
{
return new LambertVertexShaderFragment();
}
示例3: getVertexShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getVertexShaderFragment()
{
return null;
}
示例4: getFragmentShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getFragmentShaderFragment()
{
if(mFragmentShader == null)
mFragmentShader = new PhongFragmentShaderFragment(mLights, mSpecularColor, mShininess, mIntensity, mTextures);
return mFragmentShader;
}
示例5: getVertexShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getVertexShaderFragment() {
return mVertexShader;
}
示例6: getFragmentShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getFragmentShaderFragment() {
return null;
}
示例7: getVertexShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getVertexShaderFragment() {
return mVertexShader;
}
示例8: getFragmentShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getFragmentShaderFragment() {
return mFragmentShader;
}
示例9: getVertexShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getVertexShaderFragment() {
return null;
}
示例10: getVertexShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getVertexShaderFragment() {
return null;
}
示例11: getFragmentShaderFragment
import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getFragmentShaderFragment() {
return mFragmentShader;
}