Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGLRenderer: Remove deprecated BufferAttribute.updateRange() and InterleavedBuffer.updateRange(). #1238

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading