Skip to content

Commit

Permalink
WebGLRenderer: Remove deprecated BufferAttribute.updateRange() and In…
Browse files Browse the repository at this point in the history
…terleavedBuffer.updateRange().
  • Loading branch information
Methuselah96 committed Sep 22, 2024
1 parent 99094b3 commit e121750
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
15 changes: 0 additions & 15 deletions types/three/src/core/BufferAttribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,6 @@ export class BufferAttribute {
*/
gpuType: AttributeGPUType;

/**
* This can be used to only update some components of stored vectors (for example, just the component related to color).
* @defaultValue `{ offset: number = 0; count: number = -1 }`
* @deprecated Will be removed in r169. Use "addUpdateRange()" instead.
*/
updateRange: {
/**
* Position at which to start update.
* @defaultValue `0`
*/
offset: number;
/** @defaultValue `-1`, which means don't use update ranges. */
count: number;
};

/**
* This can be used to only update some components of stored vectors (for example, just the component related to
* color). Use the {@link .addUpdateRange} function to add ranges to this array.
Expand Down
12 changes: 0 additions & 12 deletions types/three/src/core/InterleavedBuffer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@ export class InterleavedBuffer {
*/
usage: Usage;

/**
* Object containing offset and count.
* @defaultValue `{ offset: number = 0; count: number = -1 }`
* @deprecated Will be removed in r169. Use "addUpdateRange()" instead.
*/
updateRange: {
/** @defaultValue `0` */
offset: number;
/** @defaultValue `-1` */
count: number;
};

/**
* This can be used to only update some components of stored data. Use the {@link .addUpdateRange} function to add
* ranges to this array.
Expand Down

0 comments on commit e121750

Please sign in to comment.