Package org.lwjgl.openvr
Class VRIOBuffer
- java.lang.Object
-
- org.lwjgl.openvr.VRIOBuffer
-
public class VRIOBuffer extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intnVRIOBuffer_Open(long pchPath, int mode, int unElementSize, int unElements, long pulBuffer)Unsafe version of:Openstatic intnVRIOBuffer_Read(long ulBuffer, long pDst, int unBytes, long punRead)Unsafe version of:Readstatic intnVRIOBuffer_Write(long ulBuffer, long pSrc, int unBytes)Unsafe version of:Writestatic intVRIOBuffer_Close(long ulBuffer)Closes a previously opened or created buffer.static booleanVRIOBuffer_HasReaders(long ulBuffer)Inexpensively checks for readers to allow writers to fast-fail potentially expensive copies and writes.static intVRIOBuffer_Open(java.lang.CharSequence pchPath, int mode, int unElementSize, int unElements, java.nio.LongBuffer pulBuffer)Opens an existing or creates a newIOBufferofunSizebytes.static intVRIOBuffer_Open(java.nio.ByteBuffer pchPath, int mode, int unElementSize, int unElements, java.nio.LongBuffer pulBuffer)Opens an existing or creates a newIOBufferofunSizebytes.static longVRIOBuffer_PropertyContainer(long ulBuffer)Retrieves the property container of a buffer.static intVRIOBuffer_Read(long ulBuffer, java.nio.ByteBuffer pDst, java.nio.IntBuffer punRead)Reads up tounBytesfrom buffer into*pDst, returning number of bytes read in*punReadstatic intVRIOBuffer_Write(long ulBuffer, java.nio.ByteBuffer pSrc)WritesunBytesof data from*pSrcinto a buffer.
-
-
-
Method Detail
-
nVRIOBuffer_Open
public static int nVRIOBuffer_Open(long pchPath, int mode, int unElementSize, int unElements, long pulBuffer)Unsafe version of:Open
-
VRIOBuffer_Open
public static int VRIOBuffer_Open(java.nio.ByteBuffer pchPath, int mode, int unElementSize, int unElements, java.nio.LongBuffer pulBuffer) public static int VRIOBuffer_Open(java.lang.CharSequence pchPath, int mode, int unElementSize, int unElements, java.nio.LongBuffer pulBuffer)Opens an existing or creates a newIOBufferofunSizebytes.
-
VRIOBuffer_Close
public static int VRIOBuffer_Close(long ulBuffer)
Closes a previously opened or created buffer.
-
nVRIOBuffer_Read
public static int nVRIOBuffer_Read(long ulBuffer, long pDst, int unBytes, long punRead)Unsafe version of:Read
-
VRIOBuffer_Read
public static int VRIOBuffer_Read(long ulBuffer, java.nio.ByteBuffer pDst, java.nio.IntBuffer punRead)Reads up tounBytesfrom buffer into*pDst, returning number of bytes read in*punRead
-
nVRIOBuffer_Write
public static int nVRIOBuffer_Write(long ulBuffer, long pSrc, int unBytes)Unsafe version of:Write
-
VRIOBuffer_Write
public static int VRIOBuffer_Write(long ulBuffer, java.nio.ByteBuffer pSrc)WritesunBytesof data from*pSrcinto a buffer.
-
VRIOBuffer_PropertyContainer
public static long VRIOBuffer_PropertyContainer(long ulBuffer)
Retrieves the property container of a buffer.
-
VRIOBuffer_HasReaders
public static boolean VRIOBuffer_HasReaders(long ulBuffer)
Inexpensively checks for readers to allow writers to fast-fail potentially expensive copies and writes.
-
-