/** * Marks the indices as dirty in this MeshData. Also calls {@link #markBuffersDirty()} * * @throws Ardor3DException * if buffer is not found */ public void markIndicesDirty() { final AbstractBufferData<?> data = getIndices(); data.markDirty(); markBuffersDirty(); }
/** * Mark a specific data buffer as dirty in this MeshData. Also calls {@link #markBuffersDirty()} * * @param key * the key of the buffer to mark dirty. * @throws Ardor3DException * if buffer is not found */ public void markBufferDirty(final String key) { final AbstractBufferData<?> data = getCoords(key); if (data == null) { throw new Ardor3dException("Buffer not found: " + key); } data.markDirty(); markBuffersDirty(); }
_meshData.markBuffersDirty();