| |
|
| java.lang.Object javax.media.j3d.J3DBuffer
Constructor Summary | |
public | J3DBuffer() Constructs a J3DBuffer object and initializes it with
a null NIO buffer object. | public | J3DBuffer(java.nio.Buffer buffer) Constructs a J3DBuffer object and initializes it with
the specified NIO buffer object. |
TYPE_BYTE | final static int TYPE_BYTE(Code) | | |
TYPE_CHAR | final static int TYPE_CHAR(Code) | | |
TYPE_DOUBLE | final static int TYPE_DOUBLE(Code) | | |
TYPE_FLOAT | final static int TYPE_FLOAT(Code) | | |
TYPE_INT | final static int TYPE_INT(Code) | | |
TYPE_LONG | final static int TYPE_LONG(Code) | | |
TYPE_NULL | final static int TYPE_NULL(Code) | | |
TYPE_SHORT | final static int TYPE_SHORT(Code) | | |
TYPE_UNKNOWN | final static int TYPE_UNKNOWN(Code) | | |
unsupportedOperation | static boolean unsupportedOperation(Code) | | |
J3DBuffer | public J3DBuffer()(Code) | | Constructs a J3DBuffer object and initializes it with
a null NIO buffer object. The NIO buffer object
must be set to a non-null value before using this J3DBuffer
object in a Java 3D node component.
exception: UnsupportedOperationException - if the JVM does notsupport native access to direct NIO buffers |
J3DBuffer | public J3DBuffer(java.nio.Buffer buffer)(Code) | | Constructs a J3DBuffer object and initializes it with
the specified NIO buffer object.
Parameters: buffer - the NIO buffer wrapped by this J3DBuffer exception: UnsupportedOperationException - if the JVM does notsupport native access to direct NIO buffers exception: IllegalArgumentException - if the specified buffer isnot a direct buffer, or if the byte order of the specifiedbuffer does not match the native byte order of the underlyingplatform. |
getBuffer | public java.nio.Buffer getBuffer()(Code) | | Retrieves the NIO buffer object from this J3DBuffer.
the current NIO buffer wrapped by this J3DBuffer |
getBufferType | int getBufferType()(Code) | | |
setBuffer | public void setBuffer(java.nio.Buffer buffer)(Code) | | Sets the NIO buffer object in this J3DBuffer to
the specified object.
Parameters: buffer - the NIO buffer wrapped by this J3DBuffer exception: IllegalArgumentException - if the specified buffer isnot a direct buffer, or if the byte order of the specifiedbuffer does not match the native byte order of the underlyingplatform. |
|
|
|