New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@luma.gl/core

Package Overview
Dependencies
Maintainers
7
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/core - npm Package Compare versions

Comparing version 9.0.0-alpha.29 to 9.0.0-alpha.30

dist/adapter/canvas-context.d.ts

70

dist/index.d.ts

@@ -1,5 +0,67 @@

export type { DeviceProps } from '@luma.gl/api';
export { Device, luma } from '@luma.gl/api';
export { log, assert, uid } from '@luma.gl/api';
export { Timeline } from '@luma.gl/engine';
export { VERSION } from './init';
export { luma } from './lib/luma';
export type { DeviceProps, DeviceLimits, DeviceInfo, DeviceFeature } from './adapter/device';
export { Device } from './adapter/device';
export type { CanvasContextProps } from './adapter/canvas-context';
export { CanvasContext } from './adapter/canvas-context';
export type { ResourceProps } from './adapter/resources/resource';
export { Resource } from './adapter/resources/resource';
export type { BufferProps } from './adapter/resources/buffer';
export { Buffer } from './adapter/resources/buffer';
export type { TextureProps, TextureData } from './adapter/resources/texture';
export { Texture } from './adapter/resources/texture';
export type { ExternalTextureProps } from './adapter/resources/external-texture';
export { ExternalTexture } from './adapter/resources/external-texture';
export type { ShaderProps } from './adapter/resources/shader';
export { Shader } from './adapter/resources/shader';
export type { SamplerProps, SamplerParameters } from './adapter/resources/sampler';
export { Sampler } from './adapter/resources/sampler';
export type { FramebufferProps } from './adapter/resources/framebuffer';
export { Framebuffer } from './adapter/resources/framebuffer';
export type { RenderPipelineProps } from './adapter/resources/render-pipeline';
export { RenderPipeline } from './adapter/resources/render-pipeline';
export type { ComputePipelineProps } from './adapter/resources/compute-pipeline';
export { ComputePipeline } from './adapter/resources/compute-pipeline';
export type { RenderPassProps } from './adapter/resources/render-pass';
export { RenderPass } from './adapter/resources/render-pass';
export type { ComputePassProps } from './adapter/resources/compute-pass';
export { ComputePass } from './adapter/resources/compute-pass';
export type { CommandEncoderProps } from './adapter/resources/command-encoder';
export { CommandEncoder } from './adapter/resources/command-encoder';
export type { CommandBufferProps } from './adapter/resources/command-buffer';
export { CommandBuffer } from './adapter/resources/command-buffer';
export type { AccessorObject } from './adapter/types/accessor';
export type { Parameters, PrimitiveTopology, IndexFormat, CullMode, FrontFace, RasterizationParameters, CompareFunction, StencilOperation, DepthStencilParameters, BlendFactor, BlendOperation, ColorParameters, MultisampleParameters, RenderPassParameters, RenderPipelineParameters } from './adapter/types/parameters';
export type { VertexFormat } from './adapter/types/vertex-formats';
export type { UniformFormat } from './adapter/types/uniform-formats';
export type { TextureFormat, ColorTextureFormat, DepthStencilTextureFormat } from './adapter/types/texture-formats';
export type { ColorAttachment, DepthStencilAttachment } from './adapter/types/types';
export type { ShaderLayout, AttributeLayout, BindingLayout, Binding, BufferMapping, AttributeBinding, UniformBinding, UniformBlockBinding, VaryingBinding } from './adapter/types/shader-layout';
export { UniformBufferLayout } from './lib/uniform-buffer-layout';
export { UniformBlock } from './lib/uniform-block';
export { decodeVertexFormat } from './adapter/utils/decode-vertex-format';
export { decodeTextureFormat } from './adapter/utils/decode-texture-format';
export type { CompilerMessage } from './lib/compiler-log/compiler-message';
export { formatCompilerLog } from './lib/compiler-log/format-compiler-log';
export type { ConstructorOf, PartialBy } from './types';
export type { TypedArray, TypedArrayConstructor, NumberArray, NumericArray, BigIntOrNumberArray, BigIntOrNumericArray } from './types';
export { StatsManager } from './lib/utils/stats-manager';
export { assert } from './lib/utils/assert';
export { cast } from './lib/utils/cast';
export { log } from './lib/utils/log';
export { uid, isPowerOfTwo, isObjectEmpty } from './lib/utils/utils';
export { formatValue } from './lib/utils/format-value';
export { stubRemovedMethods } from './lib/utils/stub-methods';
export { checkProps } from './lib/utils/check-props';
export { setPathPrefix, loadFile, loadImage, loadImageBitmap, loadScript } from './lib/utils/load-file';
export { getScratchArrayBuffer, getScratchArray, fillArray } from './lib/utils/array-utils-flat';
export { getRandom, random } from './lib/utils/random';
export { deepEqual } from './lib/utils/deep-equal';
export { requestAnimationFrame, cancelAnimationFrame } from './lib/request-animation-frame';
/**
* Marks GLSL shaders for syntax highlighting: glsl`...`
* Install https://marketplace.visualstudio.com/items?itemName=boyswan.glsl-literal
*/
export declare const glsl: (x: TemplateStringsArray) => string;
export type { CopyBufferToBufferOptions, CopyBufferToTextureOptions, CopyTextureToBufferOptions, CopyTextureToTextureOptions } from './adapter/resources/command-encoder';
//# sourceMappingURL=index.d.ts.map

