Package org.lwjgl.openxr
Class XrSwapchainStateSamplerOpenGLESFB
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSwapchainStateSamplerOpenGLESFB>
org.lwjgl.openxr.XrSwapchainStateSamplerOpenGLESFB
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class XrSwapchainStateSamplerOpenGLESFB
extends Struct<XrSwapchainStateSamplerOpenGLESFB>
implements NativeResource
struct XrSwapchainStateSamplerOpenGLESFB {
XrStructureType type;
void * next;
EGLenum minFilter;
EGLenum magFilter;
EGLenum wrapModeS;
EGLenum wrapModeT;
EGLenum swizzleRed;
EGLenum swizzleGreen;
EGLenum swizzleBlue;
EGLenum swizzleAlpha;
float maxAnisotropy;
XrColor4f borderColor;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofXrSwapchainStateSamplerOpenGLESFBstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionXrSwapchainStateSamplerOpenGLESFB(ByteBuffer container) Creates aXrSwapchainStateSamplerOpenGLESFBinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionborderColor(Consumer<XrColor4f> consumer) Passes theborderColorfield to the specifiedConsumer.borderColor(XrColor4f value) Copies the specifiedXrColor4fto theborderColorfield.calloc()Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated withmemCalloc.calloc(int capacity) Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated withBufferUtils.create(int capacity) Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated withBufferUtils.create(long address) Returns a newXrSwapchainStateSamplerOpenGLESFBinstance for the specified memory address.create(long address, int capacity) Create aXrSwapchainStateSamplerOpenGLESFB.Bufferinstance at the specified memory.Downcasts the specifiedXrSwapchainStateBaseHeaderFBinstance toXrSwapchainStateSamplerOpenGLESFB.Downcasts the specifiedXrSwapchainStateBaseHeaderFB.Bufferinstance toXrSwapchainStateSamplerOpenGLESFB.Buffer.static @Nullable XrSwapchainStateSamplerOpenGLESFBcreateSafe(long address) static @Nullable XrSwapchainStateSamplerOpenGLESFB.BuffercreateSafe(long address, int capacity) intmagFilter(int value) Sets the specified value to themagFilterfield.malloc()Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated withmemAlloc.malloc(int capacity) Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated on the specifiedMemoryStack.floatmaxAnisotropy(float value) Sets the specified value to themaxAnisotropyfield.intminFilter(int value) Sets the specified value to theminFilterfield.static XrColor4fnborderColor(long struct) Unsafe version ofborderColor().static voidnborderColor(long struct, XrColor4f value) Unsafe version ofborderColor.longnext()next(long value) Sets the specified value to thenextfield.static intnmagFilter(long struct) Unsafe version ofmagFilter().static voidnmagFilter(long struct, int value) Unsafe version ofmagFilter.static floatnmaxAnisotropy(long struct) Unsafe version ofmaxAnisotropy().static voidnmaxAnisotropy(long struct, float value) Unsafe version ofmaxAnisotropy.static intnminFilter(long struct) Unsafe version ofminFilter().static voidnminFilter(long struct, int value) Unsafe version ofminFilter.static longnnext(long struct) Unsafe version ofnext().static voidnnext(long struct, long value) Unsafe version ofnext.static intnswizzleAlpha(long struct) Unsafe version ofswizzleAlpha().static voidnswizzleAlpha(long struct, int value) Unsafe version ofswizzleAlpha.static intnswizzleBlue(long struct) Unsafe version ofswizzleBlue().static voidnswizzleBlue(long struct, int value) Unsafe version ofswizzleBlue.static intnswizzleGreen(long struct) Unsafe version ofswizzleGreen().static voidnswizzleGreen(long struct, int value) Unsafe version ofswizzleGreen.static intnswizzleRed(long struct) Unsafe version ofswizzleRed().static voidnswizzleRed(long struct, int value) Unsafe version ofswizzleRed.static intntype(long struct) Unsafe version oftype().static voidntype(long struct, int value) Unsafe version oftype.static intnwrapModeS(long struct) Unsafe version ofwrapModeS().static voidnwrapModeS(long struct, int value) Unsafe version ofwrapModeS.static intnwrapModeT(long struct) Unsafe version ofwrapModeT().static voidnwrapModeT(long struct, int value) Unsafe version ofwrapModeT.set(int type, long next, int minFilter, int magFilter, int wrapModeS, int wrapModeT, int swizzleRed, int swizzleGreen, int swizzleBlue, int swizzleAlpha, float maxAnisotropy, XrColor4f borderColor) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intswizzleAlpha(int value) Sets the specified value to theswizzleAlphafield.intswizzleBlue(int value) Sets the specified value to theswizzleBluefield.intswizzleGreen(int value) Sets the specified value to theswizzleGreenfield.intswizzleRed(int value) Sets the specified value to theswizzleRedfield.inttype()type(int value) Sets the specified value to thetypefield.Sets theTYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FBvalue to thetypefield.intwrapModeS(int value) Sets the specified value to thewrapModeSfield.intwrapModeT(int value) Sets the specified value to thewrapModeTfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
TYPE
public static final int TYPEThe struct member offsets. -
NEXT
public static final int NEXTThe struct member offsets. -
MINFILTER
public static final int MINFILTERThe struct member offsets. -
MAGFILTER
public static final int MAGFILTERThe struct member offsets. -
WRAPMODES
public static final int WRAPMODESThe struct member offsets. -
WRAPMODET
public static final int WRAPMODETThe struct member offsets. -
SWIZZLERED
public static final int SWIZZLEREDThe struct member offsets. -
SWIZZLEGREEN
public static final int SWIZZLEGREENThe struct member offsets. -
SWIZZLEBLUE
public static final int SWIZZLEBLUEThe struct member offsets. -
SWIZZLEALPHA
public static final int SWIZZLEALPHAThe struct member offsets. -
MAXANISOTROPY
public static final int MAXANISOTROPYThe struct member offsets. -
BORDERCOLOR
public static final int BORDERCOLORThe struct member offsets.
-
-
Constructor Details
-
XrSwapchainStateSamplerOpenGLESFB
Creates aXrSwapchainStateSamplerOpenGLESFBinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<XrSwapchainStateSamplerOpenGLESFB>
-
type
public int type()- Returns:
- the value of the
typefield.
-
next
public long next()- Returns:
- the value of the
nextfield.
-
minFilter
public int minFilter()- Returns:
- the value of the
minFilterfield.
-
magFilter
public int magFilter()- Returns:
- the value of the
magFilterfield.
-
wrapModeS
public int wrapModeS()- Returns:
- the value of the
wrapModeSfield.
-
wrapModeT
public int wrapModeT()- Returns:
- the value of the
wrapModeTfield.
-
swizzleRed
public int swizzleRed()- Returns:
- the value of the
swizzleRedfield.
-
swizzleGreen
public int swizzleGreen()- Returns:
- the value of the
swizzleGreenfield.
-
swizzleBlue
public int swizzleBlue()- Returns:
- the value of the
swizzleBluefield.
-
swizzleAlpha
public int swizzleAlpha()- Returns:
- the value of the
swizzleAlphafield.
-
maxAnisotropy
public float maxAnisotropy()- Returns:
- the value of the
maxAnisotropyfield.
-
borderColor
- Returns:
- a
XrColor4fview of theborderColorfield.
-
type
Sets the specified value to thetypefield. -
type$Default
Sets theTYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FBvalue to thetypefield. -
next
Sets the specified value to thenextfield. -
minFilter
Sets the specified value to theminFilterfield. -
magFilter
Sets the specified value to themagFilterfield. -
wrapModeS
Sets the specified value to thewrapModeSfield. -
wrapModeT
Sets the specified value to thewrapModeTfield. -
swizzleRed
Sets the specified value to theswizzleRedfield. -
swizzleGreen
Sets the specified value to theswizzleGreenfield. -
swizzleBlue
Sets the specified value to theswizzleBluefield. -
swizzleAlpha
Sets the specified value to theswizzleAlphafield. -
maxAnisotropy
Sets the specified value to themaxAnisotropyfield. -
borderColor
Copies the specifiedXrColor4fto theborderColorfield. -
borderColor
Passes theborderColorfield to the specifiedConsumer. -
set
public XrSwapchainStateSamplerOpenGLESFB set(int type, long next, int minFilter, int magFilter, int wrapModeS, int wrapModeT, int swizzleRed, int swizzleGreen, int swizzleBlue, int swizzleAlpha, float maxAnisotropy, XrColor4f borderColor) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated withBufferUtils. -
create
Returns a newXrSwapchainStateSamplerOpenGLESFBinstance for the specified memory address. -
createSafe
-
create
Downcasts the specifiedXrSwapchainStateBaseHeaderFBinstance toXrSwapchainStateSamplerOpenGLESFB. -
malloc
Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aXrSwapchainStateSamplerOpenGLESFB.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable XrSwapchainStateSamplerOpenGLESFB.Buffer createSafe(long address, int capacity) -
create
public static XrSwapchainStateSamplerOpenGLESFB.Buffer create(XrSwapchainStateBaseHeaderFB.Buffer value) Downcasts the specifiedXrSwapchainStateBaseHeaderFB.Bufferinstance toXrSwapchainStateSamplerOpenGLESFB.Buffer. -
malloc
Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newXrSwapchainStateSamplerOpenGLESFBinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newXrSwapchainStateSamplerOpenGLESFB.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
ntype
public static int ntype(long struct) Unsafe version oftype(). -
nnext
public static long nnext(long struct) Unsafe version ofnext(). -
nminFilter
public static int nminFilter(long struct) Unsafe version ofminFilter(). -
nmagFilter
public static int nmagFilter(long struct) Unsafe version ofmagFilter(). -
nwrapModeS
public static int nwrapModeS(long struct) Unsafe version ofwrapModeS(). -
nwrapModeT
public static int nwrapModeT(long struct) Unsafe version ofwrapModeT(). -
nswizzleRed
public static int nswizzleRed(long struct) Unsafe version ofswizzleRed(). -
nswizzleGreen
public static int nswizzleGreen(long struct) Unsafe version ofswizzleGreen(). -
nswizzleBlue
public static int nswizzleBlue(long struct) Unsafe version ofswizzleBlue(). -
nswizzleAlpha
public static int nswizzleAlpha(long struct) Unsafe version ofswizzleAlpha(). -
nmaxAnisotropy
public static float nmaxAnisotropy(long struct) Unsafe version ofmaxAnisotropy(). -
nborderColor
Unsafe version ofborderColor(). -
ntype
public static void ntype(long struct, int value) Unsafe version oftype. -
nnext
public static void nnext(long struct, long value) Unsafe version ofnext. -
nminFilter
public static void nminFilter(long struct, int value) Unsafe version ofminFilter. -
nmagFilter
public static void nmagFilter(long struct, int value) Unsafe version ofmagFilter. -
nwrapModeS
public static void nwrapModeS(long struct, int value) Unsafe version ofwrapModeS. -
nwrapModeT
public static void nwrapModeT(long struct, int value) Unsafe version ofwrapModeT. -
nswizzleRed
public static void nswizzleRed(long struct, int value) Unsafe version ofswizzleRed. -
nswizzleGreen
public static void nswizzleGreen(long struct, int value) Unsafe version ofswizzleGreen. -
nswizzleBlue
public static void nswizzleBlue(long struct, int value) Unsafe version ofswizzleBlue. -
nswizzleAlpha
public static void nswizzleAlpha(long struct, int value) Unsafe version ofswizzleAlpha. -
nmaxAnisotropy
public static void nmaxAnisotropy(long struct, float value) Unsafe version ofmaxAnisotropy. -
nborderColor
Unsafe version ofborderColor.
-