Skip to content

Commit

Permalink
website: Remove links to luma staging site (#8678)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer authored Mar 18, 2024
1 parent 14d5aa0 commit 77c2bf1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/api-reference/layers/bitmap-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ The image to display.
- If a string is supplied, it is interpreted as a URL or a [Data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).
- One of the following, or a Promise that resolves to one of the following:
+ One of the valid [pixel sources for WebGL2 texture](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)
+ A luma.gl [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) instance
+ A luma.gl [Texture](https://luma.gl/docs/api-reference/core/resources/texture) instance
+ A plain object that can be passed to the `Texture` constructor, e.g. `{width: <number>, height: <number>, data: <Uint8Array>}`. Note that whenever this object shallowly changes, a new texture will be created.

The image data will be converted to a [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) object. See `textureParameters` prop for advanced customization.
The image data will be converted to a [Texture](https://luma.gl/docs/api-reference/core/resources/texture) object. See `textureParameters` prop for advanced customization.

##### `bounds` (Array) {#bounds}

Expand All @@ -87,7 +87,7 @@ On top of the [default options](../core/layer.md#loadoptions), also accepts opti

##### `textureParameters` (Object) {#textureparameters}

Customize the [texture parameters](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/sampler#samplerprops).
Customize the [texture parameters](https://luma.gl/docs/api-reference/core/resources/sampler#samplerprops).

If not specified, the layer uses the following defaults to create a linearly smoothed texture from `image`:

Expand Down
6 changes: 3 additions & 3 deletions docs/api-reference/layers/icon-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ A pre-packed image that contains all icons.
- If a string is supplied, it is interpreted as a URL or a [Data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).
- One of the following, or a Promise that resolves to one of the following:
+ One of the valid [pixel sources for WebGL2 texture](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)
+ A luma.gl [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) instance
+ A luma.gl [Texture](https://luma.gl/docs/api-reference/core/resources/texture/) instance
+ A plain object that can be passed to the `Texture` constructor, e.g. `{width: <number>, height: <number>, data: <Uint8Array>}`. Note that whenever this object shallowly changes, a new texture will be created.

The image data will be converted to a [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) object. See `textureParameters` prop for advanced customization.
The image data will be converted to a [Texture](https://luma.gl/docs/api-reference/core/resources/texture) object. See `textureParameters` prop for advanced customization.

If you go with pre-packed strategy, this prop is required.

Expand Down Expand Up @@ -222,7 +222,7 @@ On top of the [default options](../core/layer.md#loadoptions), also accepts opti

##### `textureParameters` (Object) {#textureparameters}

Customize the [texture parameters](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/sampler#samplerprops).
Customize the [texture parameters](https://luma.gl/docs/api-reference/core/resources/sampler#samplerprops).

If not specified, the layer uses the following defaults to create a linearly smoothed texture from `iconAtlas`:

Expand Down
6 changes: 3 additions & 3 deletions docs/api-reference/mesh-layers/simple-mesh-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,17 @@ The texture of the geometries.
- If a string is supplied, it is interpreted as a URL or a [Data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).
- One of the following, or a Promise that resolves to one of the following:
+ One of the valid [pixel sources for WebGL2 texture](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texImage2D)
+ A luma.gl [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) instance
+ A luma.gl [Texture](https://luma.gl/docs/api-reference/core/resources/texture) instance
+ A plain object that can be passed to the `Texture` constructor, e.g. `{width: <number>, height: <number>, data: <Uint8Array>}`. Note that whenever this object shallowly changes, a new texture will be created.

The image data will be converted to a [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) object. See `textureParameters` prop for advanced customization.
The image data will be converted to a [Texture](https://luma.gl/docs/api-reference/core/resources/texture) object. See `textureParameters` prop for advanced customization.

If `texture` is supplied, texture is used to render the geometries. Otherwise, object color obtained via the `getColor` accessor is used.


##### `textureParameters` (Object) {#textureparameters}

Customize the [texture parameters](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/sampler#samplerprops).
Customize the [texture parameters](https://luma.gl/docs/api-reference/core/resources/sampler#samplerprops).

If not specified, the layer uses the following defaults to create a linearly smoothed texture from `texture`:

Expand Down
4 changes: 2 additions & 2 deletions docs/developer-guide/custom-layers/prop-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ MyLayerClass.defaultProps = {

##### `image` {#image}

One of: URL string, luma.gl [Texture](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/texture) object, `Image`, `HTMLCanvasElement`, `HTMLVideoElement`, `ImageBitmap` or `ImageData`.
One of: URL string, luma.gl [Texture](https://luma.gl/docs/api-reference/core/resources/texture) object, `Image`, `HTMLCanvasElement`, `HTMLVideoElement`, `ImageBitmap` or `ImageData`.

- Options:
+ `parameters` (object, optional) - custom [texture parameters](https://felixpalmer.github.io/luma.gl/docs/api-reference/core/resources/sampler#samplerprops) of the texture. If not specified, the following defaults are used:
+ `parameters` (object, optional) - custom [texture parameters](https://luma.gl/docs/api-reference/core/resources/sampler#samplerprops) of the texture. If not specified, the following defaults are used:

```js
{
Expand Down

0 comments on commit 77c2bf1

Please sign in to comment.