public class SimpleShaderAppearance extends org.jogamp.java3d.ShaderAppearance
| Modifier and Type | Field and Description |
|---|---|
static String |
alphaTestMethod |
static String |
alphaTestUniforms |
static String |
glFrontMaterial |
static String |
glLightSource |
ALLOW_SHADER_ATTRIBUTE_SET_READ, ALLOW_SHADER_ATTRIBUTE_SET_WRITE, ALLOW_SHADER_PROGRAM_READ, ALLOW_SHADER_PROGRAM_WRITEALLOW_COLORING_ATTRIBUTES_READ, ALLOW_COLORING_ATTRIBUTES_WRITE, ALLOW_LINE_ATTRIBUTES_READ, ALLOW_LINE_ATTRIBUTES_WRITE, ALLOW_MATERIAL_READ, ALLOW_MATERIAL_WRITE, ALLOW_POINT_ATTRIBUTES_READ, ALLOW_POINT_ATTRIBUTES_WRITE, ALLOW_POLYGON_ATTRIBUTES_READ, ALLOW_POLYGON_ATTRIBUTES_WRITE, ALLOW_RENDERING_ATTRIBUTES_READ, ALLOW_RENDERING_ATTRIBUTES_WRITE, ALLOW_TEXGEN_READ, ALLOW_TEXGEN_WRITE, ALLOW_TEXTURE_ATTRIBUTES_READ, ALLOW_TEXTURE_ATTRIBUTES_WRITE, ALLOW_TEXTURE_READ, ALLOW_TEXTURE_UNIT_STATE_READ, ALLOW_TEXTURE_UNIT_STATE_WRITE, ALLOW_TEXTURE_WRITE, ALLOW_TRANSPARENCY_ATTRIBUTES_READ, ALLOW_TRANSPARENCY_ATTRIBUTES_WRITE| Constructor and Description |
|---|
SimpleShaderAppearance()
This will define the shader code based on the attributes set
|
SimpleShaderAppearance(boolean lit,
boolean hasTexture) |
SimpleShaderAppearance(org.jogamp.vecmath.Color3f color)
Lines with a single color no texture, ignores vertex attribute of color
|
duplicateNodeComponent, getShaderAttributeSet, getShaderProgram, setShaderAttributeSet, setShaderProgramgetColoringAttributes, getLineAttributes, getMaterial, getPointAttributes, getPolygonAttributes, getRenderingAttributes, getTexCoordGeneration, getTexture, getTextureAttributes, getTextureUnitCount, getTextureUnitState, getTextureUnitState, getTransparencyAttributescloneNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTreeclearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferencespublic static String alphaTestUniforms
public static String alphaTestMethod
public static String glFrontMaterial
public static String glLightSource
public SimpleShaderAppearance()
public SimpleShaderAppearance(org.jogamp.vecmath.Color3f color)
color - public SimpleShaderAppearance(boolean lit,
boolean hasTexture)
public static void setVersionES100()
public static void setVersionES300()
public static void setVersion120()
public String getVertexShaderSource()
public String getFragmentShaderSource()
public void setUpdatableCapabilities()
public void rebuildShaders()
public void setMaterial(org.jogamp.java3d.Material material)
setMaterial in class org.jogamp.java3d.Appearancepublic void setColoringAttributes(org.jogamp.java3d.ColoringAttributes coloringAttributes)
setColoringAttributes in class org.jogamp.java3d.Appearancepublic void setTransparencyAttributes(org.jogamp.java3d.TransparencyAttributes transparencyAttributes)
setTransparencyAttributes in class org.jogamp.java3d.Appearancepublic void setRenderingAttributes(org.jogamp.java3d.RenderingAttributes renderingAttributes)
setRenderingAttributes in class org.jogamp.java3d.Appearancepublic void setPolygonAttributes(org.jogamp.java3d.PolygonAttributes polygonAttributes)
setPolygonAttributes in class org.jogamp.java3d.Appearancepublic void setLineAttributes(org.jogamp.java3d.LineAttributes lineAttributes)
setLineAttributes in class org.jogamp.java3d.Appearancepublic void setPointAttributes(org.jogamp.java3d.PointAttributes pointAttributes)
setPointAttributes in class org.jogamp.java3d.Appearancepublic void setTexture(org.jogamp.java3d.Texture texture)
setTexture in class org.jogamp.java3d.Appearancepublic void setTextureAttributes(org.jogamp.java3d.TextureAttributes textureAttributes)
setTextureAttributes in class org.jogamp.java3d.Appearancepublic void setTexCoordGeneration(org.jogamp.java3d.TexCoordGeneration texCoordGeneration)
setTexCoordGeneration in class org.jogamp.java3d.Appearancepublic void setTextureUnitState(org.jogamp.java3d.TextureUnitState[] stateArray)
setTextureUnitState in class org.jogamp.java3d.Appearancepublic void setTextureUnitState(int index,
org.jogamp.java3d.TextureUnitState state)
setTextureUnitState in class org.jogamp.java3d.Appearancepublic org.jogamp.java3d.NodeComponent cloneNodeComponent()
cloneNodeComponent in class org.jogamp.java3d.ShaderAppearanceCopyright © 2023. All rights reserved.