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.Objectarray()intarrayOffset()FloatBufferasReadOnlyBuffer()intcapacity()FloatBufferclear()FloatBuffercompact()FloatBufferduplicate()FloatBufferflip()floatget()FloatBufferget(float[] dst)FloatBufferget(float[] dst, int offset, int length)floatget(int index)intgetArrayOffset()floatgetElement(int index)booleanhasArray()booleanhasRemaining()booleanisDirect()booleanisReadOnly()intlimit()FloatBufferlimit(int newLimit)FloatBuffermark()intposition()FloatBufferposition(int newPosition)FloatBufferput(float b)FloatBufferput(float[] src)FloatBufferput(float[] src, int offset, int length)FloatBufferput(int index, float b)FloatBufferput(FloatBuffer src)voidputElement(int index, float value)intremaining()FloatBufferreset()FloatBufferrewind()FloatBufferslice()
-
-
-
Method Detail
-
hasRemaining
public boolean hasRemaining()
- Specified by:
hasRemainingin interfaceBuffer
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceBuffer
-
arrayOffset
public int arrayOffset()
- Specified by:
arrayOffsetin interfaceBuffer
-
slice
public FloatBuffer slice()
- Specified by:
slicein interfaceFloatBuffer
-
duplicate
public FloatBuffer duplicate()
- Specified by:
duplicatein interfaceFloatBuffer
-
asReadOnlyBuffer
public FloatBuffer asReadOnlyBuffer()
- Specified by:
asReadOnlyBufferin interfaceFloatBuffer
-
get
public float get()
- Specified by:
getin interfaceFloatBuffer
-
put
public FloatBuffer put(float b)
- Specified by:
putin interfaceFloatBuffer
-
get
public float get(int index)
- Specified by:
getin interfaceFloatBuffer
-
put
public FloatBuffer put(int index, float b)
- Specified by:
putin interfaceFloatBuffer
-
getElement
public float getElement(int index)
- Specified by:
getElementin interfaceFloatBuffer
-
putElement
public void putElement(int index, float value)- Specified by:
putElementin interfaceFloatBuffer
-
get
public FloatBuffer get(float[] dst, int offset, int length)
- Specified by:
getin interfaceFloatBuffer
-
get
public FloatBuffer get(float[] dst)
- Specified by:
getin interfaceFloatBuffer
-
put
public FloatBuffer put(FloatBuffer src)
- Specified by:
putin interfaceFloatBuffer
-
put
public FloatBuffer put(float[] src, int offset, int length)
- Specified by:
putin interfaceFloatBuffer
-
put
public FloatBuffer put(float[] src)
- Specified by:
putin interfaceFloatBuffer
-
getArrayOffset
public int getArrayOffset()
- Specified by:
getArrayOffsetin interfaceFloatBuffer
-
compact
public FloatBuffer compact()
- Specified by:
compactin interfaceFloatBuffer
-
isDirect
public boolean isDirect()
- Specified by:
isDirectin interfaceBuffer- Specified by:
isDirectin interfaceFloatBuffer
-
mark
public FloatBuffer mark()
- Specified by:
markin interfaceBuffer- Specified by:
markin interfaceFloatBuffer
-
reset
public FloatBuffer reset()
- Specified by:
resetin interfaceBuffer- Specified by:
resetin interfaceFloatBuffer
-
clear
public FloatBuffer clear()
- Specified by:
clearin interfaceBuffer- Specified by:
clearin interfaceFloatBuffer
-
flip
public FloatBuffer flip()
- Specified by:
flipin interfaceBuffer- Specified by:
flipin interfaceFloatBuffer
-
rewind
public FloatBuffer rewind()
- Specified by:
rewindin interfaceBuffer- Specified by:
rewindin interfaceFloatBuffer
-
limit
public FloatBuffer limit(int newLimit)
- Specified by:
limitin interfaceBuffer- Specified by:
limitin interfaceFloatBuffer
-
position
public FloatBuffer position(int newPosition)
- Specified by:
positionin interfaceBuffer- Specified by:
positionin interfaceFloatBuffer
-
-