@predy-js/render-interface 0.3.0-beta.36 → 0.3.0-beta.38
Sign up to get free protection for your applications and to get access to all the features.
package/dist/statistic.js
CHANGED
@@ -33,11 +33,11 @@ export declare abstract class DataBlockInternal implements ResourceInternal {
|
|
33
33
|
/**
|
34
34
|
* 设置uniform的结构体数据
|
35
35
|
*/
|
36
|
-
abstract
|
36
|
+
abstract setUniformStructValues(name: string, values: NativeUniformStruct[]): boolean;
|
37
37
|
/**
|
38
|
-
* 获取uniform
|
38
|
+
* 获取uniform的结构体数据,获取的数据进行深拷贝
|
39
39
|
*/
|
40
|
-
abstract getUniformStructValue(name: string, idx: number
|
40
|
+
abstract getUniformStructValue(name: string, idx: number): NativeUniformStruct | undefined;
|
41
41
|
abstract setUniformTextures(uniformName: string, texture: TextureInternal[] | undefined): void;
|
42
42
|
abstract getUniformTextures(uniformName: string): TextureInternal[] | undefined;
|
43
43
|
}
|
package/package.json
CHANGED
@@ -38,12 +38,12 @@ export abstract class DataBlockInternal implements ResourceInternal {
|
|
38
38
|
/**
|
39
39
|
* 设置uniform的结构体数据
|
40
40
|
*/
|
41
|
-
abstract
|
41
|
+
abstract setUniformStructValues (name: string, values: NativeUniformStruct[]): boolean;
|
42
42
|
|
43
43
|
/**
|
44
|
-
* 获取uniform
|
44
|
+
* 获取uniform的结构体数据,获取的数据进行深拷贝
|
45
45
|
*/
|
46
|
-
abstract getUniformStructValue (name: string, idx: number
|
46
|
+
abstract getUniformStructValue (name: string, idx: number): NativeUniformStruct | undefined;
|
47
47
|
|
48
48
|
abstract setUniformTextures (uniformName: string, texture: TextureInternal[] | undefined): void;
|
49
49
|
|