starling-framework
Version:
A fast, productive library for 2D cross-platform development.
19 lines • 562 B
TypeScript
declare namespace starling.rendering {
/**
* Holds the properties of a single attribute in a VertexDataFormat instance.
* * The member variables must never be changed; they are only <code>public</code>
* * for performance reasons.
*/
export class VertexDataAttribute {
/**
* Creates a new instance with the given properties.
*/
constructor(name: string, format: string, offset: number);
name: string;
format: string;
isColor: boolean;
offset: number;
size: number;
}
}
export default starling.rendering.VertexDataAttribute;