Skip to content

Commit

Permalink
Docs: Improve BufferAttribute page. (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Jul 28, 2023
1 parent 91176c1 commit d9c52eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/three/src/core/BufferAttribute.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ export class BufferAttribute {
normalized: boolean;

/**
* Stores the {@link BufferAttribute.array | array}'s length divided by the {@link BufferAttribute.itemSize | itemSize}.
* @remarks If the buffer is storing a 3-component vector (such as a position, normal, or color), then this will count the number of such vectors stored.
* @remarks Expects a `Integer`
* Represents the number of items this buffer attribute stores. It is internally computed by dividing the
* {@link BufferAttribute.array | array}'s length by the {@link BufferAttribute.itemSize | itemSize}. Read-only
* property.
*/
count: number;
readonly count: number;

/**
* Flag to indicate that this attribute has changed and should be re-sent to the GPU.
Expand Down

0 comments on commit d9c52eb

Please sign in to comment.