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

pack-priv Class MTLMesh

extends BaseMesh
Class Inheritance
Imports
com.sun.prism.impl.BaseMesh, .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 final long
Inherited from com.sun.prism.impl.BaseMesh:
FACE_MEMBERS_SIZENORMAL_SIZENORMAL_SIZE_VBPOINT_SIZEPOINT_SIZE_VBTEXCOORD_SIZETEXCOORD_SIZE_VBVERTEX_SIZE_VB

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public boolean
buildNativeGeometry(float[] vertexBuffer, int vertexBufferLength, int[] indexBufferInt, int indexBufferLength)

Implements abstract com.sun.prism.impl.BaseMesh.buildNativeGeometry.

public boolean
buildNativeGeometry(float[] vertexBuffer, int vertexBufferLength, short[] indexBufferShort, int indexBufferLength)

Implements abstract com.sun.prism.impl.BaseMesh.buildNativeGeometry.

pack-priv static MTLMesh
create(MTLContext context)

public void
public int
pack-priv long
public boolean
Inherited from com.sun.prism.impl.BaseMesh:
buildGeometrygetFacegetNumFacesgetNumTVertsgetNumVertsgetTVertexgetVertex

Field Detail

contextback to summary
private final MTLContext context
countback to summary
pack-priv static int count
nativeHandleback to summary
private final long nativeHandle

Constructor Detail

MTLMeshback to summary
private MTLMesh(MTLContext context, long nativeHandle, Disposer.Record disposerRecord)

Method Detail

buildNativeGeometryback to summary
public boolean buildNativeGeometry(float[] vertexBuffer, int vertexBufferLength, int[] indexBufferInt, int indexBufferLength)

Implements abstract com.sun.prism.impl.BaseMesh.buildNativeGeometry.

Annotations
@Override
buildNativeGeometryback to summary
public boolean buildNativeGeometry(float[] vertexBuffer, int vertexBufferLength, short[] indexBufferShort, int indexBufferLength)

Implements abstract com.sun.prism.impl.BaseMesh.buildNativeGeometry.

Annotations
@Override
createback to summary
pack-priv static MTLMesh create(MTLContext context)
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()

Implements com.sun.prism.Mesh.getCount.

Annotations
@Override
getNativeHandleback to summary
pack-priv long getNativeHandle()
isValidback to summary
public boolean isValid()

Overrides com.sun.prism.impl.BaseMesh.isValid.

Implements com.sun.prism.Mesh.isValid.

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

private Class MTLMesh.MTLMeshDisposerRecord

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
MTLMeshDisposerRecord(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

MTLMeshDisposerRecordback to summary
pack-priv MTLMeshDisposerRecord(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()