public final class NVVideoCaptureUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
glBindVideoCaptureDeviceNV(int video_slot,
long device)
After successfully locking a video capture device, use this method to bind it
to the capture slot specified in the current context.
|
static int |
glEnumerateVideoCaptureDevicesNV(java.nio.LongBuffer devices)
Enumerate the available video capture devices.
|
static boolean |
glLockVideoCaptureDeviceNV(long device)
To lock a video capture device to a display connection, use this method.
|
static boolean |
glQueryVideoCaptureDeviceNV(long device,
int attribute,
java.nio.IntBuffer value)
Use this method to query the unique ID of the physical device backing a
video capture device handle.
|
static boolean |
glReleaseVideoCaptureDeviceNV(long device)
Use this method when finished capturing data on a locked video capture device
to unlock it.
|
public static boolean glBindVideoCaptureDeviceNV(int video_slot, long device)
video_slot
- the video slotdevice
- the video capture devicepublic static int glEnumerateVideoCaptureDevicesNV(java.nio.LongBuffer devices)
devices
- the buffer to store devices inpublic static boolean glLockVideoCaptureDeviceNV(long device)
device
- the device to lockpublic static boolean glQueryVideoCaptureDeviceNV(long device, int attribute, java.nio.IntBuffer value)
device
- the deviceattribute
- the attribute to queryvalue
- the buffer to store the value inpublic static boolean glReleaseVideoCaptureDeviceNV(long device)
device
- the deviceCopyright © 2002-2009 lwjgl.org. All Rights Reserved.