Package org.lwjgl.system.windows
Class DEVMODE.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SELF>
org.lwjgl.system.StructBuffer<DEVMODE,DEVMODE.Buffer>
org.lwjgl.system.windows.DEVMODE.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<DEVMODE>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
DEVMODE
public static class DEVMODE.Buffer
extends org.lwjgl.system.StructBuffer<DEVMODE,DEVMODE.Buffer>
implements org.lwjgl.system.NativeResource
An array of
DEVMODE
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newDEVMODE.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
short
short
dmColor()
short
dmCopies()
short
int
int
int
int
int
short
dmDriverExtra
(short value) Sets the specified value to theDEVMODE.dmDriverExtra()
field.short
short
dmDuplex()
int
dmFields()
int
int
short
int
int
dmNup()
short
int
int
short
short
short
int
int
short
int
int
short
dmScale()
short
dmSize()
dmSize
(short value) Sets the specified value to theDEVMODE.dmSize()
field.short
dmSpecVersion
(short value) Sets the specified value to theDEVMODE.dmSpecVersion()
field.short
short
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newDEVMODE.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 byDEVMODE.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
dmDeviceName
- Returns:
- a
ByteBuffer
view of theDEVMODE.dmDeviceName()
field.
-
dmDeviceNameString
- Returns:
- the null-terminated string stored in the
DEVMODE.dmDeviceName()
field.
-
dmSpecVersion
public short dmSpecVersion()- Returns:
- the value of the
DEVMODE.dmSpecVersion()
field.
-
dmDriverVersion
public short dmDriverVersion()- Returns:
- the value of the
DEVMODE.dmDriverVersion()
field.
-
dmSize
public short dmSize()- Returns:
- the value of the
DEVMODE.dmSize()
field.
-
dmDriverExtra
public short dmDriverExtra()- Returns:
- the value of the
DEVMODE.dmDriverExtra()
field.
-
dmFields
public int dmFields()- Returns:
- the value of the
DEVMODE.dmFields()
field.
-
dmOrientation
public short dmOrientation()- Returns:
- the value of the
DEVMODE.dmOrientation()
field.
-
dmPaperSize
public short dmPaperSize()- Returns:
- the value of the
DEVMODE.dmPaperSize()
field.
-
dmPaperLength
public short dmPaperLength()- Returns:
- the value of the
DEVMODE.dmPaperLength()
field.
-
dmPaperWidth
public short dmPaperWidth()- Returns:
- the value of the
DEVMODE.dmPaperWidth()
field.
-
dmScale
public short dmScale()- Returns:
- the value of the
DEVMODE.dmScale()
field.
-
dmCopies
public short dmCopies()- Returns:
- the value of the
DEVMODE.dmCopies()
field.
-
dmDefaultSource
public short dmDefaultSource()- Returns:
- the value of the
DEVMODE.dmDefaultSource()
field.
-
dmPrintQuality
public short dmPrintQuality()- Returns:
- the value of the
DEVMODE.dmPrintQuality()
field.
-
dmPosition
- Returns:
- a
POINTL
view of theDEVMODE.dmPosition()
field.
-
dmDisplayOrientation
public int dmDisplayOrientation()- Returns:
- the value of the
DEVMODE.dmDisplayOrientation()
field.
-
dmDisplayFixedOutput
public int dmDisplayFixedOutput()- Returns:
- the value of the
DEVMODE.dmDisplayFixedOutput()
field.
-
dmColor
public short dmColor()- Returns:
- the value of the
DEVMODE.dmColor()
field.
-
dmDuplex
public short dmDuplex()- Returns:
- the value of the
DEVMODE.dmDuplex()
field.
-
dmYResolution
public short dmYResolution()- Returns:
- the value of the
DEVMODE.dmYResolution()
field.
-
dmTTOption
public short dmTTOption()- Returns:
- the value of the
DEVMODE.dmTTOption()
field.
-
dmCollate
public short dmCollate()- Returns:
- the value of the
DEVMODE.dmCollate()
field.
-
dmFormName
- Returns:
- a
ByteBuffer
view of theDEVMODE.dmFormName()
field.
-
dmFormNameString
- Returns:
- the null-terminated string stored in the
DEVMODE.dmFormName()
field.
-
dmLogPixels
public short dmLogPixels()- Returns:
- the value of the
DEVMODE.dmLogPixels()
field.
-
dmBitsPerPel
public int dmBitsPerPel()- Returns:
- the value of the
DEVMODE.dmBitsPerPel()
field.
-
dmPelsWidth
public int dmPelsWidth()- Returns:
- the value of the
DEVMODE.dmPelsWidth()
field.
-
dmPelsHeight
public int dmPelsHeight()- Returns:
- the value of the
DEVMODE.dmPelsHeight()
field.
-
dmDisplayFlags
public int dmDisplayFlags()- Returns:
- the value of the
DEVMODE.dmDisplayFlags()
field.
-
dmNup
public int dmNup()- Returns:
- the value of the
DEVMODE.dmNup()
field.
-
dmDisplayFrequency
public int dmDisplayFrequency()- Returns:
- the value of the
DEVMODE.dmDisplayFrequency()
field.
-
dmICMMethod
public int dmICMMethod()- Returns:
- the value of the
DEVMODE.dmICMMethod()
field.
-
dmICMIntent
public int dmICMIntent()- Returns:
- the value of the
DEVMODE.dmICMIntent()
field.
-
dmMediaType
public int dmMediaType()- Returns:
- the value of the
DEVMODE.dmMediaType()
field.
-
dmDitherType
public int dmDitherType()- Returns:
- the value of the
DEVMODE.dmDitherType()
field.
-
dmReserved1
public int dmReserved1()- Returns:
- the value of the
DEVMODE.dmReserved1()
field.
-
dmReserved2
public int dmReserved2()- Returns:
- the value of the
DEVMODE.dmReserved2()
field.
-
dmPanningWidth
public int dmPanningWidth()- Returns:
- the value of the
DEVMODE.dmPanningWidth()
field.
-
dmPanningHeight
public int dmPanningHeight()- Returns:
- the value of the
DEVMODE.dmPanningHeight()
field.
-
dmSpecVersion
Sets the specified value to theDEVMODE.dmSpecVersion()
field. -
dmSize
Sets the specified value to theDEVMODE.dmSize()
field. -
dmDriverExtra
Sets the specified value to theDEVMODE.dmDriverExtra()
field.
-