Searched refs:componentSize (Results 1 – 2 of 2) sorted by relevance
621 … private void doCopyBuffer(FloatBuffer inBuf, int offset, FloatBuffer outBuf, int componentSize) { in doCopyBuffer() argument627 offset *= componentSize; in doCopyBuffer()629 for (int i = 0; i < inBuf.capacity() / componentSize; i++) { in doCopyBuffer()630 pos.x = inBuf.get(i * componentSize + 0); in doCopyBuffer()631 pos.y = inBuf.get(i * componentSize + 1); in doCopyBuffer()632 pos.z = inBuf.get(i * componentSize + 2); in doCopyBuffer()634 outBuf.put(offset + i * componentSize + 0, pos.x); in doCopyBuffer()635 outBuf.put(offset + i * componentSize + 1, pos.y); in doCopyBuffer()636 outBuf.put(offset + i * componentSize + 2, pos.z); in doCopyBuffer()
285 private int componentSize = 0; field in VertexBuffer.Format287 Format(int componentSize){ in Format() argument288 this.componentSize = componentSize; in Format()297 return componentSize; in getComponentSize()