Package org.lwjgl.openxr
Class XrSwapchainStateSamplerOpenGLESFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSwapchainStateSamplerOpenGLESFB,XrSwapchainStateSamplerOpenGLESFB.Buffer>
-
- org.lwjgl.openxr.XrSwapchainStateSamplerOpenGLESFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSwapchainStateSamplerOpenGLESFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSwapchainStateSamplerOpenGLESFB
public static class XrSwapchainStateSamplerOpenGLESFB.Buffer extends org.lwjgl.system.StructBuffer<XrSwapchainStateSamplerOpenGLESFB,XrSwapchainStateSamplerOpenGLESFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSwapchainStateSamplerOpenGLESFBstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance 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 byXrSwapchainStateSamplerOpenGLESFB.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 the
XrSwapchainStateSamplerOpenGLESFB.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.next()field.
-
minFilter
public int minFilter()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.minFilter()field.
-
magFilter
public int magFilter()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.magFilter()field.
-
wrapModeS
public int wrapModeS()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.wrapModeS()field.
-
wrapModeT
public int wrapModeT()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.wrapModeT()field.
-
swizzleRed
public int swizzleRed()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.swizzleRed()field.
-
swizzleGreen
public int swizzleGreen()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.swizzleGreen()field.
-
swizzleBlue
public int swizzleBlue()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.swizzleBlue()field.
-
swizzleAlpha
public int swizzleAlpha()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.swizzleAlpha()field.
-
maxAnisotropy
public float maxAnisotropy()
- Returns:
- the value of the
XrSwapchainStateSamplerOpenGLESFB.maxAnisotropy()field.
-
borderColor
public XrColor4f borderColor()
- Returns:
- a
XrColor4fview of theXrSwapchainStateSamplerOpenGLESFB.borderColor()field.
-
type
public XrSwapchainStateSamplerOpenGLESFB.Buffer type(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.type()field.
-
type$Default
public XrSwapchainStateSamplerOpenGLESFB.Buffer type$Default()
Sets theTYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FBvalue to theXrSwapchainStateSamplerOpenGLESFB.type()field.
-
next
public XrSwapchainStateSamplerOpenGLESFB.Buffer next(long value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.next()field.
-
minFilter
public XrSwapchainStateSamplerOpenGLESFB.Buffer minFilter(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.minFilter()field.
-
magFilter
public XrSwapchainStateSamplerOpenGLESFB.Buffer magFilter(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.magFilter()field.
-
wrapModeS
public XrSwapchainStateSamplerOpenGLESFB.Buffer wrapModeS(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.wrapModeS()field.
-
wrapModeT
public XrSwapchainStateSamplerOpenGLESFB.Buffer wrapModeT(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.wrapModeT()field.
-
swizzleRed
public XrSwapchainStateSamplerOpenGLESFB.Buffer swizzleRed(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.swizzleRed()field.
-
swizzleGreen
public XrSwapchainStateSamplerOpenGLESFB.Buffer swizzleGreen(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.swizzleGreen()field.
-
swizzleBlue
public XrSwapchainStateSamplerOpenGLESFB.Buffer swizzleBlue(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.swizzleBlue()field.
-
swizzleAlpha
public XrSwapchainStateSamplerOpenGLESFB.Buffer swizzleAlpha(int value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.swizzleAlpha()field.
-
maxAnisotropy
public XrSwapchainStateSamplerOpenGLESFB.Buffer maxAnisotropy(float value)
Sets the specified value to theXrSwapchainStateSamplerOpenGLESFB.maxAnisotropy()field.
-
borderColor
public XrSwapchainStateSamplerOpenGLESFB.Buffer borderColor(XrColor4f value)
Copies the specifiedXrColor4fto theXrSwapchainStateSamplerOpenGLESFB.borderColor()field.
-
borderColor
public XrSwapchainStateSamplerOpenGLESFB.Buffer borderColor(java.util.function.Consumer<XrColor4f> consumer)
Passes theXrSwapchainStateSamplerOpenGLESFB.borderColor()field to the specifiedConsumer.
-
-