Class EaglerArrayFloatBuffer
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.buffer.EaglerArrayFloatBuffer
-
- All Implemented Interfaces:
Buffer
,FloatBuffer
public class EaglerArrayFloatBuffer extends java.lang.Object implements FloatBuffer
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
array()
int
arrayOffset()
FloatBuffer
asReadOnlyBuffer()
int
capacity()
FloatBuffer
clear()
FloatBuffer
compact()
FloatBuffer
duplicate()
FloatBuffer
flip()
float
get()
FloatBuffer
get(float[] dst)
FloatBuffer
get(float[] dst, int offset, int length)
float
get(int index)
int
getArrayOffset()
float
getElement(int index)
boolean
hasArray()
boolean
hasRemaining()
boolean
isDirect()
boolean
isReadOnly()
int
limit()
FloatBuffer
limit(int newLimit)
FloatBuffer
mark()
int
position()
FloatBuffer
position(int newPosition)
FloatBuffer
put(float b)
FloatBuffer
put(float[] src)
FloatBuffer
put(float[] src, int offset, int length)
FloatBuffer
put(int index, float b)
FloatBuffer
put(FloatBuffer src)
void
putElement(int index, float value)
int
remaining()
FloatBuffer
reset()
FloatBuffer
rewind()
FloatBuffer
slice()
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemaining
in interfaceBuffer
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceBuffer
-
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffset
in interfaceBuffer
-
slice
public FloatBuffer slice()
- Specified by:
slice
in interfaceFloatBuffer
-
duplicate
public FloatBuffer duplicate()
- Specified by:
duplicate
in interfaceFloatBuffer
-
asReadOnlyBuffer
public FloatBuffer asReadOnlyBuffer()
- Specified by:
asReadOnlyBuffer
in interfaceFloatBuffer
-
get
public float get()
- Specified by:
get
in interfaceFloatBuffer
-
put
public FloatBuffer put(float b)
- Specified by:
put
in interfaceFloatBuffer
-
get
public float get(int index)
- Specified by:
get
in interfaceFloatBuffer
-
put
public FloatBuffer put(int index, float b)
- Specified by:
put
in interfaceFloatBuffer
-
getElement
public float getElement(int index)
- Specified by:
getElement
in interfaceFloatBuffer
-
putElement
public void putElement(int index, float value)
- Specified by:
putElement
in interfaceFloatBuffer
-
get
public FloatBuffer get(float[] dst, int offset, int length)
- Specified by:
get
in interfaceFloatBuffer
-
get
public FloatBuffer get(float[] dst)
- Specified by:
get
in interfaceFloatBuffer
-
put
public FloatBuffer put(FloatBuffer src)
- Specified by:
put
in interfaceFloatBuffer
-
put
public FloatBuffer put(float[] src, int offset, int length)
- Specified by:
put
in interfaceFloatBuffer
-
put
public FloatBuffer put(float[] src)
- Specified by:
put
in interfaceFloatBuffer
-
getArrayOffset
public int getArrayOffset()
- Specified by:
getArrayOffset
in interfaceFloatBuffer
-
compact
public FloatBuffer compact()
- Specified by:
compact
in interfaceFloatBuffer
-
isDirect
public boolean isDirect()
- Specified by:
isDirect
in interfaceBuffer
- Specified by:
isDirect
in interfaceFloatBuffer
-
mark
public FloatBuffer mark()
- Specified by:
mark
in interfaceBuffer
- Specified by:
mark
in interfaceFloatBuffer
-
reset
public FloatBuffer reset()
- Specified by:
reset
in interfaceBuffer
- Specified by:
reset
in interfaceFloatBuffer
-
clear
public FloatBuffer clear()
- Specified by:
clear
in interfaceBuffer
- Specified by:
clear
in interfaceFloatBuffer
-
flip
public FloatBuffer flip()
- Specified by:
flip
in interfaceBuffer
- Specified by:
flip
in interfaceFloatBuffer
-
rewind
public FloatBuffer rewind()
- Specified by:
rewind
in interfaceBuffer
- Specified by:
rewind
in interfaceFloatBuffer
-
limit
public FloatBuffer limit(int newLimit)
- Specified by:
limit
in interfaceBuffer
- Specified by:
limit
in interfaceFloatBuffer
-
position
public FloatBuffer position(int newPosition)
- Specified by:
position
in interfaceBuffer
- Specified by:
position
in interfaceFloatBuffer
-
-