Improve API

This commit is contained in:
schmelczerandras 2020-09-16 11:31:26 +02:00
parent b2c2cfcb41
commit 78444d8cc6
24 changed files with 193 additions and 325 deletions

View file

@ -2,7 +2,11 @@ import { Drawable } from './drawable';
export interface DrawableDescriptor {
uniformName: string;
countMacroName: string;
uniformCountMacroName: string;
sdf?: {
shader: string;
distanceFunctionName: string;
};
shaderCombinationSteps: Array<number>;
readonly empty: Drawable;
}