|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppearanceRenderable
A renderable object that visual part of a ShapeRenderable
that
provides the visual attributes to render the geometry with.
Implementation Nodes
When deciding whether an object has transparency defined, the following factors should be considered:
Method Summary | |
---|---|
AppearanceAttributeRenderable |
getAttributeRenderable(int attrib)
Fetch the sub-renderable for the given type. |
TransparentObjectRenderable |
getMaterialRenderable()
Fetch the renderable that corresponds to material properties. |
ShaderRenderable |
getShaderRenderable()
Fetch the renderable that corresponds to the set programmable shader. |
TextureRenderable |
getTextureRenderable(int unitNumber)
Request the renderable for the given texture unit number. |
boolean |
hasTransparency()
Ask the appearance if it has any transparency values. |
boolean |
hasTransparencyInfo()
Additional state information to supplement hasTransparency() by
stating whether we have any set of sub-renderables that even define
transparency information. |
boolean |
isVisible()
State check to see whether the shape in it's current setup is visible. |
int |
numTextureRenderables()
Request the number of texture renderables that are available to process in this node. |
Methods inherited from interface org.j3d.aviatrix3d.rendering.ObjectRenderable |
---|
postRender, render |
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable |
---|
equals |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
boolean isVisible()
boolean hasTransparency()
boolean hasTransparencyInfo()
hasTransparency()
by
stating whether we have any set of sub-renderables that even define
transparency information. This is used for when an appearance renderable
defines, say, polygon attributes, but no material or blend attributes at
all. In this case you want to know about the 2-sided rendering but need
to later check the geometry for colour with alpha being used.
AppearanceAttributeRenderable getAttributeRenderable(int attrib)
attrib
- The attribute type identifier from
AppearanceAttributeRenderable
int numTextureRenderables()
TextureRenderable getTextureRenderable(int unitNumber)
unitNumber
- The number of the texture unit to fetch
ShaderRenderable getShaderRenderable()
TransparentObjectRenderable getMaterialRenderable()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |