public static class DEVMODE.Buffer extends org.lwjgl.system.StructBuffer<DEVMODE,DEVMODE.Buffer> implements org.lwjgl.system.NativeResource
DEVMODE structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
DEVMODE.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
dmBitsPerPel()
Returns the value of the
dmBitsPerPel field. |
short |
dmCollate()
Returns the value of the
dmCollate field. |
short |
dmColor()
Returns the value of the
dmColor field. |
short |
dmCopies()
Returns the value of the
dmCopies field. |
short |
dmDefaultSource()
Returns the value of the
dmDefaultSource field. |
java.nio.ByteBuffer |
dmDeviceName()
Returns a
ByteBuffer view of the dmDeviceName field. |
java.lang.String |
dmDeviceNameString()
Decodes the null-terminated string stored in the
dmDeviceName field. |
int |
dmDisplayFixedOutput()
Returns the value of the
dmDisplayFixedOutput field. |
int |
dmDisplayFlags()
Returns the value of the
dmDisplayFlags field. |
int |
dmDisplayFrequency()
Returns the value of the
dmDisplayFrequency field. |
int |
dmDisplayOrientation()
Returns the value of the
dmDisplayOrientation field. |
int |
dmDitherType()
Returns the value of the
dmDitherType field. |
short |
dmDriverExtra()
Returns the value of the
dmDriverExtra field. |
DEVMODE.Buffer |
dmDriverExtra(short value)
Sets the specified value to the
dmDriverExtra field. |
short |
dmDriverVersion()
Returns the value of the
dmDriverVersion field. |
short |
dmDuplex()
Returns the value of the
dmDuplex field. |
int |
dmFields()
Returns the value of the
dmFields field. |
java.nio.ByteBuffer |
dmFormName()
Returns a
ByteBuffer view of the dmFormName field. |
java.lang.String |
dmFormNameString()
Decodes the null-terminated string stored in the
dmFormName field. |
int |
dmICMIntent()
Returns the value of the
dmICMIntent field. |
int |
dmICMMethod()
Returns the value of the
dmICMMethod field. |
short |
dmLogPixels()
Returns the value of the
dmLogPixels field. |
int |
dmMediaType()
Returns the value of the
dmMediaType field. |
int |
dmNup()
Returns the value of the
dmNup field. |
short |
dmOrientation()
Returns the value of the
dmOrientation field. |
int |
dmPanningHeight()
Returns the value of the
dmPanningHeight field. |
int |
dmPanningWidth()
Returns the value of the
dmPanningWidth field. |
short |
dmPaperLength()
Returns the value of the
dmPaperLength field. |
short |
dmPaperSize()
Returns the value of the
dmPaperSize field. |
short |
dmPaperWidth()
Returns the value of the
dmPaperWidth field. |
int |
dmPelsHeight()
Returns the value of the
dmPelsHeight field. |
int |
dmPelsWidth()
Returns the value of the
dmPelsWidth field. |
POINTL |
dmPosition()
Returns a
POINTL view of the dmPosition field. |
short |
dmPrintQuality()
Returns the value of the
dmPrintQuality field. |
int |
dmReserved1()
Returns the value of the
dmReserved1 field. |
int |
dmReserved2()
Returns the value of the
dmReserved2 field. |
short |
dmScale()
Returns the value of the
dmScale field. |
short |
dmSize()
Returns the value of the
dmSize field. |
DEVMODE.Buffer |
dmSize(short value)
Sets the specified value to the
dmSize field. |
short |
dmSpecVersion()
Returns the value of the
dmSpecVersion field. |
DEVMODE.Buffer |
dmSpecVersion(short value)
Sets the specified value to the
dmSpecVersion field. |
short |
dmTTOption()
Returns the value of the
dmTTOption field. |
short |
dmYResolution()
Returns the value of the
dmYResolution field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
DEVMODE.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by DEVMODE.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public java.nio.ByteBuffer dmDeviceName()
ByteBuffer view of the dmDeviceName field.public java.lang.String dmDeviceNameString()
dmDeviceName field.public short dmSpecVersion()
dmSpecVersion field.public short dmDriverVersion()
dmDriverVersion field.public short dmSize()
dmSize field.public short dmDriverExtra()
dmDriverExtra field.public int dmFields()
dmFields field.public short dmOrientation()
dmOrientation field.public short dmPaperSize()
dmPaperSize field.public short dmPaperLength()
dmPaperLength field.public short dmPaperWidth()
dmPaperWidth field.public short dmScale()
dmScale field.public short dmCopies()
dmCopies field.public short dmDefaultSource()
dmDefaultSource field.public short dmPrintQuality()
dmPrintQuality field.public int dmDisplayOrientation()
dmDisplayOrientation field.public int dmDisplayFixedOutput()
dmDisplayFixedOutput field.public short dmColor()
dmColor field.public short dmDuplex()
dmDuplex field.public short dmYResolution()
dmYResolution field.public short dmTTOption()
dmTTOption field.public short dmCollate()
dmCollate field.public java.nio.ByteBuffer dmFormName()
ByteBuffer view of the dmFormName field.public java.lang.String dmFormNameString()
dmFormName field.public short dmLogPixels()
dmLogPixels field.public int dmBitsPerPel()
dmBitsPerPel field.public int dmPelsWidth()
dmPelsWidth field.public int dmPelsHeight()
dmPelsHeight field.public int dmDisplayFlags()
dmDisplayFlags field.public int dmNup()
dmNup field.public int dmDisplayFrequency()
dmDisplayFrequency field.public int dmICMMethod()
dmICMMethod field.public int dmICMIntent()
dmICMIntent field.public int dmMediaType()
dmMediaType field.public int dmDitherType()
dmDitherType field.public int dmReserved1()
dmReserved1 field.public int dmReserved2()
dmReserved2 field.public int dmPanningWidth()
dmPanningWidth field.public int dmPanningHeight()
dmPanningHeight field.public DEVMODE.Buffer dmSpecVersion(short value)
dmSpecVersion field.public DEVMODE.Buffer dmSize(short value)
dmSize field.public DEVMODE.Buffer dmDriverExtra(short value)
dmDriverExtra field.Copyright LWJGL. All Rights Reserved. License terms.