Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@luma.gl/constants

Package Overview
Dependencies
Maintainers
7
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/constants - npm Package Compare versions

Comparing version 9.0.0-alpha.31 to 9.0.0-alpha.32

11

dist/webgl-types.d.ts

@@ -18,5 +18,12 @@ import { GL } from './constants-enum';

export type GLUniformType = GLSamplerType | GLCompositeType;
/** Sampler uniform type */
/**
* Sampler uniform type
* @note These are all the valid sampler types used with `gl.uniform1i((location, value)`
*/
export type GLSamplerType = GL.SAMPLER_2D | GL.SAMPLER_CUBE | GL.SAMPLER_3D | GL.SAMPLER_2D_SHADOW | GL.SAMPLER_2D_ARRAY | GL.SAMPLER_2D_ARRAY_SHADOW | GL.SAMPLER_CUBE_SHADOW | GL.INT_SAMPLER_2D | GL.INT_SAMPLER_3D | GL.INT_SAMPLER_CUBE | GL.INT_SAMPLER_2D_ARRAY | GL.UNSIGNED_INT_SAMPLER_2D | GL.UNSIGNED_INT_SAMPLER_3D | GL.UNSIGNED_INT_SAMPLER_CUBE | GL.UNSIGNED_INT_SAMPLER_2D_ARRAY;
/** Composite types table */
/**
* Composite types table
* @note These are all the valid non-sampler uniform types,
* Different `gl.uniformXXX(location, value)` functions must be used depending on which composite type is being set.
*/
export type GLCompositeType = GL.FLOAT | GL.FLOAT_VEC2 | GL.FLOAT_VEC3 | GL.FLOAT_VEC4 | GL.INT | GL.INT_VEC2 | GL.INT_VEC3 | GL.INT_VEC4 | GL.UNSIGNED_INT | GL.UNSIGNED_INT_VEC2 | GL.UNSIGNED_INT_VEC3 | GL.UNSIGNED_INT_VEC4 | GL.BOOL | GL.BOOL_VEC2 | GL.BOOL_VEC3 | GL.BOOL_VEC4 | GL.FLOAT_MAT2 | GL.FLOAT_MAT2x3 | GL.FLOAT_MAT2x4 | GL.FLOAT_MAT3x2 | GL.FLOAT_MAT3 | GL.FLOAT_MAT3x4 | GL.FLOAT_MAT4x2 | GL.FLOAT_MAT4x3 | GL.FLOAT_MAT4;

@@ -23,0 +30,0 @@ /**

4

package.json
{
"name": "@luma.gl/constants",
"version": "9.0.0-alpha.31",
"version": "9.0.0-alpha.32",
"description": "WebGL and WebGL2 constants",

@@ -41,3 +41,3 @@ "type": "module",

},
"gitHead": "9f22c8a7f5a03abb1bea5530b77c083b8f553569"
"gitHead": "08b30dcae4aee321738cf05b509cef6b3b24c880"
}

@@ -58,3 +58,6 @@ // luma.gl, MIT license

/** Sampler uniform type */
/**
* Sampler uniform type
* @note These are all the valid sampler types used with `gl.uniform1i((location, value)`
*/
export type GLSamplerType =

@@ -77,3 +80,7 @@ | GL.SAMPLER_2D

/** Composite types table */
/**
* Composite types table
* @note These are all the valid non-sampler uniform types,
* Different `gl.uniformXXX(location, value)` functions must be used depending on which composite type is being set.
*/
export type GLCompositeType =

@@ -80,0 +87,0 @@ | GL.FLOAT

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