@luma.gl/shadertools
Advanced tools
Comparing version 9.0.0-alpha.52 to 9.0.0-alpha.53
@@ -27,2 +27,3 @@ /** | ||
export { fp32 } from './modules/math/fp32/fp32'; | ||
export type { PickingProps } from './modules/engine/picking/picking'; | ||
export { picking } from './modules/engine/picking/picking'; | ||
@@ -29,0 +30,0 @@ export type { LightingProps } from './modules/lighting/lights/lighting-uniforms'; |
@@ -6,3 +6,3 @@ import type { ShaderModule, UniformValue } from './shader-module'; | ||
*/ | ||
export type ShaderPass<PropsT extends Record<string, unknown>, UniformsT extends Record<string, UniformValue> = Record<string, UniformValue>> = ShaderModule<PropsT, UniformsT> & { | ||
export type ShaderPass<PropsT extends Record<string, unknown> = Record<string, unknown>, UniformsT extends Record<string, UniformValue> = Record<string, UniformValue>> = ShaderModule<PropsT, UniformsT> & { | ||
passes?: ShaderPassData[]; | ||
@@ -9,0 +9,0 @@ }; |
@@ -11,4 +11,2 @@ import { NumberArray } from '../../../types'; | ||
isActive?: boolean; | ||
/** Do we have a highlighted item? */ | ||
isHighlightActive?: boolean; | ||
/** Set to true when picking an attribute value instead of object index */ | ||
@@ -23,12 +21,2 @@ isAttribute?: boolean; | ||
}; | ||
export type PickingSettings = Omit<PickingUniforms, 'isHighlightActive' | 'highlightedObjectColor'> & { | ||
/** | ||
* Set to a picking color to visually highlight that item. | ||
* The picking module will persist the last highlighted object, unless | ||
* `null` is passed to explicitly clear | ||
**/ | ||
highlightedObjectColor?: NumberArray | null; | ||
/** Color of visual highlight of "selected" item */ | ||
highlightColor?: NumberArray; | ||
}; | ||
/** | ||
@@ -35,0 +23,0 @@ * Uniforms for the picking module, which renders picking colors and highlighted item. |
{ | ||
"name": "@luma.gl/shadertools", | ||
"version": "9.0.0-alpha.52", | ||
"version": "9.0.0-alpha.53", | ||
"description": "Shader module system for luma.gl", | ||
@@ -49,7 +49,7 @@ "type": "module", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/core": "9.0.0-alpha.52", | ||
"@luma.gl/core": "9.0.0-alpha.53", | ||
"@math.gl/core": "^4.0.0", | ||
"@math.gl/types": "^4.0.0" | ||
}, | ||
"gitHead": "41fa29f78dc260e5ef4c6a48e657fb5d23c96e8f" | ||
"gitHead": "f8939f1cf52a15f11ec053d4906e40f0b2a86836" | ||
} |
@@ -64,2 +64,3 @@ // luma.gl, MIT license | ||
// export {projection} from './modules/engine/project/project'; | ||
export type {PickingProps} from './modules/engine/picking/picking'; | ||
export {picking} from './modules/engine/picking/picking'; | ||
@@ -66,0 +67,0 @@ |
@@ -10,3 +10,3 @@ // luma.gl, MIT license | ||
*/ | ||
export type ShaderPass<PropsT extends Record<string, unknown>, UniformsT extends Record<string, UniformValue> = Record<string, UniformValue>> = ShaderModule<PropsT, UniformsT> & { | ||
export type ShaderPass<PropsT extends Record<string, unknown> = Record<string, unknown>, UniformsT extends Record<string, UniformValue> = Record<string, UniformValue>> = ShaderModule<PropsT, UniformsT> & { | ||
passes?: ShaderPassData[]; | ||
@@ -13,0 +13,0 @@ }; |
@@ -19,4 +19,2 @@ // luma.gl, MIT license | ||
isActive?: boolean; | ||
/** Do we have a highlighted item? */ | ||
isHighlightActive?: boolean; | ||
/** Set to true when picking an attribute value instead of object index */ | ||
@@ -32,14 +30,2 @@ isAttribute?: boolean; | ||
// TODO - | ||
export type PickingSettings = Omit<PickingUniforms, 'isHighlightActive' | 'highlightedObjectColor'> & { | ||
/** | ||
* Set to a picking color to visually highlight that item. | ||
* The picking module will persist the last highlighted object, unless | ||
* `null` is passed to explicitly clear | ||
**/ | ||
highlightedObjectColor?: NumberArray | null; | ||
/** Color of visual highlight of "selected" item */ | ||
highlightColor?: NumberArray; | ||
}; | ||
/** | ||
@@ -46,0 +32,0 @@ * Uniforms for the picking module, which renders picking colors and highlighted item. |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2403819
45925
+ Added@luma.gl/core@9.0.0-alpha.53(transitive)
- Removed@luma.gl/core@9.0.0-alpha.52(transitive)
Updated@luma.gl/core@9.0.0-alpha.53