APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.prism.d3d

pack-priv Class D3DMeshView

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 final D3DContext
pack-priv static int
private D3DPhongMaterial
private final D3DMesh
private final long

Constructor Summary

AccessConstructor and Description
private
D3DMeshView(D3DContext context, long nativeHandle, D3DMesh mesh, Disposer.Record disposerRecord)

Method Summary

Modifier and TypeMethod and Description
pack-priv static D3DMeshView
create(D3DContext context, D3DMesh mesh)

public void
public int
public boolean
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.

Field Detail

contextback to summary
private final D3DContext context
countback to summary
pack-priv static int count
materialback to summary
private D3DPhongMaterial material
meshback to summary
private final D3DMesh mesh
nativeHandleback to summary
private final long nativeHandle

Constructor Detail

D3DMeshViewback to summary
private D3DMeshView(D3DContext context, long nativeHandle, D3DMesh mesh, Disposer.Record disposerRecord)

Method Detail

createback to summary
pack-priv static D3DMeshView create(D3DContext context, D3DMesh mesh)
disposeback to summary
public void dispose()

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

Implements com.sun.prism.GraphicsResource.dispose.

Annotations
@Override
getCountback to summary
public int getCount()
isValidback to summary
public boolean isValid()

Overrides com.sun.prism.impl.BaseMeshView.isValid.

Implements com.sun.prism.MeshView.isValid.

Annotations
@Override
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.d3d back to summary

pack-priv Class D3DMeshView.D3DMeshViewDisposerRecord

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

Field Summary

Modifier and TypeField and Description
private final D3DContext
private long

Constructor Summary

AccessConstructor and Description
pack-priv
D3DMeshViewDisposerRecord(D3DContext 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 D3DContext context
nativeHandleback to summary
private long nativeHandle

Constructor Detail

D3DMeshViewDisposerRecordback to summary
pack-priv D3DMeshViewDisposerRecord(D3DContext 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()