@@ -1,4 +0,37 @@

export { Device, luma } from '@luma.gl/api';
export { log, assert, uid } from '@luma.gl/api';
export { Timeline } from '@luma.gl/engine';
export { VERSION } from "./init.js";
export { luma } from "./lib/luma.js";
export { Device } from "./adapter/device.js";
export { CanvasContext } from "./adapter/canvas-context.js";
export { Resource } from "./adapter/resources/resource.js";
export { Buffer } from "./adapter/resources/buffer.js";
export { Texture } from "./adapter/resources/texture.js";
export { ExternalTexture } from "./adapter/resources/external-texture.js";
export { Shader } from "./adapter/resources/shader.js";
export { Sampler } from "./adapter/resources/sampler.js";
export { Framebuffer } from "./adapter/resources/framebuffer.js";
export { RenderPipeline } from "./adapter/resources/render-pipeline.js";
export { ComputePipeline } from "./adapter/resources/compute-pipeline.js";
export { RenderPass } from "./adapter/resources/render-pass.js";
export { ComputePass } from "./adapter/resources/compute-pass.js";
export { CommandEncoder } from "./adapter/resources/command-encoder.js";
export { CommandBuffer } from "./adapter/resources/command-buffer.js";
export { UniformBufferLayout } from "./lib/uniform-buffer-layout.js";
export { UniformBlock } from "./lib/uniform-block.js";
export { decodeVertexFormat } from "./adapter/utils/decode-vertex-format.js";
export { decodeTextureFormat } from "./adapter/utils/decode-texture-format.js";
export { formatCompilerLog } from "./lib/compiler-log/format-compiler-log.js";
export { StatsManager } from "./lib/utils/stats-manager.js";
export { assert } from "./lib/utils/assert.js";
export { cast } from "./lib/utils/cast.js";
export { log } from "./lib/utils/log.js";
export { uid, isPowerOfTwo, isObjectEmpty } from "./lib/utils/utils.js";
export { formatValue } from "./lib/utils/format-value.js";
export { stubRemovedMethods } from "./lib/utils/stub-methods.js";
export { checkProps } from "./lib/utils/check-props.js";
export { setPathPrefix, loadFile, loadImage, loadImageBitmap, loadScript } from "./lib/utils/load-file.js";
export { getScratchArrayBuffer, getScratchArray, fillArray } from "./lib/utils/array-utils-flat.js";
export { getRandom, random } from "./lib/utils/random.js";
export { deepEqual } from "./lib/utils/deep-equal.js";
export { requestAnimationFrame, cancelAnimationFrame } from "./lib/request-animation-frame.js";
export const glsl = x => "".concat(x);
//# sourceMappingURL=index.js.map

