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 |
|---|---|---|---|---|
sampleCount: this._mainPassSampleCount,
| <mask> const depthTextureDescriptor = {
<mask> size: this._mainTextureExtends,
<mask> arrayLayerCount: 1,
<mask> mipLevelCount: 1,
<mask> sampleCount: this._defaultSampleCount,
<mask> dimension: WebGPUConstants.GPUTextureDimension_2d,
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts |
usage: WebGPUConstants.GPUTextureUsage_OUTPUT_ATTACHMENT
| <mask> mipLevelCount: 1,
<mask> sampleCount: this._defaultSampleCount,
<mask> dimension: WebGPUConstants.GPUTextureDimension_2d,
<mask> format: WebGPUConstants.GPUTextureFormat_depth24plusStencil8,
<mask> usage: WebGPUConstants.GPUTextureUsage_OUTPUT_ATTA... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts |
usage: WebGPUConstants.GPUTextureUsage_COPY_DST | WebGPUConstants.GPUTextureUsage_SAMPLED
| <mask> arrayLayerCount: 1,
<mask> mipLevelCount: noMipmap ? 1 : mipMaps + 1,
<mask> sampleCount: 1,
<mask> size: textureExtent,
<mask> usage: WebGPUConstants.GPUTextureUsage_TRANSFER_DST | WebGPUConstants.GPUTextureUsage_SAMPLED
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts |
usage: WebGPUConstants.GPUTextureUsage_COPY_DST | WebGPUConstants.GPUTextureUsage_SAMPLED
| <mask> arrayLayerCount: 6,
<mask> mipLevelCount: noMipmap ? 1 : mipMaps + 1,
<mask> sampleCount: 1,
<mask> size: textureExtent,
<mask> usage: WebGPUConstants.GPUTextureUsage_TRANSFER_DST | WebGPUConstants.GPUTextureUsage_SAMPLED
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts |
<mask> super.beginFrame();
<mask>
<mask> this._uploadEncoder = this._device.createCommandEncoder(this._uploadEncoderDescriptor);
<mask> this._renderEncoder = this._device.createCommandEncoder(this._renderEncoderDescriptor);
<mask> this._blitEncoder = this._device.createCommandEncod... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts | |
<mask> this._frozenCommands[0] = this._commandBuffers[0];
<mask> this._frozenCommands[1] = this._commandBuffers[1];
<mask> }
<mask>
<mask> // TODO WEBGPU. GC.
<mask> this._blitEncoder.copyTextureToTexture(this._mainTextureCopyView, {
<mask> texture... | [
"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/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts | |
// Resolve in case of MSAA
if (this._options.antialiasing) {
this._mainColorAttachments[0].resolveTarget = this._swapChain.getCurrentTexture().createDefaultView();
}
else {
this._mainColorAttachments[0].attachment = this._swapChain.getCurrentTexture().createD... | <mask> if (this._currentRenderPass) {
<mask> this._endRenderPass();
<mask> }
<mask>
<mask> // this._mainColorAttachments[0].attachment = this._swapChain.getCurrentTexture().createDefaultView();
<mask>
<mask> this._currentRenderPass = this._renderEncoder.beginRenderPa... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts |
<mask> return gpuPipeline.renderPipeline;
<mask> }
<mask>
<mask> // Unsupported at the moment but needs to be extracted from the MSAA param.
<mask> const sampleCount = this._defaultSampleCount;
<mask> const topology = this._getTopology(fillMode);
<mask> const ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts | |
sampleCount: this._mainPassSampleCount,
| <mask> const inputStateDescriptor = this._getVertexInputDescriptor();
<mask> const pipelineLayout = this._getPipelineLayout();
<mask>
<mask> gpuPipeline.renderPipeline = this._device.createRenderPipeline({
<mask> sampleCount,
<mask> primitiveTopology: topology,
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/97c3396fc6741760888732472ccf7d8814de67f2 | src/Engines/webgpuEngine.ts |
function RenderTargetTexture(name, size, scene, generateMipMaps, doNotChangeAspectRatio, type) { | <mask> var BABYLON;
<mask> (function (BABYLON) {
<mask> var RenderTargetTexture = (function (_super) {
<mask> __extends(RenderTargetTexture, _super);
<mask> function RenderTargetTexture(name, size, scene, generateMipMaps, doNotChangeAspectRatio) {
<mask> if (typeof doNotChangeAspec... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/Materials/Textures/babylon.renderTargetTexture.js |
if (typeof type === "undefined") { type = BABYLON.Engine.TEXTURETYPE_UNSIGNED_BYTE; } | <mask> var RenderTargetTexture = (function (_super) {
<mask> __extends(RenderTargetTexture, _super);
<mask> function RenderTargetTexture(name, size, scene, generateMipMaps, doNotChangeAspectRatio, type) {
<mask> if (typeof doNotChangeAspectRatio === "undefined") { doNotChangeAspectRa... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/Materials/Textures/babylon.renderTargetTexture.js |
this._texture = scene.getEngine().createRenderTargetTexture(size, { generateMipMaps: generateMipMaps, type: type }); | <mask> this._size = size;
<mask> this._generateMipMaps = generateMipMaps;
<mask> this._doNotChangeAspectRatio = doNotChangeAspectRatio;
<mask>
<mask> this._texture = scene.getEngine().createRenderTargetTexture(size, generateMipMaps);
<mask>
<mask> // ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/Materials/Textures/babylon.renderTargetTexture.js |
constructor(name: string, size: any, scene: Scene, generateMipMaps?: boolean, doNotChangeAspectRatio: boolean = true, type: number = Engine.TEXTURETYPE_UNSIGNED_BYTE) { | <mask> private _doNotChangeAspectRatio: boolean;
<mask> private _currentRefreshId = -1;
<mask> private _refreshRate = 1;
<mask>
<mask> constructor(name: string, size: any, scene: Scene, generateMipMaps?: boolean, doNotChangeAspectRatio: boolean = true) {
<mask> super(n... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/Materials/Textures/babylon.renderTargetTexture.ts |
this._texture = scene.getEngine().createRenderTargetTexture(size, { generateMipMaps: generateMipMaps, type: type }); | <mask> this._size = size;
<mask> this._generateMipMaps = generateMipMaps;
<mask> this._doNotChangeAspectRatio = doNotChangeAspectRatio;
<mask>
<mask> this._texture = scene.getEngine().createRenderTargetTexture(size, generateMipMaps);
<mask>
<mask> // ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/Materials/Textures/babylon.renderTargetTexture.ts |
var getWebGLTextureType = function (gl, type) {
var textureType = gl.UNSIGNED_BYTE;
if (type === Engine.TEXTURETYPE_FLOAT)
textureType = gl.FLOAT;
return textureType;
};
| <mask> };
<mask>
<mask> var getSamplingParameters = function (samplingMode, generateMipMaps, gl) {
<mask> var magFilter = gl.NEAREST;
<mask> var minFilter = gl.NEAREST;
<mask> if (samplingMode === BABYLON.Texture.BILINEAR_SAMPLINGMODE) {
</s> Added render target type (unsigned or... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
var type = Engine.TEXTURETYPE_UNSIGNED_BYTE;
| <mask> // in the same way, generateDepthBuffer is defaulted to true
<mask> var generateMipMaps = false;
<mask> var generateDepthBuffer = true;
<mask> var samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE;
<mask> if (options !== undefined) {
<mask> ... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
type = options.type === undefined ? type : options.type;
| <mask> generateMipMaps = options.generateMipMaps === undefined ? options : options.generateMipmaps;
<mask> generateDepthBuffer = options.generateDepthBuffer === undefined ? true : options.generateDepthBuffer;
<mask> if (options.samplingMode !== undefined) {
<mask> ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
if (type === Engine.TEXTURETYPE_FLOAT) {
// if floating point (gl.FLOAT) then force to NEAREST_SAMPLINGMODE
samplingMode = BABYLON.Texture.NEAREST_SAMPLINGMODE;
}
| <mask> samplingMode = options.samplingMode;
<mask> }
<mask> }
<mask> var gl = this._gl;
<mask>
<mask> var texture = gl.createTexture();
</s> Added render target type (unsigned or floating point)
usage:
var rt = new BABYLON.RenderTargetTex... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
if (type === Engine.TEXTURETYPE_FLOAT && !this._caps.textureFloat) {
type = Engine.TEXTURETYPE_UNSIGNED_BYTE;
BABYLON.Tools.Warn("Floating point not supported. Render target forced to TEXTURETYPE_UNSIGNED_BYTE type");
}
| <mask> var height = size.height || size;
<mask>
<mask> var filters = getSamplingParameters(samplingMode, generateMipMaps, gl);
<mask>
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, filters.mag);
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, width, height, 0, gl.RGBA, getWebGLTextureType(gl, type), null);
| <mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, filters.mag);
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, filters.min);
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
<mask> gl.texParameteri(gl.TEXTURE_2D, ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
Engine._TEXTURETYPE_UNSIGNED_BYTE = 0;
Engine._TEXTURETYPE_FLOAT = 1;
| <mask> Engine._TEXTUREFORMAT_LUMINANCE_ALPHA = 2;
<mask> Engine._TEXTUREFORMAT_RGB = 4;
<mask> Engine._TEXTUREFORMAT_RGBA = 4;
<mask>
<mask> Engine.Epsilon = 0.001;
<mask> Engine.CollisionsEpsilon = 0.001;
<mask> Engine.ShadersRepository = "Babylon/Shaders/";
<ma... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.js |
var getWebGLTextureType = (gl: WebGLRenderingContext, type: number): number => {
var textureType = gl.UNSIGNED_BYTE;
if (type === Engine.TEXTURETYPE_FLOAT)
textureType = gl.FLOAT;
return textureType;
};
| <mask> };
<mask>
<mask> var getSamplingParameters = (samplingMode: number, generateMipMaps: boolean, gl: WebGLRenderingContext): { min: number; mag: number } => {
<mask> var magFilter = gl.NEAREST;
<mask> var minFilter = gl.NEAREST;
<mask> if (samplingMode === Texture.BILINEAR_SAM... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
private static _TEXTURETYPE_UNSIGNED_BYTE = 0;
private static _TEXTURETYPE_FLOAT = 1;
| <mask> private static _TEXTUREFORMAT_RGB = 4;
<mask> private static _TEXTUREFORMAT_RGBA = 4;
<mask>
<mask> public static get ALPHA_DISABLE(): number {
<mask> return Engine._ALPHA_DISABLE;
<mask> }
<mask>
<mask> public static get ALPHA_ADD(): number {
</s> A... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
public static get TEXTURETYPE_UNSIGNED_BYTE(): number {
return Engine._TEXTURETYPE_UNSIGNED_BYTE;
}
public static get TEXTURETYPE_FLOAT(): number {
return Engine._TEXTURETYPE_FLOAT;
}
| <mask> }
<mask>
<mask> public static get Version(): string {
<mask> return "2.0.0";
<mask> }
<mask>
</s> Added render target type (unsigned or floating point)
usage:
var rt = new BABYLON.RenderTargetTexture('rt', 1024, scene, false, true, BABYLON.Engine.TEXTURETYPE_FLOAT);... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
var type = Engine.TEXTURETYPE_UNSIGNED_BYTE; | <mask> var generateMipMaps = false;
<mask> var generateDepthBuffer = true;
<mask> var samplingMode = Texture.TRILINEAR_SAMPLINGMODE;
<mask> if (options !== undefined) {
<mask> generateMipMaps = options.generateMipMaps === undefined ? options : options... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
type = options.type === undefined ? type : options.type; | <mask> if (options !== undefined) {
<mask> generateMipMaps = options.generateMipMaps === undefined ? options : options.generateMipmaps;
<mask> generateDepthBuffer = options.generateDepthBuffer === undefined ? true : options.generateDepthBuffer;
<mask> if (... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
if (type === Engine.TEXTURETYPE_FLOAT) {
// if floating point (gl.FLOAT) then force to NEAREST_SAMPLINGMODE
samplingMode = Texture.NEAREST_SAMPLINGMODE;
} | <mask> if (options.samplingMode !== undefined) {
<mask> samplingMode = options.samplingMode;
<mask> }
<mask> }
<mask> var gl = this._gl;
<mask>
<mask> var texture = gl.createTexture();
<mask> gl.bindTexture(gl.T... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
if (type === Engine.TEXTURETYPE_FLOAT && !this._caps.textureFloat) {
type = Engine.TEXTURETYPE_UNSIGNED_BYTE;
Tools.Warn("Floating point not supported. Render target forced to TEXTURETYPE_UNSIGNED_BYTE type");
}
| <mask>
<mask> var filters = getSamplingParameters(samplingMode, generateMipMaps, gl);
<mask>
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, filters.mag);
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, filters.min);
<mask> gl.texParame... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, width, height, 0, gl.RGBA, getWebGLTextureType(gl, type), null); | <mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, filters.mag);
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, filters.min);
<mask> gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
<mask> gl.texParameteri(gl.TEXTURE_2D, ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/984087806680a01323e1d9702958a6fe3a77a881 | Babylon/babylon.engine.ts |
/** Indicates if the destination view canvas should be cleared before copying the parent canvas. Can help if the scene clear color has alpha < 1 */
clearBeforeCopy?: boolean;
| <mask> /** Defines the canvas where to render the view */
<mask> target: HTMLCanvasElement;
<mask> /** Defines an optional camera used to render the view (will use active camera else) */
<mask> camera?: Camera;
<mask> }
<mask>
<mask> declare module "../../Engines/engine" {
<mask> export int... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99098d3d18ffe879b253f752ca98a027a0f603c2 | src/Engines/Extensions/engine.views.ts |
* @param clearBeforeCopy Indicates if the destination view canvas should be cleared before copying the parent canvas. Can help if the scene clear color has alpha < 1
| <mask> * @param canvas defines the canvas to register
<mask> * @param camera defines an optional camera to use with this canvas (it will overwrite the scene.camera for this view)
<mask> * @returns the associated view
<mask> */
<mask> registerView(canvas: HTMLCanvasElemen... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99098d3d18ffe879b253f752ca98a027a0f603c2 | src/Engines/Extensions/engine.views.ts |
registerView(canvas: HTMLCanvasElement, camera?: Camera, clearBeforeCopy?: boolean): EngineView;
| <mask> * @param canvas defines the canvas to register
<mask> * @param camera defines an optional camera to use with this canvas (it will overwrite the scene.camera for this view)
<mask> * @returns the associated view
<mask> */
<mask> registerView(canvas: HTMLCanvasElemen... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99098d3d18ffe879b253f752ca98a027a0f603c2 | src/Engines/Extensions/engine.views.ts |
Engine.prototype.registerView = function(canvas: HTMLCanvasElement, camera?: Camera, clearBeforeCopy?: boolean): EngineView {
| <mask> Engine.prototype.getInputElement = function(): Nullable<HTMLElement> {
<mask> return this.inputElement || this.getRenderingCanvas();
<mask> };
<mask>
<mask> Engine.prototype.registerView = function(canvas: HTMLCanvasElement, camera?: Camera): EngineView {
<mask> if (!this.views) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99098d3d18ffe879b253f752ca98a027a0f603c2 | src/Engines/Extensions/engine.views.ts |
let newView = {target: canvas, camera, clearBeforeCopy};
| <mask> canvas.width = masterCanvas.width;
<mask> canvas.height = masterCanvas.height;
<mask> }
<mask>
<mask> let newView = {target: canvas, camera: camera};
<mask> this.views.push(newView);
<mask>
<mask> if (camera) {
<mask> camera.onDisposeObservable.add(() => {
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99098d3d18ffe879b253f752ca98a027a0f603c2 | src/Engines/Extensions/engine.views.ts |
if (view.clearBeforeCopy) {
context.clearRect(0, 0, parent.width, parent.height);
}
| <mask>
<mask> // Copy to target
<mask> context.drawImage(parent, 0, 0);
<mask>
<mask> // Restore
<mask> if (previewCamera && scene) {
<mask> scene.activeCamera = previewCamera;
<mask> }
</s> Fix issue when using multi-views and scene clear color is transpar... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99098d3d18ffe879b253f752ca98a027a0f603c2 | src/Engines/Extensions/engine.views.ts |
* Note: The result of this call is not taken into account when a texture is base64.
| <mask> *
<mask> * for description see https://www.khronos.org/opengles/sdk/tools/KTX/
<mask> * for file layout see https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/
<mask> *
<mask> * Note: The result of this call is not taken into account when a texture... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99ca8cf96c20cd8fc3a3508b76e75eb5ed628487 | src/babylon.engine.ts |
public createTexture(urlArg: string, noMipmap: boolean, invertY: boolean, scene: Scene, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE, onLoad: () => void = null, onError: () => void = null, buffer: any = null, fallBack?: WebGLTexture): WebGLTexture {
var texture = fallBack ? fallBack : this... | <mask> // and possibly fail the 2nd time
<mask> return this._textureFormatInUse = null;
<mask> }
<mask>
<mask> public createTexture(url: string, noMipmap: boolean, invertY: boolean, scene: Scene, samplingMode: number = Texture.TRILINEAR_SAMPLINGMODE, onLoad: () => void = nu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99ca8cf96c20cd8fc3a3508b76e75eb5ed628487 | src/babylon.engine.ts |
var url = String(urlArg);
| <mask> var extension: string;
<mask> var isKTX = false;
<mask> var fromData: any = false;
<mask> if (url.substr(0, 5) === "data:") {
<mask> fromData = true;
<mask> }
<mask>
</s> Compress textures cleanup
- batch scripts for directory ... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99ca8cf96c20cd8fc3a3508b76e75eb5ed628487 | src/babylon.engine.ts |
if (this._textureFormatInUse && !fromData && !fallBack) {
| <mask>
<mask> if (!fromData) {
<mask> var lastDot = url.lastIndexOf('.')
<mask> extension = url.substring(lastDot).toLowerCase();
<mask> if (this._textureFormatInUse && !fromData && !scene.database) {
<mask> extension = this._texture... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99ca8cf96c20cd8fc3a3508b76e75eb5ed628487 | src/babylon.engine.ts |
if (!fallBack) this._loadedTexturesCache.push(texture);
| <mask> texture.onLoadedCallbacks = [];
<mask> if (onLoad) {
<mask> texture.onLoadedCallbacks.push(onLoad);
<mask> }
<mask> this._loadedTexturesCache.push(texture);
<mask>
<mask> var onerror = () => {
<mask> scene._remov... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99ca8cf96c20cd8fc3a3508b76e75eb5ed628487 | src/babylon.engine.ts |
// fallback for when compressed file not found to try again. For instance, etc1 does not have an alpha capable type
if (isKTX) {
this.createTexture(urlArg, noMipmap, invertY, scene, samplingMode, onLoad, onError, buffer, texture);
} else if (onErro... | <mask>
<mask> var onerror = () => {
<mask> scene._removePendingData(texture);
<mask>
<mask> if (onError) {
<mask> onError();
<mask> }
<mask> };
<mask> var callback: (arrayBuffer: any) => void;
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99ca8cf96c20cd8fc3a3508b76e75eb5ed628487 | src/babylon.engine.ts |
this._alphaState.setAlphaEquationParameters(0x8006 /*this._gl.FUNC_ADD*/, 0x8006 /*this._gl.FUNC_ADD*/);
| <mask> }
<mask>
<mask> switch (equation) {
<mask> case Constants.ALPHA_EQUATION_ADD:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.FUNC_ADD, this._gl.FUNC_ADD);
<mask> break;
<mask> case Constants.ALPHA_EQUATION_SUBSTRACT:
<mask> this._a... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/Extensions/engine.alpha.ts |
this._alphaState.setAlphaEquationParameters(0x800A /*this._gl.FUNC_SUBTRACT*/, 0x800A /*this._gl.FUNC_SUBTRACT*/);
| <mask> case Constants.ALPHA_EQUATION_ADD:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.FUNC_ADD, this._gl.FUNC_ADD);
<mask> break;
<mask> case Constants.ALPHA_EQUATION_SUBSTRACT:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.FUNC_SUBT... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/Extensions/engine.alpha.ts |
this._alphaState.setAlphaEquationParameters(0x800B /*this._gl.FUNC_REVERSE_SUBTRACT*/, 0x800B /*this._gl.FUNC_REVERSE_SUBTRACT*/);
| <mask> case Constants.ALPHA_EQUATION_SUBSTRACT:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.FUNC_SUBTRACT, this._gl.FUNC_SUBTRACT);
<mask> break;
<mask> case Constants.ALPHA_EQUATION_REVERSE_SUBTRACT:
<mask> this._alphaState.setAlphaEquationParame... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/Extensions/engine.alpha.ts |
this._alphaState.setAlphaEquationParameters(0x8008 /*this._gl.MAX*/, 0x8008 /*this._gl.MAX*/);
| <mask> case Constants.ALPHA_EQUATION_REVERSE_SUBTRACT:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.FUNC_REVERSE_SUBTRACT, this._gl.FUNC_REVERSE_SUBTRACT);
<mask> break;
<mask> case Constants.ALPHA_EQUATION_MAX:
<mask> this._alphaState.setAlphaEqua... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/Extensions/engine.alpha.ts |
this._alphaState.setAlphaEquationParameters(0x8007 /*this._gl.MIN*/, 0x8007 /*this._gl.MIN*/);
| <mask> case Constants.ALPHA_EQUATION_MAX:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.MAX, this._gl.MAX);
<mask> break;
<mask> case Constants.ALPHA_EQUATION_MIN:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.MIN, this._gl.MIN);
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/Extensions/engine.alpha.ts |
this._alphaState.setAlphaEquationParameters(0x8007 /*this._gl.MIN*/, 0x8006 /*this._gl.FUNC_ADD*/);
| <mask> case Constants.ALPHA_EQUATION_MIN:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.MIN, this._gl.MIN);
<mask> break;
<mask> case Constants.ALPHA_EQUATION_DARKEN:
<mask> this._alphaState.setAlphaEquationParameters(this._gl.MIN, this._gl.FUNC_ADD... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/Extensions/engine.alpha.ts |
case Constants.ALPHA_LAYER_ACCUMULATE:
// Same as ALPHA_COMBINE but accumulates (1 - alpha) values in the alpha channel for a later readout in order independant transparency
//this._alphaState.setAlphaBlendFunctionParameters(this._gl.SRC_ALPHA, this._gl.ONE_MINUS_SRC_ALPHA, this._gl.ON... | <mask> this._alphaState.setAlphaBlendFunctionParameters(0x0307, 0x0301, 0, 1);
<mask> this._alphaState.alphaBlend = true;
<mask> break;
<mask> }
<mask> if (!noDepthWriteChange) {
<mask> this.setDepthWrite(mode === Engine.ALPHA_DISABLE);
<mask> this._cac... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/WebGPU/Extensions/engine.alpha.ts |
Engine.prototype.setAlphaEquation.call(this, equation);
| <mask> this._cacheRenderPipeline.setAlphaBlendFactors(this._alphaState._blendFunctionParameters, this._alphaState._blendEquationParameters);
<mask> };
<mask>
<mask> WebGPUEngine.prototype.setAlphaEquation = function (equation: number): void {
<mask> Engine.prototype.setAlphaEquation(equation);
<mask>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/99f58be681e256b1d4e99a599ae40efe0f496c4d | src/Engines/WebGPU/Extensions/engine.alpha.ts |
/** @hidden */
export class WebGPUBindGroupCacheNode {
public values: { [id: number]: WebGPUBindGroupCacheNode };
public bindGroups: GPUBindGroup[];
constructor() {
this.values = {};
}
}
| <mask> fragmentStage?: GPUProgrammableStageDescriptor;
<mask> }
<mask>
<mask> /** @hidden */
<mask> export class WebGPUPipelineContext implements IPipelineContext {
<mask> public engine: WebGPUEngine;
<mask>
<mask> public shaderProcessingContext: WebGPUShaderProcessingContext;
</s> Optimize bind ... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/WebGPU/webgpuPipelineContext.ts |
public bindGroupsCache: WebGPUBindGroupCacheNode;
| <mask> public samplers: { [name: string]: Nullable<IWebGPUPipelineContextSamplerCache> } = { };
<mask> public textures: { [name: string]: Nullable<IWebGPUPipelineContextTextureCache> } = { };
<mask>
<mask> public bindGroupLayouts: GPUBindGroupLayout[];
<mask> public bindGroupsCache: { [key: string... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/WebGPU/webgpuPipelineContext.ts |
this.bindGroupsCache = new WebGPUBindGroupCacheNode();
| <mask> this._name = "unnamed";
<mask> this.shaderProcessingContext = shaderProcessingContext;
<mask> this.leftOverUniformsByName = {};
<mask> this.engine = engine;
<mask> this.bindGroupsCache = {};
<mask> }
<mask>
<mask> public _handlesSpectorRebuildCallback(onCo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/WebGPU/webgpuPipelineContext.ts |
import { WebGPUPipelineContext, IWebGPURenderPipelineStageDescriptor, WebGPUBindGroupCacheNode } from './WebGPU/webgpuPipelineContext';
| <mask> import { _TimeToken } from "../Instrumentation/timeToken";
<mask> import { Constants } from "./constants";
<mask> import * as WebGPUConstants from './WebGPU/webgpuConstants';
<mask> import { VertexBuffer } from "../Meshes/buffer";
<mask> import { WebGPUPipelineContext, IWebGPURenderPipelineStageDescriptor }... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
webgpuPipelineContext.bindGroupsCache.values = {}; // the bind groups need to be rebuilt (at least the bind group owning this texture, but it's easier to just have them all rebuilt)
| <mask> const webgpuPipelineContext = this._currentEffect._pipelineContext as WebGPUPipelineContext;
<mask>
<mask> if (webgpuPipelineContext.textures[name]) {
<mask> if (webgpuPipelineContext.textures[name]!.texture !== internalTexture) {
<mask> webgpuPip... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
webgpuPipelineContext.bindGroupsCache.values = {}; // the bind groups need to be rebuilt (at least the bind group owning this texture, but it's easier to just have them all rebuilt)
| <mask> if (this._currentEffect) {
<mask> const webgpuPipelineContext = this._currentEffect._pipelineContext as WebGPUPipelineContext;
<mask> if (!texture) {
<mask> if (webgpuPipelineContext.textures[name] && webgpuPipelineContext.textures[name]!.texture) {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
let node: WebGPUBindGroupCacheNode = webgpuPipelineContext.bindGroupsCache;
| <mask> webgpuPipelineContext.uniformBuffer.update();
<mask> }
<mask>
<mask> // TODO WEBGPU try to optimize this loop / lookup in bindGroupsCache
<mask> let bufferKey = "";
<mask> for (let i = 0; i < webgpuPipelineContext.shaderProcessingContext.uniformBufferNames.lengt... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
const uboIndex = this._uniformsBuffers[bufferName].uniqueId;
let nextNode = node.values[uboIndex];
if (!nextNode) {
nextNode = new WebGPUBindGroupCacheNode();
node.values[uboIndex] = nextNode;
| <mask> // TODO WEBGPU try to optimize this loop / lookup in bindGroupsCache
<mask> let bufferKey = "";
<mask> for (let i = 0; i < webgpuPipelineContext.shaderProcessingContext.uniformBufferNames.length; ++i) {
<mask> const bufferName = webgpuPipelineContext.shaderProcessingContex... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
node = nextNode;
| <mask> if (!nextNode) {
<mask> nextNode = new WebGPUBindGroupCacheNode();
<mask> node.values[uboIndex] = nextNode;
<mask> }
<mask> }
<mask>
<mask> let bindGroups: GPUBindGroup[] = node.bindGroups;
<mask> if (bindGroups) {
<mask> ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
let bindGroups: GPUBindGroup[] = node.bindGroups;
| <mask> bufferKey += dataBuffer.uniqueId + "_";
<mask> }
<mask> }
<mask>
<mask> let bindGroups: GPUBindGroup[] = webgpuPipelineContext.bindGroupsCache[bufferKey];
<mask> if (bindGroups) {
<mask> return bindGroups;
<mask> }
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
node.bindGroups = bindGroups;
| <mask> }
<mask>
<mask> bindGroups = [];
<mask>
<mask> webgpuPipelineContext.bindGroupsCache[bufferKey] = bindGroups;
<mask> this._counters.numBindGroupsCreation++;
<mask>
<mask> const bindGroupLayouts = webgpuPipelineContext.bindGroupLayouts;
<mask>
<mask> f... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9aa261bb770363e3120e592ae5beb1ecabd8588c | src/Engines/webgpuEngine.ts |
import { InputBlock, NodeMaterialWellKnownValues } from 'babylonjs';
| <mask> import { DivideBlock } from 'babylonjs/Materials/Node/Blocks/divideBlock';
<mask> import { SubtractBlock } from 'babylonjs/Materials/Node/Blocks/subtractBlock';
<mask> import { StepBlock } from 'babylonjs/Materials/Node/Blocks/stepBlock';
<mask>
<mask> export class BlockTools {
<mask> public static Ge... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/blockTools.ts |
}
case "WorldMatrixBlock": {
let worldMatrixBlock = new InputBlock("World");
worldMatrixBlock.setAsWellKnownValue(NodeMaterialWellKnownValues.World);
return worldMatrixBlock;
}
case "WorldViewMatrix... | <mask> case "FloorBlock": {
<mask> let floorBlock = new TrigonometryBlock("Floor");
<mask> floorBlock.operation = TrigonometryBlockOperations.Floor;
<mask> return floorBlock;
<mask> }
<mask> }
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/blockTools.ts |
Basic_Math: ["AddBlock", "DivideBlock", "MultiplyBlock", "ScaleBlock", "SubtractBlock"],
Conversion_Blocks: ["ColorMergerBlock", "ColorSplitterBlock", "VectorMergerBlock", "VectorSplitterBlock"],
Inputs: ["Float", "Vector2", "Vector3", "Vector4", "Color3", "Color4", "TextureBlock"... | <mask> render() {
<mask> // Block types used to create the menu from
<mask> const allBlocks = {
<mask> Animation: ["BonesBlock", "MorphTargetsBlock"],
<mask> Output_Blocks: ["VertexOutputBlock", "FragmentOutputBlock", "AlphaTestBlock"],
<mask> Interpolation:... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/nodeList/nodeListComponent.tsx |
Matrices: ["Matrix", "WorldMatrixBlock", "WorldViewMatrixBlock", "WorldViewProjectionMatrixBlock", "ViewMatrixBlock", "ViewProjectionMatrixBlock", "ProjectionMatrixBlock"],
Mesh_Attributes: ["InstancesBlock", "PositionBlock", "UVBlock", "ColorBlock", "NormalBlock", "TangentBlock", "MatrixIndice... | <mask> Basic_Math: ["AddBlock", "DivideBlock", "MultiplyBlock", "ScaleBlock", "SubtractBlock"],
<mask> Conversion_Blocks: ["ColorMergerBlock", "ColorSplitterBlock", "VectorMergerBlock", "VectorSplitterBlock"],
<mask> Inputs: ["Float", "Vector2", "Vector3", "Vector4", "Color3", "C... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/nodeList/nodeListComponent.tsx |
Scene_Attributes: ["FogBlock", "CameraPositionBlock", "FogColorBlock", "ImageProcessingBlock", "LightBlock", "ReflectionTextureBlock"],
| <mask> Output_Blocks: ["VertexOutputBlock", "FragmentOutputBlock", "AlphaTestBlock"],
<mask> Interpolation: ["LerpBlock"],
<mask> Range: ["ClampBlock", "RemapBlock", "NormalizeBlock"],
<mask> Round: ["StepBlock", "RoundBlock", "CeilingBlock", "FloorBlock"],
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/nodeList/nodeListComponent.tsx |
Vector_Math: ["CrossBlock", "DotBlock", "TransformBlock", "FresnelBlock"],
| <mask> Round: ["StepBlock", "RoundBlock", "CeilingBlock", "FloorBlock"],
<mask> Vector_Math: ["CrossBlock", "DotBlock", "TransformBlock", "FresnelBlock"],
<mask> Basic_Math: ["AddBlock", "DivideBlock", "MultiplyBlock", "ScaleBlock", "SubtractBlock"],
<mask> Trigonome... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/nodeList/nodeListComponent.tsx |
this._dummy = Mesh.CreateBox("dummy-box", 2, this._scene);
| <mask> }
<mask>
<mask> switch (this._globalState.previewMeshType) {
<mask> case PreviewMeshType.Box:
<mask> this._dummy = Mesh.CreateBox("dummy", 2, this._scene);
<mask> break;
<mask> case PreviewMeshType.Sphere:
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/preview/previewManager.ts |
this._dummy = Mesh.CreateSphere("dummy-sphere", 32, 2, this._scene);
| <mask> case PreviewMeshType.Box:
<mask> this._dummy = Mesh.CreateBox("dummy", 2, this._scene);
<mask> break;
<mask> case PreviewMeshType.Sphere:
<mask> this._dummy = Mesh.CreateSphere("dummy", 32, 2, this._scene);
<mask> break... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/preview/previewManager.ts |
this._dummy = Mesh.CreateTorus("dummy-torus", 2, 0.5, 32, this._scene);
| <mask> case PreviewMeshType.Sphere:
<mask> this._dummy = Mesh.CreateSphere("dummy", 32, 2, this._scene);
<mask> break;
<mask> case PreviewMeshType.Torus:
<mask> this._dummy = Mesh.CreateTorus("dummy", 2, 0.5, 32, this._scene);
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/preview/previewManager.ts |
this._dummy = Mesh.CreateCylinder("dummy-cylinder", 2, 1, 1.2, 32, 1, this._scene);
| <mask> case PreviewMeshType.Torus:
<mask> this._dummy = Mesh.CreateTorus("dummy", 2, 0.5, 32, this._scene);
<mask> break;
<mask> case PreviewMeshType.Cylinder:
<mask> this._dummy = Mesh.CreateCylinder("dummy", 2, 1, 1.2, 32, 1, this._scene... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/preview/previewManager.ts |
StringTools.DownloadAsFile(this.props.globalState.hostDocument, json, "nodeMaterial.json");
| <mask> }
<mask>
<mask> // Output
<mask> let json = JSON.stringify(serializationObject, undefined, 2);
<mask> StringTools.DownloadAsFile(json, "nodeMaterial.json");
<mask> }
<mask>
<mask> render() {
<mask> if (this.state.currentNode) {
<mask> return... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/propertyTab/propertyTabComponent.tsx |
StringTools.DownloadAsFile(this.props.globalState.hostDocument, this.props.globalState.nodeMaterial!.generateCode(), "code.txt");
| <mask> <ButtonLineComponent label="Save" onClick={() => {
<mask> this.save();
<mask> }} />
<mask> <ButtonLineComponent label="Generate code" onClick={() => {
<mask> StringTools.DownloadAs... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/propertyTab/propertyTabComponent.tsx |
StringTools.DownloadAsFile(this.props.globalState.hostDocument, this.props.globalState.nodeMaterial!.compiledShaders, "shaders.txt");
| <mask> <ButtonLineComponent label="Generate code" onClick={() => {
<mask> StringTools.DownloadAsFile(this.props.globalState.nodeMaterial!.generateCode(), "code.txt");
<mask> }} />
<mask> <ButtonLineComponent label="E... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/components/propertyTab/propertyTabComponent.tsx |
public static DownloadAsFile(document: HTMLDocument, content: string, filename: string) {
| <mask> /**
<mask> * Download a string into a file that will be saved locally by the browser
<mask> * @param content defines the string to download locally as a file
<mask> */
<mask> public static DownloadAsFile(content: string, filename: string) {
<mask> let blob = new Blob([content... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | nodeEditor/src/stringTools.ts |
"react": "~16.9.0", | <mask> "node-sass": "^4.10.0",
<mask> "plugin-error": "^1.0.1",
<mask> "prompt": "^1.0.0",
<mask> "re-resizable": "~4.9.1",
<mask> "react": "~16.6.3",
<mask> "react-contextmenu": "~2.10.0",
<mask> "react-dom": "~16.6.3",
<mask> "sass-loader": "^7.1... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | package.json |
"react-dom": "~16.9.0", | <mask> "prompt": "^1.0.0",
<mask> "re-resizable": "~4.9.1",
<mask> "react": "~16.6.3",
<mask> "react-contextmenu": "~2.10.0",
<mask> "react-dom": "~16.6.3",
<mask> "sass-loader": "^7.1.0",
<mask> "shelljs": "^0.8.3",
<mask> "sinon": "^6.1.4",
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | package.json |
const localBlockIsFragment = (state._vertexState != null);
const otherBlockWasGeneratedInVertexShader = block._buildTarget === NodeMaterialBlockTargets.Vertex && block.target !== NodeMaterialBlockTargets.VertexAndFragment;
if (localBlockIsFragment && (
((block.target & this.targ... | <mask>
<mask> private _processBuild(block: NodeMaterialBlock, state: NodeMaterialBuildState, input: NodeMaterialConnectionPoint, activeBlocks: NodeMaterialBlock[]) {
<mask> block.build(state, activeBlocks);
<mask>
<mask> if (state._vertexState && (block.target & this.target) === 0) { // conte... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9af462c4ae758516b7d3e38b2f66f5a10c33cb25 | src/Materials/Node/nodeMaterialBlock.ts |
// Replace Static Readonly declaration for UMD TS Version compat
| <mask> // Side Effect Import
<mask> line = line.replace(/import "/g, `import "${moduleName}/`);
<mask> }
<mask>
<mask> // Replace Static Readonly declaration for Legacy TS Version compat
<mask> var regexVar = /(.*)readonly (.*) = (.*);/g;
<mask> match = re... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/helpers/gulp-processAmdDeclarationToModule.js |
// Replace Static Readonly declaration for UMD TS Version compat
| <mask> // Let's go line by line and replace the imports sources by their resolved locations
<mask> for (let index = 0; index < lines.length; index++) {
<mask> let line = lines[index];
<mask>
<mask> // Replace Static Readonly declaration for Legacy TS Version compat
<mask> var rege... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/helpers/gulp-remapPaths.js |
boolean: ["noNamespace"],
string: ["moduleName"]
| <mask> var del = require("del");
<mask>
<mask> // Parse Command Line.
<mask> var commandLineOptions = minimist(process.argv.slice(2), {
<mask> boolean: ["noNamespace"]
<mask> });
<mask>
<mask> // Import Build Config
<mask> var config = require("../../Config/config.js");
<mask>
</s> Module name webpack... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/tasks/gulpTasks-libraries.js |
moduleName: commandLineOptions.moduleName || settings.build.umd.packageName,
| <mask>
<mask> // Convert the tsc AMD BUNDLED declaration to our expected one
<mask> processAmdDeclarationToModule(config.computed.tempTypingsFilePath, {
<mask> output: fileLocation,
<mask> moduleName: settings.build.umd.packageName,
<mask> entryPoint: library.e... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/tasks/gulpTasks-libraries.js |
var buildWebpack = function(settings, module, cb) {
| <mask>
<mask> /**
<mask> * Webpack Build.
<mask> */
<mask> var buildWebpack = function(module, cb) {
<mask> const gulpPath = path.join(config.computed.sourceES6Folder, "Tools/Gulp");
<mask> // Launch TSC.
<mask> const options = {
<mask> cwd: gulpPath,
<mask> verbose: true
</s> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/tasks/gulpTasks-librariesES6.js |
let command = `gulp ${module} --noNamespace --moduleName ${settings.build.es6.packageName}`;
| <mask> cwd: gulpPath,
<mask> verbose: true
<mask> };
<mask>
<mask> let command = `gulp ${module} --noNamespace`;
<mask> shelljs.exec(command, options, function(code, stdout, stderr) {
<mask> if (stderr) {
<mask> console.log(stderr);
<mask> }
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/tasks/gulpTasks-librariesES6.js |
function buildes6(cb) { return buildWebpack(settings, module, cb) },
| <mask> // Build with ts or webpack
<mask> var buildSteps = null;
<mask> if (settings.build.es6.webpackBuild) {
<mask> buildSteps = [
<mask> function buildes6(cb) { return buildWebpack(module, cb) },
<mask> function copyDist() { return copyWebpackDist(settings, module) }... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9b7c5239116225f1382910f7e0871d8689aa3d17 | Tools/Gulp/tasks/gulpTasks-librariesES6.js |
public clear() {
this.center.copyFromFloats(0, 0);
this.radius = 0;
this.extent.copyFromFloats(0, 0);
}
public copyFrom(src: BoundingInfo2D) {
this.center.copyFrom(src.center);
this.radius = src.radius;
this.extent... | <mask> }
<mask>
<mask> /**
<mask> * return the max extend of the bounding info
<mask> */
<mask> public max(): Vector2 {
</s> Canvas2D: PerfMetric and bug fixes + misc
Canvas2D class
- adding many PerfCounters to the Canvas2D class
- adding Canvas2D.createCanvasProfileI... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.bounding2d.ts |
this._drawCallsOpaqueCounter = new PerfCounter();
this._drawCallsAlphaTestCounter = new PerfCounter();
this._drawCallsTransparentCounter = new PerfCounter();
this._groupRenderCounter = new PerfCounter();
this._updateTransparentDataCount... | <mask> backgroundBorderThickNess?: number,
<mask> }) {
<mask> super(settings);
<mask>
<mask> Prim2DBase._isCanvasInit = false;
<mask>
<mask> if (!settings) {
<mask> settings = {};
</s> Canvas2D: PerfMetric and bug fixes + misc
Canvas2D ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.canvas2d.ts |
private _drawCallsOpaqueCounter : PerfCounter;
private _drawCallsAlphaTestCounter : PerfCounter;
private _drawCallsTransparentCounter : PerfCounter;
private _groupRenderCounter : PerfCounter;
private _updateTransparentDataCounter: PerfCounter;
private... | <mask> protected _maxAdaptiveWorldSpaceCanvasSize: number;
<mask>
<mask> public _renderingSize: Size;
<mask>
<mask> protected onPrimBecomesDirty() {
<mask> this._addPrimToDirtyList(this);
<mask> }
<mask>
<mask> private static _v = Vector3.Zero(); // Must s... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.canvas2d.ts |
this._initPerfMetrics();
| <mask> * Method that renders the Canvas, you should not invoke
<mask> */
<mask> private _render() {
<mask>
<mask> this._updateTrackedNodes();
<mask>
<mask> this._updateCanvasState(false);
<mask> if (!this._isScreenSpace) {
<mask> t... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.canvas2d.ts |
this._fetchPerfMetrics();
this._updateProfileCanvas();
| <mask> if (this._cachingStrategy === Canvas2D.CACHESTRATEGY_CANVAS && this._cachedCanvasGroup) {
<mask> this._cachedCanvasGroup._renderCachedCanvas();
<mask> }
<mask> }
<mask>
<mask> /**
<mask> * Internal method that allocate a cache for the given... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.canvas2d.ts |
let canvas = instanceInfo.owner.owner;
var engine = canvas.engine;
| <mask> }
<mask> this.effectsReady = true;
<mask> }
<mask>
<mask> var engine = instanceInfo.owner.owner.engine;
<mask>
<mask> let depthFunction = 0;
<mask> if (this.effectFill && this.effectBorder) {
<mask> depthFu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.ellipse2d.ts |
canvas._addDrawCallCount(1, context.renderMode);
| <mask> if (!this.instancingFillAttributes) {
<mask> this.instancingFillAttributes = this.loadInstancingAttributes(Shape2D.SHAPE2D_FILLPARTID, effect);
<mask> }
<mask>
<mask> engine.updateAndBindInstancesBuffer(pid._partBuffer, nul... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.ellipse2d.ts |
canvas._addDrawCallCount(context.partDataEndIndex - context.partDataStartIndex, context.renderMode);
| <mask> engine.updateAndBindInstancesBuffer(pid._partBuffer, null, this.instancingFillAttributes);
<mask> engine.draw(true, 0, this.fillIndicesCount, pid._partData.usedElementCount);
<mask> engine.unbindInstanceAttributes();
<mask> } else {
... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.ellipse2d.ts |
canvas._addDrawCallCount(1, context.renderMode);
| <mask> if (!this.instancingBorderAttributes) {
<mask> this.instancingBorderAttributes = this.loadInstancingAttributes(Shape2D.SHAPE2D_BORDERPARTID, effect);
<mask> }
<mask>
<mask> engine.updateAndBindInstancesBuffer(pid._partBuffe... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.ellipse2d.ts |
canvas._addDrawCallCount(context.partDataEndIndex - context.partDataStartIndex, context.renderMode);
| <mask> engine.unbindInstanceAttributes();
<mask> } else {
<mask> for (let i = context.partDataStartIndex; i < context.partDataEndIndex; i++) {
<mask> this.setupUniforms(effect, partIndex, pid._partData, i);
<mask> ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.ellipse2d.ts |
this.owner._addGroupRenderCount(1);
| <mask> this._renderableData._primDirtyList.push(prim);
<mask> }
<mask>
<mask> public _renderCachedCanvas() {
<mask> this.updateCachedStates(true);
<mask> let context = new PrepareRender2DContext();
<mask> this._prepareGroupRender(context);
<mask> ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.group2d.ts |
this.owner._addGroupRenderCount(1);
| <mask> // Render the primitives if needed: either if we don't cache the content or if the content is cached but has changed
<mask> if (!this.isCachedGroup || this._cacheGroupDirty) {
<mask> if (this.isCachedGroup) {
<mask> this._bindCacheTarget();
<mask> ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.group2d.ts |
this.owner._addUpdateTransparentDataCount(1);
| <mask>
<mask> private _updateTransparentData() {
<mask> let rd = this._renderableData;
<mask>
<mask> // If null, there was no change of ZOrder, we have nothing to do
<mask> if (rd._firstChangedPrim === null) {
</s> Canvas2D: PerfMetric and bug fixes + misc
Canvas2D ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.group2d.ts |
let autoContentChanged = false;
if (this.isSizeAuto) {
autoContentChanged = (!this._lastAutoSizeArea.equals(this.size));
}
| <mask>
<mask> let positioningComputed = positioningDirty && !this._isFlagSet(SmartPropertyPrim.flagPositioningDirty);
<mask>
<mask> // Check for positioning update
<mask> if (!positioningComputed && (autoContentChanged || sizeDirty || this._isFlagSet(SmartPropertyPrim.flagPosi... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.prim2dBase.ts |
if (!positioningComputed && (autoContentChanged || sizeDirty || this._isFlagSet(SmartPropertyPrim.flagPositioningDirty) || (this._parent && !this._parent.contentArea.equals(this._parentContentArea)))) {
| <mask>
<mask> let positioningComputed = positioningDirty && !this._isFlagSet(SmartPropertyPrim.flagPositioningDirty);
<mask>
<mask> // Check for positioning update
<mask> if (!positioningComputed && (sizeDirty || this._isFlagSet(SmartPropertyPrim.flagPositioningDirty) || (this... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.prim2dBase.ts |
if (sizeDirty) {
this.clearPropertiesDirty(Prim2DBase.sizeProperty.flagId);
}
| <mask> this._updatePositioning();
<mask>
<mask> this._clearFlags(SmartPropertyPrim.flagPositioningDirty);
<mask> positioningComputed = true;
<mask> }
<mask>
<mask> if (positioningComputed && this._parent) {
<mask> this._pa... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/9c42863378929baad6515fca9d8dfeef477743f4 | src/Canvas2d/babylon.prim2dBase.ts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.