Skip to content

ConcreteType

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/webgpu/compute/ConcreteType.ts for the most up-to-date information.

Overview

Represents a data type that can be serialized/deserialized to/from a binary form, both in TypeScript and in WGSL.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Type BinaryOp

import type { BinaryOp } from 'scenerystack/alpenglow';

Type BitOrder

import type { BitOrder } from 'scenerystack/alpenglow';

Type CompareOrder

import type { CompareOrder } from 'scenerystack/alpenglow';

Type ConcreteArrayType

import type { ConcreteArrayType } from 'scenerystack/alpenglow';

ConcreteType<T[]> & { elementType: ConcreteType<T>; length: number }

Type ConcreteType

import type { ConcreteType } from 'scenerystack/alpenglow';

Type Order

import type { Order } from 'scenerystack/alpenglow';

BitOrder<T> & CompareOrder<T>

Type StoreStatementCallback

import type { StoreStatementCallback } from 'scenerystack/alpenglow';

( offset: WGSLExpressionU32, u32expr: WGSLExpressionU32 ) => WGSLStatements

Type WGSLBinaryStatements

import type { WGSLBinaryStatements } from 'scenerystack/alpenglow';

( value: WGSLVariableName, a: WGSLExpression, b: WGSLExpression ) => WGSLStatements

Source Code

See the source for ConcreteType.ts in the alpenglow repository.