13

package.json
{
"name": "@luma.gl/core",
"version": "9.0.0-alpha.29",
"description": "WebGL2 Components for High Performance Rendering and Computation",
"version": "9.0.0-alpha.30",
"description": "luma.gl API",
"license": "MIT",
"type": "module",
"license": "MIT",
"publishConfig": {

@@ -43,8 +43,5 @@ "access": "public"

"@babel/runtime": "^7.0.0",
"@luma.gl/constants": "9.0.0-alpha.29",
"@luma.gl/engine": "9.0.0-alpha.29",
"@luma.gl/shadertools": "9.0.0-alpha.29",
"@luma.gl/webgl": "9.0.0-alpha.29"
"@types/offscreencanvas": "^2019.6.4"
},
"gitHead": "1aee1ad82fd09d441172f5ef490ebc083a7fa239"
"gitHead": "7fb163f20d3400d59b59a17d36b4f3c466c559ba"
}

@@ -1,12 +0,12 @@

# luma.gl
# @luma.gl/api
<h1 align="center">luma.gl | <a href="https://luma.gl">Docs</a></h1>
<h5 align="center">luma.gl: WebGL2 Components for Visualization</h5>
<h5 align="center">luma.gl: WebGPU and WebGL2 Components for GPU Visualization and Compute</h5>
## Overview
luma.gl is a set of WebGL2 components for high-performance GPU-based rendering and computation in the browser.
luma.gl is a set of WebGPU and WebGL2 components for high-performance GPU-based rendering and computation in the browser.
It is the engine that powers applications and frameworks like
luma.gl is the GPU engine that powers applications and frameworks like

