modern-canvas
Version:
A JavaScript WebGL rendering engine. only the ESM.
16 lines (15 loc) • 557 B
TypeScript
import type { GeometryAttributeLike, VertexFormat } from '../../../core';
import { Resource } from '../../../core';
import { VertexBuffer } from './VertexBuffer';
export interface VertexAttributeProperties extends Partial<GeometryAttributeLike> {
}
export declare class VertexAttribute extends Resource implements GeometryAttributeLike {
buffer: VertexBuffer;
format: VertexFormat;
instance?: boolean;
stride?: number;
offset?: number;
start?: number;
divisor?: number;
constructor(properties?: VertexAttributeProperties);
}