Package org.lwjgl.ovr
Class OVRTextureSwapChainDesc.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRTextureSwapChainDesc,OVRTextureSwapChainDesc.Buffer>
-
- org.lwjgl.ovr.OVRTextureSwapChainDesc.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<OVRTextureSwapChainDesc>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- OVRTextureSwapChainDesc
public static class OVRTextureSwapChainDesc.Buffer extends org.lwjgl.system.StructBuffer<OVRTextureSwapChainDesc,OVRTextureSwapChainDesc.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRTextureSwapChainDesc
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
ArraySize()
Returns the value of theArraySize
field.OVRTextureSwapChainDesc.Buffer
ArraySize(int value)
Sets the specified value to theArraySize
field.int
BindFlags()
Returns the value of theBindFlags
field.OVRTextureSwapChainDesc.Buffer
BindFlags(int value)
Sets the specified value to theBindFlags
field.int
Format()
Returns the value of theFormat
field.OVRTextureSwapChainDesc.Buffer
Format(int value)
Sets the specified value to theFormat
field.int
Height()
Returns the value of theHeight
field.OVRTextureSwapChainDesc.Buffer
Height(int value)
Sets the specified value to theHeight
field.int
MipLevels()
Returns the value of theMipLevels
field.OVRTextureSwapChainDesc.Buffer
MipLevels(int value)
Sets the specified value to theMipLevels
field.int
MiscFlags()
Returns the value of theMiscFlags
field.OVRTextureSwapChainDesc.Buffer
MiscFlags(int value)
Sets the specified value to theMiscFlags
field.int
SampleCount()
Returns the value of theSampleCount
field.OVRTextureSwapChainDesc.Buffer
SampleCount(int value)
Sets the specified value to theSampleCount
field.boolean
StaticImage()
Returns the value of theStaticImage
field.OVRTextureSwapChainDesc.Buffer
StaticImage(boolean value)
Sets the specified value to theStaticImage
field.int
Type()
Returns the value of theType
field.OVRTextureSwapChainDesc.Buffer
Type(int value)
Sets the specified value to theType
field.int
Width()
Returns the value of theWidth
field.OVRTextureSwapChainDesc.Buffer
Width(int value)
Sets the specified value to theWidth
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRTextureSwapChainDesc.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 byOVRTextureSwapChainDesc.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 Detail
-
Type
public int Type()
Returns the value of theType
field.
-
Format
public int Format()
Returns the value of theFormat
field.
-
ArraySize
public int ArraySize()
Returns the value of theArraySize
field.
-
Width
public int Width()
Returns the value of theWidth
field.
-
Height
public int Height()
Returns the value of theHeight
field.
-
MipLevels
public int MipLevels()
Returns the value of theMipLevels
field.
-
SampleCount
public int SampleCount()
Returns the value of theSampleCount
field.
-
StaticImage
public boolean StaticImage()
Returns the value of theStaticImage
field.
-
MiscFlags
public int MiscFlags()
Returns the value of theMiscFlags
field.
-
BindFlags
public int BindFlags()
Returns the value of theBindFlags
field.
-
Type
public OVRTextureSwapChainDesc.Buffer Type(int value)
Sets the specified value to theType
field.
-
Format
public OVRTextureSwapChainDesc.Buffer Format(int value)
Sets the specified value to theFormat
field.
-
ArraySize
public OVRTextureSwapChainDesc.Buffer ArraySize(int value)
Sets the specified value to theArraySize
field.
-
Width
public OVRTextureSwapChainDesc.Buffer Width(int value)
Sets the specified value to theWidth
field.
-
Height
public OVRTextureSwapChainDesc.Buffer Height(int value)
Sets the specified value to theHeight
field.
-
MipLevels
public OVRTextureSwapChainDesc.Buffer MipLevels(int value)
Sets the specified value to theMipLevels
field.
-
SampleCount
public OVRTextureSwapChainDesc.Buffer SampleCount(int value)
Sets the specified value to theSampleCount
field.
-
StaticImage
public OVRTextureSwapChainDesc.Buffer StaticImage(boolean value)
Sets the specified value to theStaticImage
field.
-
MiscFlags
public OVRTextureSwapChainDesc.Buffer MiscFlags(int value)
Sets the specified value to theMiscFlags
field.
-
BindFlags
public OVRTextureSwapChainDesc.Buffer BindFlags(int value)
Sets the specified value to theBindFlags
field.
-
-