@@ -13,0 +13,0 @@ - [kepler.gl](https://github.com/keplergl/kepler.gl) WebGL based visualization overlays

// luma.gl, MIT license
// core module re-exports API and engine
export {VERSION} from './init';
// @luma.gl/api exports
// TODO - export full api in v10 (names conflict with removed WebGL exports)
// MAIN API ACCESS POINTS
export {luma} from './lib/luma';
export type {DeviceProps} from '@luma.gl/api';
export {Device, luma} from '@luma.gl/api';
export type {DeviceProps, DeviceLimits, DeviceInfo, DeviceFeature} from './adapter/device';
export {Device} from './adapter/device';
export type {CanvasContextProps} from './adapter/canvas-context';
export {CanvasContext} from './adapter/canvas-context';
// UTILS
export {log, assert, uid} from '@luma.gl/api';
// GPU RESOURCES
export type {ResourceProps} from './adapter/resources/resource';
export {Resource} from './adapter/resources/resource';
export type {BufferProps} from './adapter/resources/buffer';
export {Buffer} from './adapter/resources/buffer';
export type {TextureProps, TextureData} from './adapter/resources/texture';
export {Texture} from './adapter/resources/texture';
export type {ExternalTextureProps} from './adapter/resources/external-texture';
export {ExternalTexture} from './adapter/resources/external-texture';
export type {ShaderProps} from './adapter/resources/shader';
export {Shader} from './adapter/resources/shader';
export type {SamplerProps, SamplerParameters} from './adapter/resources/sampler';
export {Sampler} from './adapter/resources/sampler';
export type {FramebufferProps} from './adapter/resources/framebuffer';
export {Framebuffer} from './adapter/resources/framebuffer';
// @luma.gl/engine exports
export type {RenderPipelineProps} from './adapter/resources/render-pipeline';
export {RenderPipeline} from './adapter/resources/render-pipeline';
export {Timeline} from '@luma.gl/engine';
export type {ComputePipelineProps} from './adapter/resources/compute-pipeline';
export {ComputePipeline} from './adapter/resources/compute-pipeline';
export type {RenderPassProps} from './adapter/resources/render-pass';
export {RenderPass} from './adapter/resources/render-pass';
export type {ComputePassProps} from './adapter/resources/compute-pass';
export {ComputePass} from './adapter/resources/compute-pass';
export type {CommandEncoderProps} from './adapter/resources/command-encoder';
export {CommandEncoder} from './adapter/resources/command-encoder';
export type {CommandBufferProps} from './adapter/resources/command-buffer';
export {CommandBuffer} from './adapter/resources/command-buffer';
// API TYPES
export type {AccessorObject} from './adapter/types/accessor';
export type {
Parameters,
PrimitiveTopology,
IndexFormat,
CullMode,
FrontFace,
RasterizationParameters,
CompareFunction,
StencilOperation,
DepthStencilParameters,
BlendFactor,
BlendOperation,
ColorParameters,
MultisampleParameters,
RenderPassParameters,
RenderPipelineParameters
} from './adapter/types/parameters';
export type {VertexFormat} from './adapter/types/vertex-formats';
export type {UniformFormat} from './adapter/types/uniform-formats';
export type {
TextureFormat,
ColorTextureFormat,
DepthStencilTextureFormat
} from './adapter/types/texture-formats';
export type {ColorAttachment, DepthStencilAttachment} from './adapter/types/types';
export type {
ShaderLayout,
AttributeLayout,
BindingLayout,
Binding,
BufferMapping,
// Deprecated, todo
AttributeBinding,
UniformBinding,
UniformBlockBinding,
VaryingBinding
} from './adapter/types/shader-layout';
export {UniformBufferLayout} from './lib/uniform-buffer-layout';
export {UniformBlock} from './lib/uniform-block';
// API UTILS
export {decodeVertexFormat} from './adapter/utils/decode-vertex-format';
export {decodeTextureFormat} from './adapter/utils/decode-texture-format';
// COMPILER LOG
export type {CompilerMessage} from './lib/compiler-log/compiler-message';
export {formatCompilerLog} from './lib/compiler-log/format-compiler-log';
// GENERAL TYPES
export type {ConstructorOf, PartialBy} from './types';
// NUMERIC TYPES
// TODO: could be imported from @math.gl/types
export type {
TypedArray,
TypedArrayConstructor,
NumberArray,
NumericArray,
BigIntOrNumberArray,
BigIntOrNumericArray
} from './types';
// GENERAL UTILS
export {StatsManager} from './lib/utils/stats-manager';
export {assert} from './lib/utils/assert';
export {cast} from './lib/utils/cast';
export {log} from './lib/utils/log';
export {uid, isPowerOfTwo, isObjectEmpty} from './lib/utils/utils';
export {formatValue} from './lib/utils/format-value';
export {stubRemovedMethods} from './lib/utils/stub-methods';
export {checkProps} from './lib/utils/check-props';
export {setPathPrefix, loadFile, loadImage, loadImageBitmap, loadScript} from './lib/utils/load-file';
export {getScratchArrayBuffer, getScratchArray, fillArray} from './lib/utils/array-utils-flat';
export {getRandom, random} from './lib/utils/random';
export {deepEqual} from './lib/utils/deep-equal';
// ENGINE - TODO/move to @luma.gl/engine once that module is webgl-independent?
export {requestAnimationFrame, cancelAnimationFrame} from './lib/request-animation-frame';
// SHADER HELPERS
/**
* Marks GLSL shaders for syntax highlighting: glsl`...`
* Install https://marketplace.visualstudio.com/items?itemName=boyswan.glsl-literal
*/
export const glsl = (x: TemplateStringsArray) => `${x}`;
// INTERNAL
export type {
CopyBufferToBufferOptions,
CopyBufferToTextureOptions,
CopyTextureToBufferOptions,
CopyTextureToTextureOptions
} from './adapter/resources/command-encoder';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc