@needle-tools/materialx 1.0.1-next.9e2a592 → 1.0.1-next.b9638d9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +0,0 @@
1
-
2
-
3
-
4
- export namespace MaterialX {
5
-
6
- export type MODULE = {
7
- ShaderInterfaceType: any;
8
- HwSpecularEnvironmentMethod: any;
9
- HwShaderGenerator: {
10
- bindLightShader(def: any, id: number, genContext: GenContext): void;
11
- unbindLightShaders(context: any): void;
12
- };
13
- createDocument(): Document;
14
- readFromXmlString(doc: Document, xml: string, unknown: string): void;
15
- loadStandardLibraries(genContext: GenContext): StandardLibrary;
16
- isTransparentSurface(renderableElement: any, target: string): boolean;
17
- }
18
-
19
-
20
- export type GenContext = {
21
- }
22
-
23
- export type StandardLibrary = {
24
-
25
- }
26
-
27
- // https://github.com/AcademySoftwareFoundation/MaterialX/blob/b74787db6544283dc32afc8085ebc93cabe937cb/source/MaterialXGenShader/ShaderStage.h#L56
28
- export type ShaderStage = {
29
- getUniformBlocks(): Record<string, any>;
30
- }
31
-
32
- export type Document = {
33
- setDataLibrary(lib: StandardLibrary): void;
34
- importLibrary(lib: Document): void;
35
-
36
- getNodes(): Node[];
37
- }
38
-
39
- export type Node = {
40
- getType(): string;
41
- }
42
-
43
- export type Matrix = {
44
- numRows(): number;
45
- numColumns(): number;
46
- get size(): number;
47
- getItem(row: number, col: number): number;
48
- }
49
-
50
- }