vb.getNumComponents(), convertFormat(vb.getFormat()), vb.isNormalized(), vb.getStride(), vb.getOffset()); 4, convertFormat(vb.getFormat()), vb.isNormalized(), 4 * 4 * slotsRequired, 4 * 4 * i);
newVb.setNormalized(oldVb.isNormalized());
normForBuf[vb.getBufferType().ordinal()] = vb.isNormalized();
normForBuf[vb.getBufferType().ordinal()] = vb.isNormalized();
String createVBKey(VertexBuffer vb) { StringBuilder sb = new StringBuilder(); sb.append(vb.getNumComponents()) .append(",") .append(vb.getFormat()) .append(",") .append(vb.isNormalized()) .append(",") .append(vb.getStride()) .append(",") .append(vb.getOffset()) .append(",") .append(vb.getBufferType()); return sb.toString(); } public void optimize3() {
outVb.setNormalized(vb.isNormalized()); outVb.setupData(vb.getUsage(), vb.getNumComponents(), vb.getFormat(), b); out.setBuffer(outVb);
vb.getNumComponents(), convertFormat(vb.getFormat()), vb.isNormalized(), vb.getStride(), vb.getOffset()); 4, convertFormat(vb.getFormat()), vb.isNormalized(), 4 * 4 * slotsRequired, 4 * 4 * i);
vb.getNumComponents(), convertFormat(vb.getFormat()), vb.isNormalized(), vb.getStride(), vb.getOffset()); 4, convertFormat(vb.getFormat()), vb.isNormalized(), 4 * 4 * slotsRequired, 4 * 4 * i);
newVb.setNormalized(oldVb.isNormalized()); newVb.setupData(oldVb.getUsage(), oldVb.getNumComponents(), oldVb.getFormat(), buffer);
newVb.setNormalized(oldVb.isNormalized());
normForBuf[vb.getBufferType().ordinal()] = vb.isNormalized();
normForBuf[vb.getBufferType().ordinal()] = vb.isNormalized();