Package org.lwjgl.util.ktx
Class ktxBasisParams.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<ktxBasisParams.Buffer>
org.lwjgl.system.StructBuffer<ktxBasisParams,ktxBasisParams.Buffer>
org.lwjgl.util.ktx.ktxBasisParams.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<ktxBasisParams>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
ktxBasisParams
public static class ktxBasisParams.Buffer
extends org.lwjgl.system.StructBuffer<ktxBasisParams,ktxBasisParams.Buffer>
implements org.lwjgl.system.NativeResource
An array of
ktxBasisParams structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newktxBasisParams.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintcompressionLevel(int value) Sets the specified value to thektxBasisParams.compressionLevel()field.floatendpointRDOThreshold(float value) Sets the specified value to thektxBasisParams.endpointRDOThreshold()field.byteinputSwizzle(int index) inputSwizzle(int index, byte value) Sets the specified value at the specified index of thektxBasisParams.inputSwizzle()field.inputSwizzle(ByteBuffer value) Copies the specifiedByteBufferto thektxBasisParams.inputSwizzle()field.intmaxEndpoints(int value) Sets the specified value to thektxBasisParams.maxEndpoints()field.intmaxSelectors(int value) Sets the specified value to thektxBasisParams.maxSelectors()field.booleannoEndpointRDO(boolean value) Sets the specified value to thektxBasisParams.noEndpointRDO()field.booleannormalMap(boolean value) Sets the specified value to thektxBasisParams.normalMap()field.booleannoSelectorRDO(boolean value) Sets the specified value to thektxBasisParams.noSelectorRDO()field.booleannoSSE()noSSE(boolean value) Sets the specified value to thektxBasisParams.noSSE()field.booleanpreSwizzle(boolean value) Sets the specified value to thektxBasisParams.preSwizzle()field.intqualityLevel(int value) Sets the specified value to thektxBasisParams.qualityLevel()field.floatselectorRDOThreshold(float value) Sets the specified value to thektxBasisParams.selectorRDOThreshold()field.booleanseparateRGToRGB_A(boolean value) Sets the specified value to thektxBasisParams.separateRGToRGB_A()field.intstructSize(int value) Sets the specified value to thektxBasisParams.structSize()field.intthreadCount(int value) Sets the specified value to thektxBasisParams.threadCount()field.booleanuastc()uastc(boolean value) Sets the specified value to thektxBasisParams.uastc()field.intuastcFlags(int value) Sets the specified value to thektxBasisParams.uastcFlags()field.booleanuastcRDO()uastcRDO(boolean value) Sets the specified value to thektxBasisParams.uastcRDO()field.intuastcRDODictSize(int value) Sets the specified value to thektxBasisParams.uastcRDODictSize()field.booleanuastcRDODontFavorSimplerModes(boolean value) Sets the specified value to thektxBasisParams.uastcRDODontFavorSimplerModes()field.floatuastcRDOMaxSmoothBlockErrorScale(float value) Sets the specified value to thektxBasisParams.uastcRDOMaxSmoothBlockErrorScale()field.floatuastcRDOMaxSmoothBlockStdDev(float value) Sets the specified value to thektxBasisParams.uastcRDOMaxSmoothBlockStdDev()field.booleanuastcRDONoMultithreading(boolean value) Sets the specified value to thektxBasisParams.uastcRDONoMultithreading()field.floatuastcRDOQualityScalar(float value) Sets the specified value to thektxBasisParams.uastcRDOQualityScalar()field.booleanverbose()verbose(boolean value) Sets the specified value to thektxBasisParams.verbose()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newktxBasisParams.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 by
ktxBasisParams.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 Details
-
structSize
public int structSize()- Returns:
- the value of the
ktxBasisParams.structSize()field.
-
uastc
public boolean uastc()- Returns:
- the value of the
ktxBasisParams.uastc()field.
-
verbose
public boolean verbose()- Returns:
- the value of the
ktxBasisParams.verbose()field.
-
noSSE
public boolean noSSE()- Returns:
- the value of the
ktxBasisParams.noSSE()field.
-
threadCount
public int threadCount()- Returns:
- the value of the
ktxBasisParams.threadCount()field.
-
compressionLevel
public int compressionLevel()- Returns:
- the value of the
ktxBasisParams.compressionLevel()field.
-
qualityLevel
public int qualityLevel()- Returns:
- the value of the
ktxBasisParams.qualityLevel()field.
-
maxEndpoints
public int maxEndpoints()- Returns:
- the value of the
ktxBasisParams.maxEndpoints()field.
-
endpointRDOThreshold
public float endpointRDOThreshold()- Returns:
- the value of the
ktxBasisParams.endpointRDOThreshold()field.
-
maxSelectors
public int maxSelectors()- Returns:
- the value of the
ktxBasisParams.maxSelectors()field.
-
selectorRDOThreshold
public float selectorRDOThreshold()- Returns:
- the value of the
ktxBasisParams.selectorRDOThreshold()field.
-
inputSwizzle
- Returns:
- a
ByteBufferview of thektxBasisParams.inputSwizzle()field.
-
inputSwizzle
public byte inputSwizzle(int index) - Returns:
- the value at the specified index of the
ktxBasisParams.inputSwizzle()field.
-
normalMap
public boolean normalMap()- Returns:
- the value of the
ktxBasisParams.normalMap()field.
-
separateRGToRGB_A
public boolean separateRGToRGB_A()- Returns:
- the value of the
ktxBasisParams.separateRGToRGB_A()field.
-
preSwizzle
public boolean preSwizzle()- Returns:
- the value of the
ktxBasisParams.preSwizzle()field.
-
noEndpointRDO
public boolean noEndpointRDO()- Returns:
- the value of the
ktxBasisParams.noEndpointRDO()field.
-
noSelectorRDO
public boolean noSelectorRDO()- Returns:
- the value of the
ktxBasisParams.noSelectorRDO()field.
-
uastcFlags
public int uastcFlags()- Returns:
- the value of the
ktxBasisParams.uastcFlags()field.
-
uastcRDO
public boolean uastcRDO()- Returns:
- the value of the
ktxBasisParams.uastcRDO()field.
-
uastcRDOQualityScalar
public float uastcRDOQualityScalar()- Returns:
- the value of the
ktxBasisParams.uastcRDOQualityScalar()field.
-
uastcRDODictSize
public int uastcRDODictSize()- Returns:
- the value of the
ktxBasisParams.uastcRDODictSize()field.
-
uastcRDOMaxSmoothBlockErrorScale
public float uastcRDOMaxSmoothBlockErrorScale()- Returns:
- the value of the
ktxBasisParams.uastcRDOMaxSmoothBlockErrorScale()field.
-
uastcRDOMaxSmoothBlockStdDev
public float uastcRDOMaxSmoothBlockStdDev()- Returns:
- the value of the
ktxBasisParams.uastcRDOMaxSmoothBlockStdDev()field.
-
uastcRDODontFavorSimplerModes
public boolean uastcRDODontFavorSimplerModes()- Returns:
- the value of the
ktxBasisParams.uastcRDODontFavorSimplerModes()field.
-
uastcRDONoMultithreading
public boolean uastcRDONoMultithreading()- Returns:
- the value of the
ktxBasisParams.uastcRDONoMultithreading()field.
-
structSize
Sets the specified value to thektxBasisParams.structSize()field. -
uastc
Sets the specified value to thektxBasisParams.uastc()field. -
verbose
Sets the specified value to thektxBasisParams.verbose()field. -
noSSE
Sets the specified value to thektxBasisParams.noSSE()field. -
threadCount
Sets the specified value to thektxBasisParams.threadCount()field. -
compressionLevel
Sets the specified value to thektxBasisParams.compressionLevel()field. -
qualityLevel
Sets the specified value to thektxBasisParams.qualityLevel()field. -
maxEndpoints
Sets the specified value to thektxBasisParams.maxEndpoints()field. -
endpointRDOThreshold
Sets the specified value to thektxBasisParams.endpointRDOThreshold()field. -
maxSelectors
Sets the specified value to thektxBasisParams.maxSelectors()field. -
selectorRDOThreshold
Sets the specified value to thektxBasisParams.selectorRDOThreshold()field. -
inputSwizzle
Copies the specifiedByteBufferto thektxBasisParams.inputSwizzle()field. -
inputSwizzle
Sets the specified value at the specified index of thektxBasisParams.inputSwizzle()field. -
normalMap
Sets the specified value to thektxBasisParams.normalMap()field. -
separateRGToRGB_A
Sets the specified value to thektxBasisParams.separateRGToRGB_A()field. -
preSwizzle
Sets the specified value to thektxBasisParams.preSwizzle()field. -
noEndpointRDO
Sets the specified value to thektxBasisParams.noEndpointRDO()field. -
noSelectorRDO
Sets the specified value to thektxBasisParams.noSelectorRDO()field. -
uastcFlags
Sets the specified value to thektxBasisParams.uastcFlags()field. -
uastcRDO
Sets the specified value to thektxBasisParams.uastcRDO()field. -
uastcRDOQualityScalar
Sets the specified value to thektxBasisParams.uastcRDOQualityScalar()field. -
uastcRDODictSize
Sets the specified value to thektxBasisParams.uastcRDODictSize()field. -
uastcRDOMaxSmoothBlockErrorScale
Sets the specified value to thektxBasisParams.uastcRDOMaxSmoothBlockErrorScale()field. -
uastcRDOMaxSmoothBlockStdDev
Sets the specified value to thektxBasisParams.uastcRDOMaxSmoothBlockStdDev()field. -
uastcRDODontFavorSimplerModes
Sets the specified value to thektxBasisParams.uastcRDODontFavorSimplerModes()field. -
uastcRDONoMultithreading
Sets the specified value to thektxBasisParams.uastcRDONoMultithreading()field.
-