Top Description Inners Fields Constructors Methods
com.sun.prism.es2

pack-priv Class ES2MeshView

extends BaseMeshView
Class Inheritance
Imports
com.sun.prism.Graphics, .Material, com.sun.prism.impl.BaseMeshView, .Disposer

Todo

3D - Need documentation

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private float
private float
private float
private final ES2Context
pack-priv static int
private ES2Light[]
private ES2PhongMaterial
private final ES2Mesh
private final long

Constructor Summary

AccessConstructor and Description
private
ES2MeshView(ES2Context context, long nativeHandle, ES2Mesh mesh, Disposer.Record disposerRecord)

Method Summary

Modifier and TypeMethod and Description
pack-priv static ES2MeshView
create(ES2Context context, ES2Mesh mesh)

public void
pack-priv float
pack-priv float
pack-priv float
public int
pack-priv ES2Light[]
pack-priv ES2PhongMaterial
public void
public void
setAmbientLight(float r, float g, float b)

Implements com.sun.prism.MeshView.setAmbientLight.

public void
public void
setLight(int index, float x, float y, float z, float r, float g, float b, float w, float ca, float la, float qa, float isAttenuated, float maxRange, float dirX, float dirY, float dirZ, float innerAngle, float outerAngle, float falloff)

Implements com.sun.prism.MeshView.setLight.

public void
public void
setWireframe(boolean wireframe)

Implements com.sun.prism.MeshView.setWireframe.

Inherited from com.sun.prism.impl.BaseMeshView:
isValid

Field Detail

ambientLightBlueback to summary
private float ambientLightBlue
ambientLightGreenback to summary
private float ambientLightGreen
ambientLightRedback to summary
private float ambientLightRed
contextback to summary
private final ES2Context context
countback to summary
pack-priv static int count
lightsback to summary
private ES2Light[] lights
materialback to summary
private ES2PhongMaterial material
meshback to summary
private final ES2Mesh mesh
nativeHandleback to summary
private final long nativeHandle

Constructor Detail

ES2MeshViewback to summary
private ES2MeshView(ES2Context context, long nativeHandle, ES2Mesh mesh, Disposer.Record disposerRecord)

Method Detail

createback to summary
pack-priv static ES2MeshView create(ES2Context context, ES2Mesh mesh)
disposeback to summary
public void dispose()

Implements abstract com.sun.prism.impl.BaseGraphicsResource.dispose.

Implements com.sun.prism.GraphicsResource.dispose.

Annotations
@Override
getAmbientLightBlueback to summary
pack-priv float getAmbientLightBlue()
getAmbientLightGreenback to summary
pack-priv float getAmbientLightGreen()
getAmbientLightRedback to summary
pack-priv float getAmbientLightRed()
getCountback to summary
public int getCount()
getLightsback to summary
pack-priv ES2Light[] getLights()
getMaterialback to summary
pack-priv ES2PhongMaterial getMaterial()
renderback to summary
public void render(Graphics g)

Implements com.sun.prism.MeshView.render.

Annotations
@Override
setAmbientLightback to summary
public void setAmbientLight(float r, float g, float b)

Implements com.sun.prism.MeshView.setAmbientLight.

Annotations
@Override
setCullingModeback to summary
public void setCullingMode(int cullingMode)

Implements com.sun.prism.MeshView.setCullingMode.

Annotations
@Override
setLightback to summary
public void setLight(int index, float x, float y, float z, float r, float g, float b, float w, float ca, float la, float qa, float isAttenuated, float maxRange, float dirX, float dirY, float dirZ, float innerAngle, float outerAngle, float falloff)

Implements com.sun.prism.MeshView.setLight.

Annotations
@Override
setMaterialback to summary
public void setMaterial(Material material)

Implements com.sun.prism.MeshView.setMaterial.

Annotations
@Override
setWireframeback to summary
public void setWireframe(boolean wireframe)

Implements com.sun.prism.MeshView.setWireframe.

Annotations
@Override
com.sun.prism.es2 back to summary

pack-priv Class ES2MeshView.ES2MeshViewDisposerRecord

extends Object
implements Record
Class Inheritance
All Implemented Interfaces
com.sun.prism.impl.Disposer.Record

Field Summary

Modifier and TypeField and Description
private final ES2Context
private long

Constructor Summary

AccessConstructor and Description
pack-priv
ES2MeshViewDisposerRecord(ES2Context context, long nativeHandle)

Method Summary

Modifier and TypeMethod and Description
public void
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
private final ES2Context context
nativeHandleback to summary
private long nativeHandle

Constructor Detail

ES2MeshViewDisposerRecordback to summary
pack-priv ES2MeshViewDisposerRecord(ES2Context context, long nativeHandle)

Method Detail

disposeback to summary
public void dispose()

Implements com.sun.prism.impl.Disposer.Record.dispose.

Annotations
@Override
traceDisposeback to summary
pack-priv void traceDispose()