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

pack-priv Class MTLMeshView

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final MTLContext
pack-priv static int
private MTLPhongMaterial
private final MTLMesh
private final long

Constructor Summary

AccessConstructor and Description
private
MTLMeshView(MTLContext context, long nativeHandle, MTLMesh mesh, Disposer.Record disposerRecord)

Method Summary

Modifier and TypeMethod and Description
pack-priv static MTLMeshView
create(MTLContext context, MTLMesh 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 MTLContext context
countback to summary
pack-priv static int count
materialback to summary
private MTLPhongMaterial material
meshback to summary
private final MTLMesh mesh
nativeHandleback to summary
private final long nativeHandle

Constructor Detail

MTLMeshViewback to summary
private MTLMeshView(MTLContext context, long nativeHandle, MTLMesh mesh, Disposer.Record disposerRecord)

Method Detail

createback to summary
pack-priv static MTLMeshView create(MTLContext context, MTLMesh 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.mtl back to summary

private Class MTLMeshView.MTLMeshViewDisposerRecord

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

Field Summary

Modifier and TypeField and Description
private final MTLContext
private long

Constructor Summary

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

Constructor Detail

MTLMeshViewDisposerRecordback to summary
pack-priv MTLMeshViewDisposerRecord(MTLContext 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()