当前位置: 首页>>代码示例>>Java>>正文


Java IShaderFragment类代码示例

本文整理汇总了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;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:9,代码来源:DiffuseMethod.java

示例2: getVertexShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getVertexShaderFragment()
{
	return new LambertVertexShaderFragment();
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:5,代码来源:DiffuseMethod.java

示例3: getVertexShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getVertexShaderFragment()
{
	return null;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:5,代码来源:SpecularMethod.java

示例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;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:7,代码来源:SpecularMethod.java

示例5: getVertexShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getVertexShaderFragment() {
	return mVertexShader;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:4,代码来源:SkeletalAnimationMaterialPlugin.java

示例6: getFragmentShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
public IShaderFragment getFragmentShaderFragment() {
	return null;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:4,代码来源:SkeletalAnimationMaterialPlugin.java

示例7: getVertexShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getVertexShaderFragment() {
	return mVertexShader;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:5,代码来源:FogMaterialPlugin.java

示例8: getFragmentShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getFragmentShaderFragment() {
	return mFragmentShader;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:5,代码来源:FogMaterialPlugin.java

示例9: getVertexShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getVertexShaderFragment() {
	return null;
}
 
开发者ID:sujitkjha,项目名称:360-Video-Player-for-Android,代码行数:5,代码来源:DepthMaterialPlugin.java

示例10: getVertexShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getVertexShaderFragment() {
    return null;
}
 
开发者ID:godstale,项目名称:VR-Defense-Game,代码行数:5,代码来源:AlphaMaskMaterialPlugin.java

示例11: getFragmentShaderFragment

import org.rajawali3d.materials.shaders.IShaderFragment; //导入依赖的package包/类
@Override
public IShaderFragment getFragmentShaderFragment() {
    return mFragmentShader;
}
 
开发者ID:godstale,项目名称:VR-Defense-Game,代码行数:5,代码来源:AlphaMaskMaterialPlugin.java


注:本文中的org.rajawali3d.materials.shaders.IShaderFragment类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。