rhodonite 0.15.1 → 0.15.3
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.
- package/VERSION-FILE +1 -1
- package/dist/esm/index.d.ts +65 -22
- package/dist/esm/index.js +374 -350
- package/dist/esmdev/index.d.ts +65 -22
- package/dist/esmdev/index.js +566 -472
- package/package.json +4 -2
package/VERSION-FILE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
v0.15.
|
|
1
|
+
v0.15.3-0-g4cc893114-dirty
|
|
2
2
|
main
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -3605,7 +3605,7 @@ declare class WebGLContextWrapper {
|
|
|
3605
3605
|
isNotSupportWebGL1Extension(webGLExtension: WebGLExtensionEnum): boolean;
|
|
3606
3606
|
getIsWebGL2(gl: WebGLRenderingContext | WebGL2RenderingContext): gl is WebGL2RenderingContext;
|
|
3607
3607
|
get isWebGL2(): boolean;
|
|
3608
|
-
createVertexArray(): WebGLVertexArrayObject | null
|
|
3608
|
+
createVertexArray(): WebGLVertexArrayObject | null;
|
|
3609
3609
|
deleteVertexArray(vertexArray: WebGLVertexArrayObject | WebGLVertexArrayObjectOES): void;
|
|
3610
3610
|
bindVertexArray(vao: WebGLVertexArrayObjectOES | null): void;
|
|
3611
3611
|
vertexAttribDivisor(index: number, divisor: number): void;
|
|
@@ -3854,7 +3854,7 @@ declare class WebGpuResourceRepository extends CGAPIResourceRepository implement
|
|
|
3854
3854
|
private __toClearRenderBundles;
|
|
3855
3855
|
executeRenderBundle(renderPass: RenderPass): boolean;
|
|
3856
3856
|
finishRenderBundleEncoder(renderPass: RenderPass): void;
|
|
3857
|
-
getOrCreateRenderPipeline(renderPipelineId: string, primitive: Primitive, material: Material, renderPass: RenderPass, zWrite: boolean, diffuseCubeMap?: CubeTexture | RenderTargetTextureCube, specularCubeMap?: CubeTexture | RenderTargetTextureCube, sheenCubeMap?: CubeTexture | RenderTargetTextureCube): [GPURenderPipeline, boolean];
|
|
3857
|
+
getOrCreateRenderPipeline(renderPipelineId: string, bindGroupId: string, primitive: Primitive, material: Material, renderPass: RenderPass, zWrite: boolean, diffuseCubeMap?: CubeTexture | RenderTargetTextureCube, specularCubeMap?: CubeTexture | RenderTargetTextureCube, sheenCubeMap?: CubeTexture | RenderTargetTextureCube): [GPURenderPipeline, boolean];
|
|
3858
3858
|
flush(): void;
|
|
3859
3859
|
setColorWriteMask(material: Material): GPUColorWriteFlags;
|
|
3860
3860
|
/**
|
|
@@ -5471,6 +5471,7 @@ declare abstract class AbstractMaterialContent extends RnObject {
|
|
|
5471
5471
|
private __materialContentUid;
|
|
5472
5472
|
private static __vertexShaderityObjectMap;
|
|
5473
5473
|
private static __pixelShaderityObjectMap;
|
|
5474
|
+
private static __reflectedShaderSemanticsInfoArrayMap;
|
|
5474
5475
|
shaderType: ShaderTypeEnum;
|
|
5475
5476
|
constructor(materialName: string, { isMorphing, isSkinning, isLighting }?: {
|
|
5476
5477
|
isMorphing?: boolean | undefined;
|
|
@@ -5498,7 +5499,13 @@ declare abstract class AbstractMaterialContent extends RnObject {
|
|
|
5498
5499
|
protected setSkinning(shaderProgram: WebGLProgram, setUniform: boolean, skeletalComponent?: SkeletalComponent): void;
|
|
5499
5500
|
protected setLightsInfo(shaderProgram: WebGLProgram, lightComponents: LightComponent[], material: Material, setUniform: boolean): void;
|
|
5500
5501
|
setMorphInfo(shaderProgram: WebGLProgram, meshComponent: MeshComponent, primitive: Primitive, blendShapeComponent?: BlendShapeComponent): void;
|
|
5501
|
-
|
|
5502
|
+
_setInternalSettingParametersToGpuWebGLPerShaderProgram({ material, shaderProgram, firstTime, args, }: {
|
|
5503
|
+
material: Material;
|
|
5504
|
+
shaderProgram: WebGLProgram;
|
|
5505
|
+
firstTime: boolean;
|
|
5506
|
+
args: RenderingArgWebGL;
|
|
5507
|
+
}): void;
|
|
5508
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
5502
5509
|
material: Material;
|
|
5503
5510
|
shaderProgram: WebGLProgram;
|
|
5504
5511
|
firstTime: boolean;
|
|
@@ -5515,7 +5522,7 @@ declare abstract class AbstractMaterialContent extends RnObject {
|
|
|
5515
5522
|
args: RenderingArgWebGpu;
|
|
5516
5523
|
}): void;
|
|
5517
5524
|
getDefinition(): string;
|
|
5518
|
-
protected doShaderReflection(vertexShader: ShaderityObject, pixelShader: ShaderityObject, vertexShaderWebGpu: ShaderityObject, pixelShaderWebGpu: ShaderityObject): ShaderSemanticsInfo[];
|
|
5525
|
+
protected doShaderReflection(vertexShader: ShaderityObject, pixelShader: ShaderityObject, vertexShaderWebGpu: ShaderityObject, pixelShaderWebGpu: ShaderityObject, definitions: string[]): ShaderSemanticsInfo[];
|
|
5519
5526
|
}
|
|
5520
5527
|
|
|
5521
5528
|
type ShaderSources = {
|
|
@@ -5568,6 +5575,8 @@ declare class Material extends RnObject {
|
|
|
5568
5575
|
_materialContent: AbstractMaterialContent;
|
|
5569
5576
|
_allFieldVariables: Map<ShaderSemanticsName, ShaderVariable>;
|
|
5570
5577
|
_autoFieldVariablesOnly: Map<ShaderSemanticsName, ShaderVariable>;
|
|
5578
|
+
_autoTextureFieldVariablesOnly: Map<ShaderSemanticsName, ShaderVariable>;
|
|
5579
|
+
_autoUniformFieldVariablesOnly: Map<ShaderSemanticsName, ShaderVariable>;
|
|
5571
5580
|
_allFieldsInfo: Map<ShaderSemanticsName, ShaderSemanticsInfo>;
|
|
5572
5581
|
private __belongPrimitives;
|
|
5573
5582
|
private _shaderProgramUidMap;
|
|
@@ -5671,6 +5680,12 @@ declare class Material extends RnObject {
|
|
|
5671
5680
|
firstTime: boolean;
|
|
5672
5681
|
args: RenderingArgWebGL;
|
|
5673
5682
|
}): void;
|
|
5683
|
+
_setParametersToGpuWebGLPerShaderProgram({ material, shaderProgram, firstTime, args, }: {
|
|
5684
|
+
material: Material;
|
|
5685
|
+
shaderProgram: WebGLProgram;
|
|
5686
|
+
firstTime: boolean;
|
|
5687
|
+
args: RenderingArgWebGL;
|
|
5688
|
+
}): void;
|
|
5674
5689
|
_setParametersToGpuWebGLPerPrimitive({ material, shaderProgram, firstTime, args, }: {
|
|
5675
5690
|
material: Material;
|
|
5676
5691
|
shaderProgram: WebGLProgram;
|
|
@@ -6177,6 +6192,9 @@ type Vrm0xMaterialProperty = {
|
|
|
6177
6192
|
_OutlineWidth: number;
|
|
6178
6193
|
_OutlineScaledMaxDistance: number;
|
|
6179
6194
|
_OutlineLightingMix: number;
|
|
6195
|
+
_UvAnimScrollX: number;
|
|
6196
|
+
_UvAnimScrollY: number;
|
|
6197
|
+
_UvAnimRotation: number;
|
|
6180
6198
|
_DebugMode: number;
|
|
6181
6199
|
_BlendMode: number;
|
|
6182
6200
|
_OutlineWidthMode: number;
|
|
@@ -6199,7 +6217,7 @@ type Vrm0xMaterialProperty = {
|
|
|
6199
6217
|
_EmissionColor: Array3<number>;
|
|
6200
6218
|
_EmissionMap: Array4<number>;
|
|
6201
6219
|
_OutlineWidthTexture: Array4<number>;
|
|
6202
|
-
_OutlineColor:
|
|
6220
|
+
_OutlineColor: Array4<number>;
|
|
6203
6221
|
_RimColor: Array3<number>;
|
|
6204
6222
|
};
|
|
6205
6223
|
textureProperties: {
|
|
@@ -10340,6 +10358,7 @@ declare class MeshRendererComponent extends Component {
|
|
|
10340
10358
|
private __updateCount;
|
|
10341
10359
|
private static __updateCount;
|
|
10342
10360
|
static _isFrustumCullingEnabled: boolean;
|
|
10361
|
+
private __fingerPrint;
|
|
10343
10362
|
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityRepository: EntityRepository, isReUse: boolean);
|
|
10344
10363
|
static get componentTID(): ComponentTID;
|
|
10345
10364
|
get componentTID(): ComponentTID;
|
|
@@ -10354,6 +10373,8 @@ declare class MeshRendererComponent extends Component {
|
|
|
10354
10373
|
set specularCubeMapContribution(contribution: number);
|
|
10355
10374
|
get rotationOfCubeMap(): number;
|
|
10356
10375
|
set rotationOfCubeMap(rotation: number);
|
|
10376
|
+
calcFingerPrint(): void;
|
|
10377
|
+
getFingerPrint(): string;
|
|
10357
10378
|
setIBLCubeMap(diffuseCubeTexture: CubeTexture | RenderTargetTextureCube, specularCubeTexture: CubeTexture | RenderTargetTextureCube, sheenCubeTexture?: CubeTexture | RenderTargetTextureCube): Promise<void> | undefined;
|
|
10358
10379
|
static common_$load({ processApproach }: {
|
|
10359
10380
|
processApproach: ProcessApproachEnum;
|
|
@@ -10581,11 +10602,13 @@ type Vrm1 = Vrm1_Extension & RnM2;
|
|
|
10581
10602
|
|
|
10582
10603
|
declare function createMaterial(materialContent: AbstractMaterialContent, maxInstancesNumber?: Count): Material;
|
|
10583
10604
|
declare function recreateMaterial(materialContent: AbstractMaterialContent, maxInstancesNumber?: Count): Material;
|
|
10584
|
-
declare function createPbrUberMaterial({ additionalName, isMorphing, isSkinning, isLighting, isClearCoat, isTransmission, isVolume, isSheen, isSpecular, isIridescence, isAnisotropy, isDispersion, isEmissiveStrength, isDiffuseTransmission, isShadow, useTangentAttribute, useNormalTexture, maxInstancesNumber, }?: {
|
|
10605
|
+
declare function createPbrUberMaterial({ additionalName, isMorphing, isSkinning, isLighting, isOcclusion, isEmissive, isClearCoat, isTransmission, isVolume, isSheen, isSpecular, isIridescence, isAnisotropy, isDispersion, isEmissiveStrength, isDiffuseTransmission, isShadow, useTangentAttribute, useNormalTexture, maxInstancesNumber, }?: {
|
|
10585
10606
|
additionalName?: string | undefined;
|
|
10586
10607
|
isMorphing?: boolean | undefined;
|
|
10587
10608
|
isSkinning?: boolean | undefined;
|
|
10588
10609
|
isLighting?: boolean | undefined;
|
|
10610
|
+
isOcclusion?: boolean | undefined;
|
|
10611
|
+
isEmissive?: boolean | undefined;
|
|
10589
10612
|
isClearCoat?: boolean | undefined;
|
|
10590
10613
|
isTransmission?: boolean | undefined;
|
|
10591
10614
|
isVolume?: boolean | undefined;
|
|
@@ -11063,7 +11086,7 @@ declare class MathClassUtil {
|
|
|
11063
11086
|
static multiplyNumber(lhs: any, rhs: number): number | number[] | Vector3 | Vector4 | Quaternion | Vector2 | undefined;
|
|
11064
11087
|
static divideNumber(lhs: any, rhs: number): number | number[] | Vector3 | Vector4 | Quaternion | Vector2 | undefined;
|
|
11065
11088
|
static initWithScalar(objForDetectType: any, val: number): number | number[] | Vector3 | Vector4 | Quaternion | Vector2 | undefined;
|
|
11066
|
-
static initWithFloat32Array(
|
|
11089
|
+
static initWithFloat32Array(val: any, floatArray: Float32Array): any;
|
|
11067
11090
|
static _setForce(objForDetectType: any, val: any): boolean;
|
|
11068
11091
|
}
|
|
11069
11092
|
|
|
@@ -11602,6 +11625,7 @@ declare class Transform3D {
|
|
|
11602
11625
|
declare class VectorN {
|
|
11603
11626
|
_v: TypedArray;
|
|
11604
11627
|
constructor(typedArray: TypedArray);
|
|
11628
|
+
clone(): VectorN;
|
|
11605
11629
|
}
|
|
11606
11630
|
|
|
11607
11631
|
declare class AnimatedScalar extends Scalar$1 implements IScalar, IAnimatedValue {
|
|
@@ -16166,7 +16190,7 @@ declare class MergeVectorShaderNode extends AbstractShaderNode {
|
|
|
16166
16190
|
declare class ColorGradingUsingLUTsMaterialContent extends AbstractMaterialContent {
|
|
16167
16191
|
static lookupTableTexture: ShaderSemanticsClass;
|
|
16168
16192
|
constructor(materialName: string, targetRenderPass: RenderPass, colorAttachmentsNumber: Count, uri?: string, texture?: AbstractTexture);
|
|
16169
|
-
|
|
16193
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16170
16194
|
material: Material;
|
|
16171
16195
|
shaderProgram: WebGLProgram;
|
|
16172
16196
|
firstTime: boolean;
|
|
@@ -16178,7 +16202,7 @@ declare class CustomMaterialContent extends AbstractMaterialContent {
|
|
|
16178
16202
|
private static __globalDataRepository;
|
|
16179
16203
|
private static __diffuseIblCubeMapSampler;
|
|
16180
16204
|
private static __specularIblCubeMapSampler;
|
|
16181
|
-
constructor({ name, isMorphing, isSkinning, isLighting, vertexShader, pixelShader, additionalShaderSemanticInfo, vertexShaderWebGpu, pixelShaderWebGpu, }: {
|
|
16205
|
+
constructor({ name, isMorphing, isSkinning, isLighting, vertexShader, pixelShader, additionalShaderSemanticInfo, vertexShaderWebGpu, pixelShaderWebGpu, definitions, }: {
|
|
16182
16206
|
name: string;
|
|
16183
16207
|
isMorphing: boolean;
|
|
16184
16208
|
isSkinning: boolean;
|
|
@@ -16188,12 +16212,19 @@ declare class CustomMaterialContent extends AbstractMaterialContent {
|
|
|
16188
16212
|
additionalShaderSemanticInfo: ShaderSemanticsInfo[];
|
|
16189
16213
|
vertexShaderWebGpu?: ShaderityObject;
|
|
16190
16214
|
pixelShaderWebGpu?: ShaderityObject;
|
|
16215
|
+
definitions?: string[];
|
|
16191
16216
|
});
|
|
16192
16217
|
_setInternalSettingParametersToGpuWebGpu({ material, args, }: {
|
|
16193
16218
|
material: Material;
|
|
16194
16219
|
args: RenderingArgWebGpu;
|
|
16195
16220
|
}): void;
|
|
16196
|
-
|
|
16221
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16222
|
+
material: Material;
|
|
16223
|
+
shaderProgram: WebGLProgram;
|
|
16224
|
+
firstTime: boolean;
|
|
16225
|
+
args: RenderingArgWebGL;
|
|
16226
|
+
}): void;
|
|
16227
|
+
_setInternalSettingParametersToGpuWebGLPerShaderProgram({ material, shaderProgram, firstTime, args, }: {
|
|
16197
16228
|
material: Material;
|
|
16198
16229
|
shaderProgram: WebGLProgram;
|
|
16199
16230
|
firstTime: boolean;
|
|
@@ -16218,7 +16249,7 @@ declare class DepthEncodeMaterialContent extends AbstractMaterialContent {
|
|
|
16218
16249
|
constructor(materialName: string, depthPow: number, { isSkinning }: {
|
|
16219
16250
|
isSkinning: boolean;
|
|
16220
16251
|
});
|
|
16221
|
-
|
|
16252
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16222
16253
|
material: Material;
|
|
16223
16254
|
shaderProgram: WebGLProgram;
|
|
16224
16255
|
firstTime: boolean;
|
|
@@ -16229,7 +16260,7 @@ declare class DepthEncodeMaterialContent extends AbstractMaterialContent {
|
|
|
16229
16260
|
declare class DetectHighLuminanceMaterialContent extends AbstractMaterialContent {
|
|
16230
16261
|
static LuminanceCriterion: ShaderSemanticsEnum;
|
|
16231
16262
|
constructor(materialName: string, textureToDetectHighLuminance: AbstractTexture);
|
|
16232
|
-
|
|
16263
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16233
16264
|
material: Material;
|
|
16234
16265
|
shaderProgram: WebGLProgram;
|
|
16235
16266
|
firstTime: boolean;
|
|
@@ -16239,7 +16270,7 @@ declare class DetectHighLuminanceMaterialContent extends AbstractMaterialContent
|
|
|
16239
16270
|
|
|
16240
16271
|
declare class EntityUIDOutputMaterialContent extends AbstractMaterialContent {
|
|
16241
16272
|
constructor(materialName: string);
|
|
16242
|
-
|
|
16273
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16243
16274
|
material: Material;
|
|
16244
16275
|
shaderProgram: WebGLProgram;
|
|
16245
16276
|
firstTime: boolean;
|
|
@@ -16254,7 +16285,7 @@ declare class FurnaceTestMaterialContent extends AbstractMaterialContent {
|
|
|
16254
16285
|
static disable_fresnel: ShaderSemanticsClass;
|
|
16255
16286
|
static f0: ShaderSemanticsClass;
|
|
16256
16287
|
constructor(materialName: string);
|
|
16257
|
-
|
|
16288
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16258
16289
|
material: Material;
|
|
16259
16290
|
shaderProgram: WebGLProgram;
|
|
16260
16291
|
firstTime: boolean;
|
|
@@ -16301,7 +16332,7 @@ declare class MToon0xMaterialContent extends AbstractMaterialContent {
|
|
|
16301
16332
|
private __floatProperties;
|
|
16302
16333
|
private __vectorProperties;
|
|
16303
16334
|
private __textureProperties;
|
|
16304
|
-
constructor(isOutline: boolean, materialProperties: Vrm0xMaterialProperty | undefined, textures: any, samplers: Sampler[], isMorphing: boolean, isSkinning: boolean, isLighting: boolean, useTangentAttribute: boolean, debugMode: Count | undefined, makeOutputSrgb: boolean, materialName: string);
|
|
16335
|
+
constructor(isOutline: boolean, materialProperties: Vrm0xMaterialProperty | undefined, textures: any, samplers: Sampler[], isMorphing: boolean, isSkinning: boolean, isLighting: boolean, useTangentAttribute: boolean, debugMode: Count | undefined, makeOutputSrgb: boolean, materialName: string, definitions: string[]);
|
|
16305
16336
|
private __setDummyTextures;
|
|
16306
16337
|
setMaterialParameters(material: Material, isOutline: boolean): void;
|
|
16307
16338
|
private static __initializeUsableBlendEquationModeAlpha;
|
|
@@ -16309,7 +16340,13 @@ declare class MToon0xMaterialContent extends AbstractMaterialContent {
|
|
|
16309
16340
|
material: Material;
|
|
16310
16341
|
args: RenderingArgWebGpu;
|
|
16311
16342
|
}): void;
|
|
16312
|
-
|
|
16343
|
+
_setInternalSettingParametersToGpuWebGLPerShaderProgram({ material, shaderProgram, firstTime, args, }: {
|
|
16344
|
+
material: Material;
|
|
16345
|
+
shaderProgram: WebGLProgram;
|
|
16346
|
+
firstTime: boolean;
|
|
16347
|
+
args: RenderingArgWebGL;
|
|
16348
|
+
}): void;
|
|
16349
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16313
16350
|
material: Material;
|
|
16314
16351
|
shaderProgram: WebGLProgram;
|
|
16315
16352
|
firstTime: boolean;
|
|
@@ -16322,13 +16359,19 @@ declare class MToon0xMaterialContent extends AbstractMaterialContent {
|
|
|
16322
16359
|
declare class MToon1MaterialContent extends AbstractMaterialContent {
|
|
16323
16360
|
private static __diffuseIblCubeMapSampler;
|
|
16324
16361
|
private static __specularIblCubeMapSampler;
|
|
16325
|
-
constructor(materialName: string, isMorphing: boolean, isSkinning: boolean, isLighting: boolean, isOutline: boolean);
|
|
16362
|
+
constructor(materialName: string, isMorphing: boolean, isSkinning: boolean, isLighting: boolean, isOutline: boolean, definitions: string[]);
|
|
16326
16363
|
setMaterialParameters(material: Material, isOutline: boolean, materialJson: Vrm1_Material): void;
|
|
16327
16364
|
_setInternalSettingParametersToGpuWebGpu({ material, args, }: {
|
|
16328
16365
|
material: Material;
|
|
16329
16366
|
args: RenderingArgWebGpu;
|
|
16330
16367
|
}): void;
|
|
16331
|
-
|
|
16368
|
+
_setInternalSettingParametersToGpuWebGLPerShaderProgram({ material, shaderProgram, firstTime, args, }: {
|
|
16369
|
+
material: Material;
|
|
16370
|
+
shaderProgram: WebGLProgram;
|
|
16371
|
+
firstTime: boolean;
|
|
16372
|
+
args: RenderingArgWebGL;
|
|
16373
|
+
}): void;
|
|
16374
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16332
16375
|
material: Material;
|
|
16333
16376
|
shaderProgram: WebGLProgram;
|
|
16334
16377
|
firstTime: boolean;
|
|
@@ -16340,7 +16383,7 @@ declare class MToon1MaterialContent extends AbstractMaterialContent {
|
|
|
16340
16383
|
declare class MatCapMaterialContent extends AbstractMaterialContent {
|
|
16341
16384
|
static MatCapTexture: ShaderSemanticsClass;
|
|
16342
16385
|
constructor(materialName: string, isSkinning: boolean, uri?: string, texture?: AbstractTexture, sampler?: Sampler);
|
|
16343
|
-
|
|
16386
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16344
16387
|
material: Material;
|
|
16345
16388
|
shaderProgram: WebGLProgram;
|
|
16346
16389
|
firstTime: boolean;
|
|
@@ -16377,7 +16420,7 @@ declare class ShadowMapDecodeClassicMaterialContent extends AbstractMaterialCont
|
|
|
16377
16420
|
isDebugging: boolean;
|
|
16378
16421
|
colorAttachmentsNumber: Count;
|
|
16379
16422
|
}, encodedDepthRenderPass: RenderPass);
|
|
16380
|
-
|
|
16423
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16381
16424
|
material: Material;
|
|
16382
16425
|
shaderProgram: WebGLProgram;
|
|
16383
16426
|
firstTime: boolean;
|
|
@@ -16411,7 +16454,7 @@ declare class SynthesizeHdrMaterialContent extends AbstractMaterialContent {
|
|
|
16411
16454
|
* @targetRegionTexture Texture to specify the area where the texture will be synthesized
|
|
16412
16455
|
*/
|
|
16413
16456
|
constructor(materialName: string, synthesizeTextures: AbstractTexture[]);
|
|
16414
|
-
|
|
16457
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16415
16458
|
material: Material;
|
|
16416
16459
|
shaderProgram: WebGLProgram;
|
|
16417
16460
|
firstTime: boolean;
|
|
@@ -16458,7 +16501,7 @@ declare class VarianceShadowMapDecodeClassicMaterialContent extends AbstractMate
|
|
|
16458
16501
|
colorAttachmentsNumberSquareDepth: Count;
|
|
16459
16502
|
depthCameraComponent?: CameraComponent;
|
|
16460
16503
|
}, encodedDepthRenderPasses: RenderPass[]);
|
|
16461
|
-
|
|
16504
|
+
_setInternalSettingParametersToGpuWebGLPerMaterial({ material, shaderProgram, firstTime, args, }: {
|
|
16462
16505
|
material: Material;
|
|
16463
16506
|
shaderProgram: WebGLProgram;
|
|
16464
16507
|
firstTime: boolean;
|