Improve API
This commit is contained in:
parent
b2c2cfcb41
commit
78444d8cc6
24 changed files with 193 additions and 325 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue