Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1e05ae9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x committed Oct 1, 2024
1 parent d36284d commit fc38064
Show file tree
Hide file tree
Showing 14 changed files with 6,047 additions and 7 deletions.
13 changes: 13 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,18 @@ var texturedCube = {
],
};

var transparentCanvas = {
name: 'Transparent Cavnas',
description: 'This example shows use of a transparent WebGPU canvas.',
filename: "sample/transparentCanvas",
sources: [
{ path: 'main.ts' },
{ path: '../../shaders/basic.vert.wgsl' },
{ path: '../../shaders/vertexPositionColorAlpha.frag.wgsl' },
{ path: '../../meshes/cube.ts' },
],
};

var twoCubes = {
name: 'Two Cubes',
description: 'This example shows some of the alignment requirements \
Expand Down Expand Up @@ -690,6 +702,7 @@ const pageCategories = [
samples: {
resizeCanvas,
resizeObserverHDDPI,
transparentCanvas,
multipleCanvases,
videoUploading,
worker,
Expand Down
2 changes: 1 addition & 1 deletion main.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion sample/helloTriangle/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/helloTriangle/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion sample/helloTriangle/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const presentationFormat = navigator.gpu.getPreferredCanvasFormat();
context.configure({
device,
format: presentationFormat,
alphaMode: 'premultiplied',
});

const pipeline = device.createRenderPipeline({
Expand Down
1 change: 0 additions & 1 deletion sample/helloTriangleMSAA/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc38064

Please sign in to comment.