docstring_tokens stringlengths 0 76.5k | code_tokens stringlengths 75 1.81M | label_window listlengths 4 2.12k | html_url stringlengths 74 116 | file_name stringlengths 3 311 |
|---|---|---|---|---|
transcoder.decodePalettes(sgd.endpointCount, sgd.endpointsData, sgd.selectorCount, sgd.selectorsData);
transcoder.decodeTables(sgd.tablesData);
| <mask>
<mask> if (src === sourceTextureFormat.ETC1S) {
<mask> const sgd = ktx2Reader.supercompressionGlobalData;
<mask>
<mask> transcoder.decodePalettes(sgd.endpointCount, sgd.endpointsData, sgd.selectorCount, sgd.selectorsData);
<mask> transcoder.deco... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | ktx2Decoder/src/Transcoders/mscTranscoder.ts |
imageInfo.flags = imageDesc!.imageFlags;
imageInfo.rgbByteOffset = 0;
imageInfo.rgbByteLength = imageDesc!.rgbSliceByteLength;
imageInfo.alphaByteOffset = imageDesc!.alphaSliceByteOffset > 0 ? imageDesc!.rgbSliceByteLength : 0;
... | <mask>
<mask> transcoder.decodePalettes(sgd.endpointCount, sgd.endpointsData, sgd.selectorCount, sgd.selectorsData);
<mask> transcoder.decodeTables(sgd.tablesData);
<mask>
<mask> imageInfo.flags = imageDesc!.imageFlags;
<mask> imageInfo.rgbByteOffs... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | ktx2Decoder/src/Transcoders/mscTranscoder.ts |
result = transcoder.transcodeImage(targetFormat, encodedData, imageInfo, 0, isVideo);
} else {
imageInfo.flags = 0;
imageInfo.rgbByteOffset = 0;
imageInfo.rgbByteLength = uncompressedByteLength;
imag... | <mask> imageInfo.rgbByteLength = imageDesc!.rgbSliceByteLength;
<mask> imageInfo.alphaByteOffset = imageDesc!.alphaSliceByteOffset > 0 ? imageDesc!.rgbSliceByteLength : 0;
<mask> imageInfo.alphaByteLength = imageDesc!.alphaSliceByteLength;
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | ktx2Decoder/src/Transcoders/mscTranscoder.ts |
result = transcoder.transcodeImage(targetFormat, encodedData, imageInfo, 0, ktx2Reader.hasAlpha, isVideo);
}
| <mask> imageInfo.rgbByteLength = uncompressedByteLength;
<mask> imageInfo.alphaByteOffset = 0;
<mask> imageInfo.alphaByteLength = 0;
<mask>
<mask> result = transcoder.transcodeImage(targetFormat, encodedData, imageInfo, 0, ktx2Reader.hasAlpha, isVide... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | ktx2Decoder/src/Transcoders/mscTranscoder.ts |
finally {
if (transcoder) {
transcoder.delete();
}
if (imageInfo) {
imageInfo.delete();
}
if (result && result.transcodedImage) {
textureData = result.trans... | <mask> imageInfo.alphaByteLength = 0;
<mask>
<mask> result = transcoder.transcodeImage(targetFormat, encodedData, imageInfo, 0, ktx2Reader.hasAlpha, isVideo);
<mask> }
<mask>
<mask> if (result && result.transcodedImage !== undefined) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | ktx2Decoder/src/Transcoders/mscTranscoder.ts |
return textureData;
| <mask> result.transcodedImage.delete();
<mask> return textureData;
<mask> }
<mask>
<mask> return null;
<mask> });
<mask> }
<mask> }
</s> Fix memory leak and incorrect data copy in KTX2
Former-commit-id: ad8864543b03a7cf5248a33e4bf0626351dc5... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | ktx2Decoder/src/Transcoders/mscTranscoder.ts |
const dataCopy = new Uint8Array(data.byteLength);
dataCopy.set(new Uint8Array(data.buffer, data.byteOffset, data.byteLength));
worker.postMessage({ action: "decode", data: dataCopy, caps: compressedTexturesCaps, options }, [dataCopy.buffer]);
| <mask>
<mask> worker.addEventListener("error", onError);
<mask> worker.addEventListener("message", onMessage);
<mask>
<mask> // note: we can't transfer the ownership of data.buffer because if using a fallback texture the data.buffer buffer w... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd39c740b0c1435397562c6d037dfc0a3811c558 | src/Misc/khronosTextureContainer2.ts |
import { PoseEnabledControllerType, ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
| <mask> import { _DepthCullingState, _StencilState, _AlphaState } from "States";
<mask>
<mask> import { GamepadButtonChanges } from "Gamepads/gamepad";
<mask> import { WebVRController } from "./webVRController";
<mask> import { PoseEnabledControllerType, ExtendedGamepadButton } from "./poseEnabledController";
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/daydreamController.ts |
import { PoseEnabledControllerType, ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
| <mask> import { _DepthCullingState, _StencilState, _AlphaState } from "States";
<mask>
<mask> import { GamepadButtonChanges } from "Gamepads/gamepad";
<mask> import { WebVRController } from "./webVRController";
<mask> import { PoseEnabledControllerType, ExtendedGamepadButton } from "./poseEnabledController";
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/gearVRController.ts |
PoseEnabledControllerHelper._ControllerFactories.push({
canCreate: (gamepadInfo) => {
return gamepadInfo.id.indexOf(GearVRController.GAMEPAD_ID_PREFIX) === 0 ||
gamepadInfo.id.indexOf('Oculus Go') !== -1;
},
create: (gamepadInfo) => {
return ne... | <mask> }
<mask> }
<mask> }
<mask> }
</s> More Cicular dep
Former-commit-id: 8e997a712c307c170ede30d40118d714af83b445 </s> remove import { RenderingGroupInfo, Scene } from "scene";
</s> add </s> remove
import { OculusTouchController } from "Gamepads/Controllers/oculusTou... | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/gearVRController.ts |
import { ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
| <mask> import { SceneLoader } from "Loading/sceneLoader";
<mask> import { _DepthCullingState, _StencilState, _AlphaState } from "States";
<mask>
<mask> import { WebVRController } from "./webVRController";
<mask> import { ExtendedGamepadButton } from "./poseEnabledController";
<mask> import { GamepadButtonChanges... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/genericController.ts |
import { PoseEnabledControllerType, ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
| <mask> import { SceneLoader } from "Loading/sceneLoader";
<mask> import { _DepthCullingState, _StencilState, _AlphaState } from "States";
<mask>
<mask> import { WebVRController } from "./webVRController";
<mask> import { PoseEnabledControllerType, ExtendedGamepadButton } from "./poseEnabledController";
<mask> im... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/oculusTouchController.ts |
<mask> import { Engine } from "Engines/engine";
<mask>
<mask> import { Gamepad } from "Gamepads/gamepad";
<mask> import { ExtendedGamepadButton } from "./poseEnabledController";
<mask>
<mask> import { OculusTouchController } from "Gamepads/Controllers/oculusTouchController";
<mask> import { WindowsMotionContro... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/poseEnabledController.ts | |
/** @hidden */
public static _ControllerFactories: _GamePadFactory[] = [];
/** @hidden */
public static _DefaultControllerFactory: Nullable<(gamepadInfo: any) => Gamepad> = null;
| <mask> /**
<mask> * Defines the PoseEnabledControllerHelper object that is used initialize a gamepad as the controller type it is specified as (eg. windows mixed reality controller)
<mask> */
<mask> export class PoseEnabledControllerHelper {
<mask> /**
<mask> * Initializes a gam... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/poseEnabledController.ts |
for (let factory of this._ControllerFactories) {
if (factory.canCreate(vrGamepad)) {
return factory.create(vrGamepad);
}
| <mask> * @param vrGamepad the gamepad to initialized
<mask> * @returns a vr controller of the type the gamepad identified as
<mask> */
<mask> public static InitiateController(vrGamepad: any) {
<mask> // Oculus Touch
<mask> if (vrGamepad.id.indexOf('Oculus... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
... | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/poseEnabledController.ts |
if (this._DefaultControllerFactory) {
return this._DefaultControllerFactory(vrGamepad);
| <mask> // Google Daydream
<mask> else if (vrGamepad.id.indexOf(DaydreamController.GAMEPAD_ID_PREFIX) === 0) {
<mask> return new DaydreamController(vrGamepad);
<mask> }
<mask> // Generic
<mask> else {
<mask> return new Gen... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/poseEnabledController.ts |
throw "The type of gamepad you are trying to load needs to be imported first or is not supported.";
| <mask>
<mask> if (this._DefaultControllerFactory) {
<mask> return this._DefaultControllerFactory(vrGamepad);
<mask> }
<mask> }
<mask> }
<mask>
<mask> /**
</s> More Cicular dep
Former-commit-id: 8e997a712c307c170ede30d40118d714af83b445 </s> remove ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/poseEnabledController.ts |
import { PoseEnabledControllerType, ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
| <mask> import { SceneLoader } from "Loading/sceneLoader";
<mask> import { _DepthCullingState, _StencilState, _AlphaState } from "States";
<mask>
<mask> import { WebVRController } from "./webVRController";
<mask> import { PoseEnabledControllerType, ExtendedGamepadButton } from "./poseEnabledController";
<mask> im... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/viveController.ts |
import { PoseEnabledController, PoseEnabledControllerType, ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
| <mask> import { _DepthCullingState, _StencilState, _AlphaState } from "States";
<mask>
<mask> import { WebVRController } from "./webVRController";
<mask> import { GenericController } from "./genericController";
<mask> import { PoseEnabledController, PoseEnabledControllerType, ExtendedGamepadButton } from "./poseE... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Gamepads/Controllers/windowsMotionController.ts |
<mask> import { Nullable } from "types";
<mask> import { RenderingGroupInfo, Scene } from "scene";
<mask> import { AbstractMesh } from "Meshes/abstractMesh";
<mask> import { SubMesh } from "Meshes/subMesh";
<mask> import { SmartArray } from "Misc/smartArray";
<mask> import { ISpriteManager } from "Sprites/spriteM... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Rendering/renderingManager.ts | |
declare type Scene = import("scene").Scene;
declare type Camera = import("Cameras/camera").Camera;
| <mask> import { RenderingGroup } from "./renderingGroup";
<mask>
<mask> /**
<mask> * Interface describing the different options available in the rendering manager
<mask> * regarding Auto Clear between groups.
<mask> */
<mask> export interface IRenderingManagerAutoClearSetup {
</s> More C... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/Rendering/renderingManager.ts |
import { RenderingGroupInfo, RenderingManager, IRenderingManagerAutoClearSetup } from "Rendering/renderingManager";
| <mask> import { ActionManager } from "Actions/actionManager";
<mask> import { PostProcess } from "PostProcesses/postProcess";
<mask> import { PostProcessManager } from "PostProcesses/postProcessManager";
<mask> import { IOfflineProvider } from "Offline/IOfflineProvider";
<mask> import { RenderingManager, IRenderin... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/scene.ts |
<mask> this._ignore = b;
<mask> }
<mask> }
<mask>
<mask> /**
<mask> * This class is used by the onRenderingGroupObservable
<mask> */
<mask> export class RenderingGroupInfo {
<mask> /**
<mask> * The Scene that being rendered
<mask> */
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"... | https://github.com/BabylonJS/Babylon.js/commit/cd836bb63ea640a180b6ec37ac28dc77fb4dff4e | src/scene.ts | |
protected _loadVertexDataAsync(context: string, primitive: ILoaderMeshPrimitive, babylonMesh: Mesh): Nullable<Promise<Geometry>> {
return this._loadExtensionAsync<IKHRDracoMeshCompression, Geometry>(context, primitive, (extensionContext, extension) => {
| <mask>
<mask> super.dispose();
<mask> }
<mask>
<mask> protected _loadVertexDataAsync(context: string, primitive: ILoaderMeshPrimitive, babylonMesh: Mesh): Nullable<Promise<VertexData>> {
<mask> return this._loadExtensionAsync<IKHRDracoMeshCompression, VertexData>(context,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/Extensions/KHR_draco_mesh_compression.ts |
return this._dracoCompression.decodeMeshAsync(data, attributes).then(babylonVertexData => {
const babylonGeometry = new Geometry(babylonMesh.name, this._loader._babylonScene);
babylonVertexData.applyToGeometry(babylonGeometry);
... | <mask> if (!this._dracoCompression) {
<mask> this._dracoCompression = new DracoCompression();
<mask> }
<mask>
<mask> return this._dracoCompression.decodeMeshAsync(data, attributes);
<mask> }
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/Extensions/KHR_draco_mesh_compression.ts |
<mask> _loaded?: number;
<mask> _total?: number;
<mask> }
<mask>
<mask> interface TypedArrayConstructor<T extends TypedArray> {
<mask> readonly prototype: T;
<mask> new(length: number): T;
<mask> new(array: ArrayLike<number>): T;
<mask> new(buffer: Array... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts | |
promises.push(this._loadVertexDataAsync(context, primitive, babylonMesh).then(babylonGeometry => {
return this._loadMorphTargetsAsync(context, primitive, babylonMesh, babylonGeometry).then(() => {
babylonGeometry.applyToMesh(babylonMesh);
});
| <mask> private _loadPrimitiveAsync(context: string, node: ILoaderNode, mesh: ILoaderMesh, primitive: ILoaderMeshPrimitive, babylonMesh: Mesh): Promise<void> {
<mask> const promises = new Array<Promise<void>>();
<mask>
<mask> this._createMorphTargets(context, node, mesh, primitive, b... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
private _loadVertexDataAsync(context: string, primitive: ILoaderMeshPrimitive, babylonMesh: Mesh): Promise<Geometry> {
| <mask>
<mask> return Promise.all(promises).then(() => {});
<mask> }
<mask>
<mask> private _loadVertexDataAsync(context: string, primitive: ILoaderMeshPrimitive, babylonMesh: Mesh): Promise<VertexData> {
<mask> const promise = GLTFLoaderExtension._LoadVertexDataAsync(this,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
const babylonGeometry = new Geometry(babylonMesh.name, this._babylonScene);
| <mask> }
<mask>
<mask> const promises = new Array<Promise<void>>();
<mask>
<mask> const babylonVertexData = new VertexData();
<mask>
<mask> if (primitive.indices == undefined) {
<mask> const positionAccessorIndex = attributes["POSITION"];
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
babylonMesh.isUnIndexed = true;
| <mask>
<mask> const babylonVertexData = new VertexData();
<mask>
<mask> if (primitive.indices == undefined) {
<mask> const positionAccessorIndex = attributes["POSITION"];
<mask> if (positionAccessorIndex != undefined) {
<mask> const ac... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
const accessor = GLTFLoader._GetProperty(context + "/indices", this._gltf.accessors, primitive.indices);
promises.push(this._loadAccessorAsync("#/accessors/" + accessor._index, accessor).then(data => {
babylonGeometry.setIndices(data as IndicesArray);
| <mask> }
<mask> }
<mask> }
<mask> else {
<mask> const indicesAccessor = GLTFLoader._GetProperty(`${context}/indices`, this._gltf.accessors, primitive.indices);
<mask> promises.push(this._loadAccessorAsync(`#/accessors/${in... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
const accessor = GLTFLoader._GetProperty(context + "/attributes/" + attribute, this._gltf.accessors, attributes[attribute]);
promises.push(this._loadVertexAccessorAsync("#/accessors/" + accessor._index, accessor, kind).then(babylonVertexBuffer => {
babylonGeometry.s... | <mask> if (babylonMesh._delayInfo.indexOf(kind) === -1) {
<mask> babylonMesh._delayInfo.push(kind);
<mask> }
<mask>
<mask> if (attribute === "COLOR_0") {
<mask> // Assume vertex color has alpha on the mesh. The alphaMode of t... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
return babylonGeometry;
| <mask> loadAttribute("WEIGHTS_0", VertexBuffer.MatricesWeightsKind);
<mask> loadAttribute("COLOR_0", VertexBuffer.ColorKind);
<mask>
<mask> return Promise.all(promises).then(() => {
<mask> return babylonVertexData;
<mask> });
<mask> }
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
private _loadMorphTargetsAsync(context: string, primitive: IMeshPrimitive, babylonMesh: Mesh, babylonGeometry: Geometry): Promise<void> {
| <mask> // TODO: tell the target whether it has positions, normals, tangents
<mask> }
<mask> }
<mask>
<mask> private _loadMorphTargetsAsync(context: string, primitive: IMeshPrimitive, babylonMesh: Mesh, babylonVertexData: VertexData): Promise<void> {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
promises.push(this._loadMorphTargetVertexDataAsync(`${context}/targets/${index}`, babylonGeometry, primitive.targets[index], babylonMorphTarget));
| <mask>
<mask> const morphTargetManager = babylonMesh.morphTargetManager!;
<mask> for (let index = 0; index < morphTargetManager.numTargets; index++) {
<mask> const babylonMorphTarget = morphTargetManager.getTarget(index);
<mask> promises.push(this._loadMorph... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
private _loadAccessorAsync(context: string, accessor: ILoaderAccessor): Promise<ArrayBufferView> {
| <mask>
<mask> return bufferView._data;
<mask> }
<mask>
<mask> private _loadAccessorAsync(context: string, accessor: ILoaderAccessor): Promise<TypedArray> {
<mask> if (accessor.sparse) {
<mask> throw new Error(`${context}: Sparse accessors are not currentl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
return bufferView._babylonBuffer;
}
| <mask>
<mask> private _buildArrayBuffer<T extends TypedArray>(typedArray: TypedArrayConstructor<T>, data: ArrayBufferView, byteOffset: number, count: number, numComponents: number, byteStride?: number): T {
<mask> byteOffset += data.byteOffset;
<mask>
<mask> const targetLength = c... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | loaders/src/glTF/2.0/babylon.glTFLoader.ts |
switch (attributeKind) {
case VertexBuffer.PositionKind: {
meshPrimitive.attributes.POSITION = this.accessors.length - 1;
break;
... | <mask> if (!dataBuffer) {
<mask> for (const attribute of attributeData) {
<mask> const attributeKind = attribute.kind;
<mask>
<mask> if (bufferMesh.isVerticesDataPresent(attributeKind)) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | serializers/src/glTF/2.0/babylon.glTFExporter.ts |
<mask> private _engine: Engine;
<mask> private _buffer: Nullable<WebGLBuffer>;
<mask> private _data: Nullable<FloatArray>;
<mask> private _updatable: boolean;
<mask> private _strideSize: number;
<mask> private _instanced: boolean;
<mask>
<mask> constructo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | src/Mesh/babylon.buffer.ts | |
public update(data: DataArray): void {
| <mask> this._buffer = null;
<mask> this.create(this._data);
<mask> }
<mask>
<mask> public update(data: FloatArray): void {
<mask> this.create(data);
<mask> }
<mask>
<mask> public updateDirectly(data: Float32Array, offset: number, vertexCount... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | src/Mesh/babylon.buffer.ts |
this._updateExtend();
| <mask> buffer.references = numOfMeshes;
<mask>
<mask> if (kind === VertexBuffer.PositionKind) {
<mask> if (!this._extend) {
<mask> this.updateExtend(this._vertexBuffers[kind].getData());
<mask> }
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | src/Mesh/babylon.geometry.ts |
if (!this._geometry || !this._geometry.getVertexBuffers() || (!this._unIndexed && !this._geometry.getIndexBuffer())) {
| <mask> return this;
<mask> }
<mask>
<mask> public _draw(subMesh: SubMesh, fillMode: number, instancesCount?: number): LinesMesh {
<mask> if (!this._geometry || !this._geometry.getVertexBuffers() || !this._geometry.getIndexBuffer()) {
<mask> return this;
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | src/Mesh/babylon.linesMesh.ts |
if (type == undefined) {
const data = this.getData();
this.type = VertexBuffer.FLOAT;
if (data instanceof Int8Array) this.type = VertexBuffer.BYTE;
else if (data instanceof Uint8Array) this.type = VertexBuffer.UNSIGNED_BYTE;
... | <mask> this._stride = stride;
<mask> this._instanced = instanced !== undefined ? instanced : false;
<mask> this._instanceDivisor = instanced ? 1 : 0;
<mask>
<mask> this._offset = offset ? offset : 0;
<mask> this._size = size ? size : stride;
<mask>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce3dccc0202b995e43a427167639d387b04482db | src/Mesh/babylon.vertexBuffer.ts |
public dimensions = new Vector3(5, 3, 0.04);
| <mask> export class HolographicSlate extends ContentDisplay3D {
<mask> /**
<mask> * Dimensions of the slate
<mask> */
<mask> public dimensions = new Vector3(5, 5, 0.04);
<mask>
<mask> /**
<mask> * Dimensions of the backplate
<mask> */
<mask> public backplateDimensions = ne... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts |
public backplateDimensions = new Vector3(5, 0.3, 0.04);
/**
* Margin between backplate and contentplate
*/
public backPlateMargin = 0.05;
| <mask>
<mask> /**
<mask> * Dimensions of the backplate
<mask> */
<mask> public backplateDimensions = new Vector3(5, 0.4, 0.04);
<mask>
<mask> /**
<mask> * Origin in local coordinates (top left corner)
<mask> */
<mask> public origin = new Vector3(0, 0, 0);
</s> resizing o... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts |
public _positionElements() {
| <mask> protected _getTypeName(): string {
<mask> return "HolographicSlate";
<mask> }
<mask>
<mask> private _positionElements() {
<mask> const followButtonMesh = this._followButton.mesh;
<mask> const closeButtonMesh = this._closeButton.mesh;
<mask> const backPlate = t... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts |
// World size of a button with 1 scaling
| <mask> const backPlate = this._backPlate;
<mask> const contentPlate = this._contentPlate;
<mask>
<mask> if (followButtonMesh && closeButtonMesh && backPlate) {
<mask> // Size of a button with 1 scaling
<mask> const buttonBaseSize = 1;
<mask>
<mask> /... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts |
closeButtonMesh.position
.copyFromFloats(this.backplateDimensions.x - backPlateYScale / 2, -this.backplateDimensions.y / 2, -this.backplateDimensions.z / 2)
.addInPlace(this.origin);
followButtonMesh.position
.copyFromFloats(this.backplateDimen... | <mask> const backPlateYScale = this.backplateDimensions.y / buttonBaseSize;
<mask>
<mask> closeButtonMesh.scaling.copyFromFloats(backPlateYScale, backPlateYScale, backPlateYScale);
<mask> followButtonMesh.scaling.copyFromFloats(backPlateYScale, backPlateYScale, backPlateYScale);... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts |
this._backPlate = BoxBuilder.CreateBox("backPlate" + this.name, { size: 1 }, scene);
this._contentPlate = BoxBuilder.CreateBox("backPlate" + this.name, { size: 1 }, scene);
| <mask>
<mask> // Mesh association
<mask> protected _createNode(scene: Scene): TransformNode {
<mask> const node = new Mesh("slate" + this.name);
<mask> const backPlateMargin = 0.05;
<mask>
<mask> this._backPlate = BoxBuilder.CreateBox(
<mask> "backPlate" + this.name... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts |
<mask> });
<mask>
<mask> this._backPlate.parent = node;
<mask> this._contentPlate.parent = node;
<mask> this._contentPlate.position.copyFromFloats(this.dimensions.x / 2, -(this.backplateDimensions.y + backPlateMargin + contentPlateHeight / 2), 0);
<mask>
<mask> this._add... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/controls/holographicSlate.ts | |
import { off } from "node:process";
| <mask> import { PivotTools } from "babylonjs/Misc/pivotTools";
<mask> import { Node } from "babylonjs/node";
<mask> import { UtilityLayerRenderer } from "babylonjs/Rendering/utilityLayerRenderer";
<mask> import { Nullable } from "babylonjs/types";
<mask> import { HolographicSlate } from "../controls";
<mask>
<m... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
<mask> * Relative bounding box pivot used when scaling the attached node. When null object with scale from the opposite corner. 0.5,0.5,0.5 for center and 0.5,0,0.5 for bottom (Default: null)
<mask> */
<mask> public scalePivot: Nullable<Vector3> = null;
<mask>
<mask> // Dragging
<mask> // p... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts | |
const moveFns = [
(originStart: Vector3, dimensionsStart: Vector3, offset: Vector3) => this._moveBLCorner(originStart, dimensionsStart, offset),
(originStart: Vector3, dimensionsStart: Vector3, offset: Vector3) => this._moveBRCorner(originStart, dimensionsStart, offset),
(... | <mask> this._cornersParent.rotationQuaternion = Quaternion.Identity();
<mask>
<mask> for (let i = 0; i < 4; i++) {
<mask> const node = this._createAngleMesh();
<mask> this._corners.push(node);
<mask> node.rotation.z = (Math.PI / 2) * i;
<mask> node... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
this._assignDragBehavior(node, moveFns[i]);
| <mask> this._corners.push(node);
<mask> node.rotation.z = (Math.PI / 2) * i;
<mask> node.scaling.copyFromFloats(0.1, 0.1, 0.1);
<mask> node.parent = this._cornersParent;
<mask> this._assignDragBehavior(node);
<mask> }
<mask>
<mask> thi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
// Move functions
private _moveTLCorner(originStart: Vector3, dimensionsStart: Vector3, offset: Vector3) {
if (!this._attachedSlate) {
return;
}
this._attachedSlate.origin.copyFrom(originStart).addInPlace(offset);
offset.y *= -1;
this._attachedSlate.d... | <mask> this._corners[3].position.copyFromFloats(-1, 1, 0);
<mask> this._cornersParent.parent = this._rootMesh;
<mask> }
<mask>
<mask> private _assignDragBehavior(node: Node) {
<mask> // Drag behavior
<mask> var _dragBehavior = new PointerDragBehavior({
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
let dimensionsStart = new Vector3();
let originStart = new Vector3();
| <mask> _dragBehavior.moveAttached = false;
<mask> _dragBehavior.updateDragPlane = false;
<mask> node.addBehavior(_dragBehavior);
<mask>
<mask> let dimensionsStart = new Vector2();
<mask> let dragOrigin = new Vector3();
<mask> _dragBehavior.onDragStartObservable.ad... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
dimensionsStart.copyFrom(this.attachedSlate.dimensions);
originStart.copyFrom(this.attachedSlate.origin);
| <mask> let dimensionsStart = new Vector2();
<mask> let dragOrigin = new Vector3();
<mask> _dragBehavior.onDragStartObservable.add((event) => {
<mask> if (this.attachedSlate) {
<mask> dimensionsStart.copyFromFloats(this.attachedSlate.relativeWidth, this.attachedSl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
this._tmpVector.copyFrom(event.dragPlanePoint);
this._tmpVector.subtractInPlace(dragOrigin);
this._tmpVector.z = 0; // make sure there is no numerical imprecision adding over time
// const newDimensions = dimensionsStart.add(offset);
... | <mask> });
<mask>
<mask> _dragBehavior.onDragObservable.add((event) => {
<mask> if (this.attachedSlate) {
<mask> // Todo : To local
<mask> const offset = event.dragPlanePoint.subtract(dragOrigin);
<mask> const offsetProjected = new Vect... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts |
<mask> }
<mask>
<mask> protected _attachedNodeChanged(value: Nullable<AbstractMesh>) {
<mask> if (value) {
<mask> // Reset anchor mesh to match attached mesh's scale
<mask> // This is needed to avoid invalid box/sphere position on first drag
<mask> // this._an... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts | |
<mask> // this._anchorMesh.removeChild(value);
<mask> // value.setParent(originalParent);
<mask> // PivotTools._RestorePivotPoint(value);
<mask> this.updateBoundingBox();
<mask> // value.getChildMeshes(false).forEach((m) => {
<mask> // m.... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ce6b5ee4b5949b5c9d2a3b2435c4fa31bac306e4 | gui/src/3D/gizmos/boundingBoxGizmo2D.ts | |
public skipOnKeyboardObservable: boolean;
| <mask> export class KeyboardInfoPre extends KeyboardInfo {
<mask> /**
<mask> * Defines whether the engine should skip the next onKeyboardObservable associated to this pre.
<mask> */
<mask> public skipOnPointerObservable: boolean;
<mask>
<mask> /**
<mask> * Instantiates a new keyboard... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ceea80e8c52f4fd4009ce480dc9d5ae1330fd348 | src/Events/keyboardEvents.ts |
this.skipOnKeyboardObservable = false;
| <mask> * Defines the related dom event
<mask> */
<mask> public event: IKeyboardEvent) {
<mask> super(type, event);
<mask> this.skipOnPointerObservable = false;
<mask> }
<mask> }
</s> Fix incorrectly named property on KeyboardInfoPre
Former-commit-id: e9cec91bcb2c6... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ceea80e8c52f4fd4009ce480dc9d5ae1330fd348 | src/Events/keyboardEvents.ts |
if (pi.skipOnKeyboardObservable) {
| <mask> let type = KeyboardEventTypes.KEYDOWN;
<mask> if (scene.onPreKeyboardObservable.hasObservers()) {
<mask> let pi = new KeyboardInfoPre(type, evt);
<mask> scene.onPreKeyboardObservable.notifyObservers(pi, type);
<mask> if (pi.skipOnPointe... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ceea80e8c52f4fd4009ce480dc9d5ae1330fd348 | src/Inputs/scene.inputManager.ts |
if (pi.skipOnKeyboardObservable) {
| <mask> let type = KeyboardEventTypes.KEYUP;
<mask> if (scene.onPreKeyboardObservable.hasObservers()) {
<mask> let pi = new KeyboardInfoPre(type, evt);
<mask> scene.onPreKeyboardObservable.notifyObservers(pi, type);
<mask> if (pi.skipOnPointerO... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/ceea80e8c52f4fd4009ce480dc9d5ae1330fd348 | src/Inputs/scene.inputManager.ts |
if (texture.getTextureMatrix().isIdentityAs3x2()) {
| <mask> */
<mask> public static PrepareDefinesForMergedUV(texture: BaseTexture, defines: any, key: string): void {
<mask> defines._needUVs = true;
<mask> defines[key] = true;
<mask> if (texture.getTextureMatrix().isIdentity(true)) {
<mask> define... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Materials/babylon.materialHelper.ts |
if (!matrix.isIdentityAs3x2()) {
| <mask> */
<mask> public static BindTextureMatrix(texture: BaseTexture, uniformBuffer: UniformBuffer, key: string): void {
<mask> var matrix = texture.getTextureMatrix();
<mask>
<mask> if (!matrix.isIdentity(true)) {
<mask> uniformBuffer.updateMatrix(key + ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Materials/babylon.materialHelper.ts |
defines["LIGHT_FALLOFF_GLTF" + lightIndex] = true;
break;
| <mask> defines["LIGHT_FALLOFF_STANDARD" + lightIndex] = false;
<mask>
<mask> switch (light.falloffType) {
<mask> case Light.FALLOFF_GLTF:
<mask> defines["LIGHT_FALLOFF_GLTF" + lightIndex] = true;
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Materials/babylon.materialHelper.ts |
defines["LIGHT_FALLOFF_PHYSICAL" + lightIndex] = true;
break;
| <mask> case Light.FALLOFF_GLTF:
<mask> defines["LIGHT_FALLOFF_GLTF" + lightIndex] = true;
<mask> break;
<mask> case Light.FALLOFF_PHYSICAL:
<mask> defines["LIGHT_FALLOFF_PHYSICAL" + lightIndex] =... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Materials/babylon.materialHelper.ts |
defines["LIGHT_FALLOFF_STANDARD" + lightIndex] = true;
break;
| <mask> case Light.FALLOFF_PHYSICAL:
<mask> defines["LIGHT_FALLOFF_PHYSICAL" + lightIndex] = true;
<mask> break;
<mask> case Light.FALLOFF_STANDARD:
<mask> defines["LIGHT_FALLOFF_STANDARD" + light... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Materials/babylon.materialHelper.ts |
private _isIdentity3x2 = true;
private _isIdentity3x2Dirty = true;
| <mask>
<mask> private _isIdentity = false;
<mask> private _isIdentityDirty = true;
<mask> /**
<mask> * Gets the update flag of the matrix which is an unique number for the matrix.
<mask> * It will be incremented every time the matrix data change.
<mask> * You c... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
this._isIdentity3x2Dirty = true;
| <mask> public _markAsUpdated() {
<mask> this.updateFlag = Matrix._updateFlagSeed++;
<mask> this._isIdentityDirty = true;
<mask> }
<mask>
<mask> /**
<mask> * Creates an empty matrix (filled with zeros)
<mask> */
</s> Improve matrix identity chec... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
* Check if the current matrix is identity
| <mask>
<mask> // Properties
<mask>
<mask> /**
<mask> * Check if the current matrix is indentity
<mask> * @param considerAsTextureMatrix defines if the current matrix must be considered as a texture matrix (3x2)
<mask> * @returns true is the matrix is the identity matr... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
public isIdentity(): boolean {
| <mask> * Check if the current matrix is indentity
<mask> * @param considerAsTextureMatrix defines if the current matrix must be considered as a texture matrix (3x2)
<mask> * @returns true is the matrix is the identity matrix
<mask> */
<mask> public isIdentity(considerAsT... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
if (this.m[0] !== 1.0 || this.m[5] !== 1.0 || this.m[10] !== 1.0 || this.m[15] !== 1.0) {
| <mask> */
<mask> public isIdentity(considerAsTextureMatrix = false): boolean {
<mask> if (this._isIdentityDirty) {
<mask> this._isIdentityDirty = false;
<mask> if (this.m[0] !== 1.0 || this.m[5] !== 1.0 || this.m[15] !== 1.0) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
}
| <mask> this._isIdentity = true;
<mask> }
<mask>
<mask> return this._isIdentity;
<mask> }
<mask>
</s> Improve matrix identity checks when dealing with 3x2
Former-commit-id: ffdc8da2c536d5bf2fc06ebf0a58854667159080 </s> remove return this._isI... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
return this._isIdentity;
}
/**
* Check if the current matrix is identity as a texture matrix (3x2 store in 4x4)
* @returns true is the matrix is the identity matrix
*/
public isIdentityAs3x2(): boolean {
if (this._isIdentity3x2Dirty) {
... | <mask> } else {
<mask> this._isIdentity = true;
<mask> }
<mask>
<mask> if (!considerAsTextureMatrix && this.m[10] !== 1.0) {
<mask> this._isIdentity = false;
<mask> }
<mask> }
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
return this._isIdentity3x2;
| <mask> this._isIdentity = false;
<mask> }
<mask> }
<mask>
<mask> return this._isIdentity;
<mask> }
<mask> /**
<mask> * Gets the determinant of the matrix
<mask> * @returns the matrix determinant
<mask> */
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d10dfae04a5babfb7a2397d638824f119ef843e7 | src/Math/babylon.math.ts |
"instrumentation", | <mask> "layer",
<mask> "textureTools",
<mask> "cameraBehaviors",
<mask> "materialsLibrary/babylon.gridMaterial.js",
<mask> "materialsLibrary/babylon.backgroundMaterial.js",
<mask> "loaders/babylon.glTFFileLoader.js"
<mask> ],
<mask>... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d13688a218c9ea9fecbf9bdbb303bb71380bc574 | Tools/Gulp/config.json |
updateFct:() => { return BABYLON.Tools.Format(this._sceneInstrumentation.activeMeshesEvaluationTime.current)}
| <mask> let elemLabel = this._createStatLabel("Meshes selection", this._panel);
<mask> let elemValue = Helpers.CreateDiv('stat-value', this._panel);
<mask> this._updatableProperties.push({
<mask> elem:elemValue,
<mask> updateF... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d13688a218c9ea9fecbf9bdbb303bb71380bc574 | inspector/src/tabs/StatsTab.ts |
<mask> public get gpuFrameTimeCounter(): PerfCounter {
<mask> return this._gpuFrameTime;
<mask> }
<mask>
<mask> /**
<mask> * Gets the current GPU frame time (in nanoseconds)
<mask> */
<mask> public get currentGPUFrameTime(): number {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d13688a218c9ea9fecbf9bdbb303bb71380bc574 | src/Instrumentation/babylon.engineInstrumentation.ts | |
<mask> public get shaderCompilationTimeCounter(): PerfCounter {
<mask> return this._shaderCompilationTime;
<mask> }
<mask>
<mask> /**
<mask> * Gets the current shader compilation time (in milliseconds)
<mask> */
<mask> public get currentShaderCompil... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/BabylonJS/Babylon.js/commit/d13688a218c9ea9fecbf9bdbb303bb71380bc574 | src/Instrumentation/babylon.engineInstrumentation.ts | |
<mask> public get activeMeshesEvaluationTime(): PerfCounter {
<mask> return this._activeMeshesEvaluationTime;
<mask> }
<mask>
<mask> /**
<mask> * Gets the current active meshes evaluation time (in milliseconds)
<mask> */
<mask> public get currentAct... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"ke... | https://github.com/BabylonJS/Babylon.js/commit/d13688a218c9ea9fecbf9bdbb303bb71380bc574 | src/Instrumentation/babylon.sceneInstrumentation.ts | |
* @param lineThickness The line thickness to use when creating the arrow. defaults to 1.
| <mask> * @param renderingGroupId defines a number used to set the renderingGroupId of the meshes (2 by default)
<mask> * @param xAxis defines the node hierarchy used to render the x-axis
<mask> * @param yAxis defines the node hierarchy used to render the y-axis
<mask> * @param zAxis defines the ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d1cc587070d3434ead5ecdc4b6b1d31adc490971 | src/Debug/axesViewer.ts |
constructor(scene?: Scene, scaleLines = 1, renderingGroupId: Nullable<number> = 2, xAxis?: TransformNode, yAxis?: TransformNode, zAxis?: TransformNode, lineThickness = 1) {
| <mask> * @param xAxis defines the node hierarchy used to render the x-axis
<mask> * @param yAxis defines the node hierarchy used to render the y-axis
<mask> * @param zAxis defines the node hierarchy used to render the z-axis
<mask> */
<mask> constructor(scene?: Scene, scaleLines = 1, render... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d1cc587070d3434ead5ecdc4b6b1d31adc490971 | src/Debug/axesViewer.ts |
xAxis = AxisDragGizmo._CreateArrow(scene, redColoredMaterial, lineThickness);
| <mask> if (!xAxis) {
<mask> var redColoredMaterial = new StandardMaterial("", scene);
<mask> redColoredMaterial.disableLighting = true;
<mask> redColoredMaterial.emissiveColor = Color3.Red().scale(0.5);
<mask> xAxis = AxisDragGizmo._CreateArrow(scene, redColo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d1cc587070d3434ead5ecdc4b6b1d31adc490971 | src/Debug/axesViewer.ts |
yAxis = AxisDragGizmo._CreateArrow(scene, greenColoredMaterial, lineThickness);
| <mask> if (!yAxis) {
<mask> var greenColoredMaterial = new StandardMaterial("", scene);
<mask> greenColoredMaterial.disableLighting = true;
<mask> greenColoredMaterial.emissiveColor = Color3.Green().scale(0.5);
<mask> yAxis = AxisDragGizmo._CreateArrow(scene,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d1cc587070d3434ead5ecdc4b6b1d31adc490971 | src/Debug/axesViewer.ts |
zAxis = AxisDragGizmo._CreateArrow(scene, blueColoredMaterial, lineThickness);
| <mask> if (!zAxis) {
<mask> var blueColoredMaterial = new StandardMaterial("", scene);
<mask> blueColoredMaterial.disableLighting = true;
<mask> blueColoredMaterial.emissiveColor = Color3.Blue().scale(0.5);
<mask> zAxis = AxisDragGizmo._CreateArrow(scene, blu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d1cc587070d3434ead5ecdc4b6b1d31adc490971 | src/Debug/axesViewer.ts |
import { MaterialHelper } from '../../../materialHelper';
import { NodeMaterial } from '../../nodeMaterial';
| <mask> import { Effect } from '../../../effect';
<mask> import { NodeMaterialConnectionPoint } from '../../nodeMaterialBlockConnectionPoint';
<mask> import { MaterialDefines } from '../../../materialDefines';
<mask> import { AbstractMesh } from '../../../../Meshes/abstractMesh';
<mask> import { MaterialHelper} fro... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
this.registerInput("worldPosition", NodeMaterialBlockConnectionPointTypes.Vector4, false, NodeMaterialBlockTargets.Vertex);
| <mask> public constructor(name: string) {
<mask> super(name, NodeMaterialBlockTargets.VertexAndFragment, true);
<mask>
<mask> // Vertex
<mask> this.registerInput("worldPos", NodeMaterialBlockConnectionPointTypes.Vector4, false, NodeMaterialBlockTargets.Vertex);
<mask> this.reg... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
/**
* Gets the world position input component
*/
public get worldPosition(): NodeMaterialConnectionPoint {
return this._inputs[0];
}
/**
* Gets the view input component
*/
public get view(): NodeMaterialConnectionPoint {
return this._inputs[1];
}
... | <mask> }
<mask>
<mask> /**
<mask> * Gets the color input component
<mask> */
<mask> public get color(): NodeMaterialConnectionPoint {
<mask> return this._inputs[2];
<mask> }
</s> Added inputs as properties
Former-commit-id: 6b95de1394f6b268413c30aeefa7ef7a5e89824b </s> remo... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
/**
* Gets the fog color input component
*/
public get fogColor(): NodeMaterialConnectionPoint {
return this._inputs[3];
}
/**
* Gets the for parameter input component
*/
public get fogParameters(): NodeMaterialConnectionPoint {
return this._inputs[4];... | <mask> }
<mask>
<mask> public prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: MaterialDefines) {
<mask> let scene = mesh.getScene();
<mask> defines["FOG"] = nodeMaterial.fogEnabled && MaterialHelper.GetFogState(mesh, scene);
<mask> }
<mask>
</s> Added inputs... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
defines["FOG"] = nodeMaterial.fogEnabled && MaterialHelper.GetFogState(mesh, scene);
| <mask> }
<mask>
<mask> public prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: MaterialDefines) {
<mask> let scene = mesh.getScene();
<mask> defines["FOG"] = nodeMaterial.fogEnabled && MaterialHelper.GetFogState(mesh, scene)
<mask> }
<mask>
<mask> public ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
let fogColor = this.fogColor;
let fogParameters = this.fogParameters;
| <mask> });
<mask>
<mask> let tempFogVariablename = state._getFreeVariableName("fog");
<mask> let color = this.color;
<mask> let fogColor = this._inputs[3];
<mask> let fogParameters = this._inputs[4];
<mask> let output = this._outputs[1];
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
let worldPos = this.worldPosition;
let view = this.view;
| <mask> state.compilationString += this._declareOutput(output, state) + ` = ${tempFogVariablename} * ${color.associatedVariableName}.rgb + (1.0 - ${tempFogVariablename}) * ${fogColor.associatedVariableName};\r\n`;
<mask> state.compilationString += `#else\r\n${this._declareOutput(output, state)}... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Dual/fogBlock.ts |
import { NodeMaterialConnectionPoint } from '../../nodeMaterialBlockConnectionPoint';
| <mask> import { NodeMaterialBlockConnectionPointTypes } from '../../nodeMaterialBlockConnectionPointTypes';
<mask> import { NodeMaterialBuildState } from '../../nodeMaterialBuildState';
<mask> import { NodeMaterialBlockTargets } from '../../nodeMaterialBlockTargets';
<mask>
<mask> /**
<mask> * Block used to add... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Fragment/alphaTestBlock.ts |
/**
* Gets the color input component
*/
public get color(): NodeMaterialConnectionPoint {
return this._inputs[0];
}
| <mask> }
<mask>
<mask> /** @hidden */
<mask> public get _canAddAtVertexRoot(): boolean {
<mask> return false;
<mask> }
<mask>
<mask> /** @hidden */
</s> Added inputs as properties
Former-commit-id: 6b95de1394f6b268413c30aeefa7ef7a5e89824b </s> remove public get input(): Node... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Fragment/alphaTestBlock.ts |
<mask>
<mask> protected _buildBlock(state: NodeMaterialBuildState) {
<mask> super._buildBlock(state);
<mask>
<mask> let input = this._inputs[0];
<mask>
<mask> state.sharedData.hints.needAlphaTesting = true;
<mask>
<mask> state.compilationString += `if (${input.associated... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Fragment/alphaTestBlock.ts | |
state.compilationString += `if (${this.color.associatedVariableName}.a < ${this.alphaCutOff}) discard;\r\n`;
| <mask> let input = this._inputs[0];
<mask>
<mask> state.sharedData.hints.needAlphaTesting = true;
<mask>
<mask> state.compilationString += `if (${input.associatedVariableName}.a < ${this.alphaCutOff}) discard;\r\n`;
<mask>
<mask> return this;
<mask> }
<mask> } </s> Added ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Fragment/alphaTestBlock.ts |
import { NodeMaterialConnectionPoint } from '../../nodeMaterialBlockConnectionPoint';
| <mask> import { NodeMaterialBlock } from '../../nodeMaterialBlock';
<mask> import { NodeMaterialBlockConnectionPointTypes } from '../../nodeMaterialBlockConnectionPointTypes';
<mask> import { NodeMaterialBuildState } from '../../nodeMaterialBuildState';
<mask> import { NodeMaterialBlockTargets } from '../../nodeMat... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Fragment/rgbaMergerBlock.ts |
* Gets the R input component
| <mask> return "RGBAMergerBlock";
<mask> }
<mask>
<mask> /**
<mask> * Gets the R component input
<mask> */
<mask> public get r(): NodeMaterialConnectionPoint {
<mask> return this._inputs[0];
<mask> }
<mask>
</s> Added inputs as properties
Former-commit-id: 6b95de1... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/d3321a82a3e3194c4d369449928e333a88e2985b | src/Materials/Node/Blocks/Fragment/rgbaMergerBlock.ts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.