public class VecByteArray
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
length
Number of element in the array
|
int |
numComponents
Number of component for each element
|
| Constructor and Description |
|---|
VecByteArray(int numComponents,
byte[] raw) |
VecByteArray(int numComponents,
int numElements) |
| Modifier and Type | Method and Description |
|---|---|
VecByteArray |
clone() |
byte[] |
get(int index,
byte[] dst) |
int |
indexHashCode(int index) |
VecByteArray |
interpolate(VecByteArray current,
VecByteArray next,
float t) |
boolean |
isIndexEquals(int index1,
int index2) |
VecByteArray |
mapIndices(int[] oldToNewIndex,
int newNumIndices) |
byte[] |
raw() |
void |
set(int index,
byte[] src) |
void |
set(VecByteArray src,
int srcIndex,
int dstIndex) |
void |
setElements(byte[] src) |
void |
setElements(java.lang.Iterable<byte[]> iterable) |
void |
setElements(VecByteArray src,
int srcOffset,
int dstOffset) |
void |
setZero() |
void |
setZero(int index) |
public final int numComponents
public final int length
public VecByteArray(int numComponents,
int numElements)
public VecByteArray(int numComponents,
byte[] raw)
public final VecByteArray clone()
clone in class java.lang.Objectpublic final byte[] raw()
public void setZero(int index)
public void setZero()
public boolean isIndexEquals(int index1,
int index2)
public int indexHashCode(int index)
public void set(int index,
byte[] src)
public void set(VecByteArray src, int srcIndex, int dstIndex)
public void setElements(java.lang.Iterable<byte[]> iterable)
public void setElements(VecByteArray src, int srcOffset, int dstOffset)
public void setElements(byte[] src)
public byte[] get(int index,
byte[] dst)
public VecByteArray interpolate(VecByteArray current, VecByteArray next, float t)
public final VecByteArray mapIndices(int[] oldToNewIndex, int newNumIndices)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com