org.xith3d.scenegraph
Class _SG_PrivilegedAccess
java.lang.Object
org.xith3d.scenegraph._SG_PrivilegedAccess
public class _SG_PrivilegedAccess
- extends java.lang.Object
This class provides pass-through methods for methods, that
are only for internal use and therefore should not be public,
but need to be publicly accessible in some way to access them
from different packages in xith.
|
Method Summary |
static void |
forceRecull(BranchGroup bg,
boolean force)
|
static void |
forceRefill(BranchGroup bg,
boolean force)
|
static ShadowAtom |
getAtom(GroupNode group)
|
static ShapeAtom |
getAtom(Shape3D shape)
|
static java.nio.FloatBuffer |
getFloatBuffer(Transform3D t3d,
boolean refillOnDemand)
|
static int |
getFramesSinceDirty(GeomData geomData)
|
static Transform3D |
getLeafWorldTransform(Leaf leaf)
|
static org.openmali.spatial.octree2.OcTree<Node> |
getOcTree(OcTreeGroup ocTreeGroup)
Returns the OcTree from the given OcTreeGroup
by calling the OcTreeGroup.getOcTree() method, which has
package-access. |
static int |
getPassId(Shape3D shape)
|
static org.openmali.spatial.quadtree.QuadTree<Node> |
getQuadTree(QuadTreeGroup quadTreeGroup)
|
static void |
incrementFramesSinceDirty(GeomData geomData)
|
static boolean |
isDirty(GeomData geomData)
|
static boolean |
isDirty(Shader shader)
|
static boolean |
isDirty(ShaderProgram<?> shaderProgram)
|
static boolean |
isRecullForeced(BranchGroup bg)
|
static boolean |
isRefillForeced(BranchGroup bg)
|
static void |
markStaticClean(Appearance app)
|
static void |
notifyDrawCallbacks(Texture2DCanvas tc)
|
static void |
resetSizeChanged(Texture texture)
|
static void |
set(View view,
boolean b,
RenderPassConfig rpc)
|
static void |
setAtom(GroupNode group,
ShadowAtom shadowAtom)
|
static void |
setAtom(Shape3D shape,
ShapeAtom atom)
|
static void |
setChanged(NodeComponent nc,
boolean changed)
|
static void |
setChanged(Transform3D t3d,
boolean changed)
|
static void |
setDirty(GeomData geomData,
boolean dirty)
|
static void |
setDirty(Shader shader,
boolean dirty)
|
static void |
setDirty(Texture texture,
boolean dirty)
|
static void |
setGLSLShaderProgramLinked(GLSLShaderProgram shaderProg,
boolean linked)
|
static void |
setGLSLShaderProgramLinkError(GLSLShaderProgram shaderProg,
boolean linkError)
|
static void |
setPassId(Shape3D shape,
int passId)
|
static void |
update(UpdatableNode updatableNode,
View view,
org.openmali.spatial.bodies.Frustum frustum,
long nanoTime,
long nanoStep)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_SG_PrivilegedAccess
public _SG_PrivilegedAccess()
setChanged
public static final void setChanged(NodeComponent nc,
boolean changed)
markStaticClean
public static void markStaticClean(Appearance app)
setChanged
public static final void setChanged(Transform3D t3d,
boolean changed)
getFloatBuffer
public static final java.nio.FloatBuffer getFloatBuffer(Transform3D t3d,
boolean refillOnDemand)
getOcTree
public static final org.openmali.spatial.octree2.OcTree<Node> getOcTree(OcTreeGroup ocTreeGroup)
- Returns the
OcTree from the given OcTreeGroup
by calling the OcTreeGroup.getOcTree() method, which has
package-access.
- Parameters:
ocTreeGroup -
- Returns:
- the given
OcTreeGroup's OcTree.
getQuadTree
public static final org.openmali.spatial.quadtree.QuadTree<Node> getQuadTree(QuadTreeGroup quadTreeGroup)
isDirty
public static final boolean isDirty(ShaderProgram<?> shaderProgram)
setDirty
public static final void setDirty(Shader shader,
boolean dirty)
isDirty
public static final boolean isDirty(Shader shader)
setDirty
public static final void setDirty(GeomData geomData,
boolean dirty)
isDirty
public static final boolean isDirty(GeomData geomData)
incrementFramesSinceDirty
public static final void incrementFramesSinceDirty(GeomData geomData)
getFramesSinceDirty
public static final int getFramesSinceDirty(GeomData geomData)
setAtom
public static final void setAtom(GroupNode group,
ShadowAtom shadowAtom)
getAtom
public static final ShadowAtom getAtom(GroupNode group)
setAtom
public static final void setAtom(Shape3D shape,
ShapeAtom atom)
getAtom
public static final ShapeAtom getAtom(Shape3D shape)
getLeafWorldTransform
public static final Transform3D getLeafWorldTransform(Leaf leaf)
forceRefill
public static final void forceRefill(BranchGroup bg,
boolean force)
isRefillForeced
public static final boolean isRefillForeced(BranchGroup bg)
forceRecull
public static final void forceRecull(BranchGroup bg,
boolean force)
isRecullForeced
public static final boolean isRecullForeced(BranchGroup bg)
setGLSLShaderProgramLinked
public static final void setGLSLShaderProgramLinked(GLSLShaderProgram shaderProg,
boolean linked)
setGLSLShaderProgramLinkError
public static final void setGLSLShaderProgramLinkError(GLSLShaderProgram shaderProg,
boolean linkError)
setPassId
public static final void setPassId(Shape3D shape,
int passId)
getPassId
public static final int getPassId(Shape3D shape)
notifyDrawCallbacks
public static final void notifyDrawCallbacks(Texture2DCanvas tc)
resetSizeChanged
public static final void resetSizeChanged(Texture texture)
setDirty
public static final void setDirty(Texture texture,
boolean dirty)
set
public static final void set(View view,
boolean b,
RenderPassConfig rpc)
update
public static final void update(UpdatableNode updatableNode,
View view,
org.openmali.spatial.bodies.Frustum frustum,
long nanoTime,
long nanoStep)