search
/
·
Intro
expand_more
Guides
·
Getting started
·
WebGPU canvas
·
Drawing and animation
·
Scene geometry
·
2D and 3D plot
·
Data-driven geometry
·
Live vs React
·
Memoization
·
WGSL Shaders
·
Renderers and Passes
·
Layout and UI
·
Background
·
Roadmap
·
Contributing
Reference
chevron_right
Components
expand_more
Libraries
expand_more
@use-gpu/core
east
accumulateChunks
east
adjustSchema
east
alignSizeTo
east
allocateSchema
east
bezierEase
east
castRawArray
east
catmullRom
east
catmullRomDual
east
catmullRomWeighted
east
catmullRomWeightedDual
east
checkStorageType
east
checkStorageTypes
east
clamp
east
clearBuffer
east
copyNestedNumberArray
east
copyNumberArray
east
copyRawNumberArray
east
copyRecursiveNumberArray
east
cubicBezier
east
cubicBezier01
east
cubicBezierDt
east
cubicBezierInverse01
east
cubicBezierInverse01NR
east
distanceToFrustum
east
emitArray
east
emitAttributes
east
emitMultiArray
east
extendBoundingBox
east
fillNumberArray
east
formatToArchetype
east
fromFloat16
east
generateChunkAnchors
east
generateChunkFaces
east
generateChunkSegments
east
generateConcaveIndices
east
getAggregateSummary
east
getBoundingBox
east
getByteSize
east
getMinBindingSize
east
getTensorLength
east
getTextureDimension
east
getTypedArrayConstructor
east
getUniformAlign
east
getUniformArrayDepth
east
getUniformArraySize
east
getUniformArrayType
east
getUniformByteSetter
east
getUniformDims
east
getUniformElementType
east
getUniformSize
east
getVertexAttributeSize
east
incrementVersion
east
isShaderBinding
east
isTypedArray
east
isUniformArrayType
east
isUniformVecType
east
lazy
east
lerp
east
makeArcLengthMap
east
makeArrayAggregate
east
makeArrayAggregateBuffer
east
makeAtlas
east
makeAtlasSource
east
makeBindGroup
east
makeBindGroupLayout
east
makeBindGroupLayoutEntries
east
makeBindingLayoutEntry
east
makeBoundingBox
east
makeBoundUniforms
east
makeColorAttachment
east
makeColorAttachmentWithFormat
east
makeColorState
east
makeComputePipeline
east
makeComputePipelineAsync
east
makeCopyPipe
east
makeCPUArray
east
makeDataBindingsEntries
east
makeDataBuffer
east
makeDepthStencilAttachment
east
makeDepthStencilAttachments
east
makeDepthStencilState
east
makeDepthTexture
east
makeDynamicTexture
east
makeFrustumPlanes
east
makeGlobalUniforms
east
makeGPUArray
east
makeIdAllocator
east
makeIndirectBuffer
east
makeLayoutData
east
makeLayoutFiller
east
makeMultiTextureBinding
east
makeMultiUniformLayout
east
makeMultiUniformPipe
east
makeMultiUniforms
east
makeNumberReader
east
makeNumberSplitter
east
makeNumberWriter
east
makeOrbitMatrix
east
makeOrbitPosition
east
makeOrthogonalMatrix
east
makePackedLayout
east
makePanMatrix
east
makePanPosition
east
makePipelineLayout
east
makeProjectionMatrix
east
makeRawArray
east
makeRawTexture
east
makeReadbackTexture
east
makeRefBinding
east
makeRenderPipeline
east
makeRenderPipelineAsync
east
makeResourceEntries
east
makeSampler
east
makeShaderBinding
east
makeShaderBindings
east
makeShaderModuleDescriptor
east
makeShaderStage
east
makeSharedStorage
east
makeSpreadEmitter
east
makeStorageBinding
east
makeStorageBuffer
east
makeStorageEntries
east
makeStorageTexture
east
makeStructAggregate
east
makeStructAggregateBuffer
east
makeStructAggregateFields
east
makeTargetTexture
east
makeTensorArray
east
makeTexture
east
makeTextureBinding
east
makeTextureDataLayout
east
makeTextureEntries
east
makeTextureReadbackBuffer
east
makeTuples
east
makeTypedBuffer
east
makeUniformBuffer
east
makeUniformLayout
east
makeUniformLayoutEntry
east
makeUniformPipe
east
makeUniforms
east
makeUnweldEmitter
east
makeVertexAttributeLayout
east
makeVertexBuffer
east
makeVertexBuffers
east
makeVolatileUniforms
east
normalizeSchema
east
offsetNumberArray
east
pick
east
proxy
east
queryArcLengthMap
east
resizeTextureSource
east
resolve
east
sampleToCubicBezier
east
schemaToAggregate
east
schemaToArchetype
east
schemaToAttributes
east
schemaToEmitters
east
seq
east
setFloat32
east
setFloat32N
east
setFloat32Nx3
east
setFloat64
east
setFloat64N
east
setFloat64Nx3
east
setInt16
east
setInt16N
east
setInt32
east
setInt32N
east
setInt32Nx3
east
setInt8
east
setInt8N
east
setUint16
east
setUint16N
east
setUint16Nx3
east
setUint32
east
setUint32N
east
setUint32Nx3
east
setUint8
east
setUint8N
east
spreadNumberArray
east
toArray
east
toCPUDims
east
toDataBounds
east
toFloat16
east
toGPUAggregate
east
toGPUDims
east
toTensorArray
east
toTypeString
east
toUnweldedArray
east
unweldNumberArray
east
updateAggregateArray
east
updateAggregateFromSchema
east
updateAggregateInstances
east
updateAggregateRefs
east
updateMipArrayTextureChain
east
updateMipTextureChain
east
updateTensor
east
uploadAggregateBuffer
east
uploadAggregateFromSchema
east
uploadAggregateFromSchemaRefs
east
uploadAtlasMapping
east
uploadBuffer
east
uploadBufferRange
east
uploadDataTexture
east
uploadExternalTexture
east
uploadStorage
east
uploadTexture
east
velocityEase
data_object
BLEND_ADD
data_object
BLEND_ALPHA
data_object
BLEND_MULTIPLY
data_object
BLEND_NONE
data_object
BLEND_PREMULTIPLY
data_object
BLEND_SUBTRACT
data_object
TEXTURE_ARRAY_TYPES
data_object
TEXTURE_FORMAT_DIMS
data_object
TEXTURE_FORMAT_SIZES
data_object
TEXTURE_SHADER_TYPES
data_object
TYPED_ARRAYS
data_object
UNIFORM_ARRAY_DIMS
data_object
UNIFORM_ARRAY_TYPES
data_object
UNIFORM_ATTRIBUTE_ALIGNS
data_object
UNIFORM_ATTRIBUTE_SIZES
data_object
UNIFORM_BYTE_SETTERS
data_object
VERTEX_ATTRIBUTE_SIZES
data_object
VERTEX_SIZES
data_object
VERTEX_TO_UNIFORM
data_object
VIEW_UNIFORMS
title
AggregateItem
title
AggregateValue
title
ArchetypeField
title
ArchetypeSchema
title
ArrayAggregate
title
ArrayAggregateBuffer
title
ArrayLike
title
ArrowFunction
title
Atlas
title
Blending
title
Color
title
ColorLike
title
ColorLikes
title
ColorSpace
title
CPUAggregate
title
CPUAttributes
title
CPUGeometry
title
DataBinding
title
DataBoundingBox
title
DataBounds
title
DataField
title
DataSchema
title
DataTexture
title
DeepPartial
title
ElementType
title
Emit
title
Emitter
title
ExternalTexture
title
FieldArray
title
FromSchema
title
GlobalAllocation
title
GPUAggregate
title
GPUAttributes
title
GPUGeometry
title
InterleavedLayout
title
LambdaSource
title
Lazy
title
OffscreenTarget
title
PickingUniforms
title
Ragged
title
Rectangle
title
RenderPassMode
title
ResourceAllocation
title
ShaderModule
title
ShaderModuleDescriptor
title
ShaderStageDescriptor
title
ShaderStructType
title
SharedAllocation
title
Side
title
StorageSource
title
StorageTarget
title
StructAggregate
title
StructAggregateBuffer
title
TensorArray
title
TextureSource
title
TextureTarget
title
Time
title
Tuples
title
TypedArray
title
TypedArrayConstructor
title
UniformAllocation
title
UniformAttribute
title
UniformAttributeDescriptor
title
UniformAttributeValue
title
UniformByteSetter
title
UniformDataSetter
title
UniformFiller
title
UniformFormat
title
UniformLayout
title
UniformNamedType
title
UniformPipe
title
UniformShaderAttribute
title
UniformType
title
UniformValueSetter
title
UseGPURenderContext
title
VectorEmitter
title
VectorLike
title
VectorLikes
title
VectorRefEmitter
title
VertexAttribute
title
VertexData
title
ViewUniforms
title
VirtualAllocation
title
VolatileAllocation
title
Writer
title
XY
title
XYZ
title
XYZW
chevron_right
@use-gpu/glyph
chevron_right
@use-gpu/parse
chevron_right
@use-gpu/shader
inventory_2
@use-gpu/wgsl
chevron_right
Live/React
chevron_right
Loaders
chevron_right
Development

east Function – makeBoundingBox

const makeBoundingBox: (dims: number) => DataBoundingBox

Source

packages / core / src / bounds.ts

Sections
Source  
menu
format_list_numbered