12 lines
309 B
TypeScript
12 lines
309 B
TypeScript
import { Drawable } from './drawable';
|
|
|
|
export interface DrawableDescriptor {
|
|
propertyUniformMapping: { [property: string]: string };
|
|
uniformCountMacroName: string;
|
|
sdf?: {
|
|
shader: string;
|
|
distanceFunctionName: string;
|
|
};
|
|
shaderCombinationSteps: Array<number>;
|
|
readonly empty: Drawable;
|
|
}
|