Type Alias: BufferTransformProps
BufferTransformProps =
Omit<GPUVectorModelProps,"fs"> &object
Defined in: modules/engine/src/compute/buffer-transform.ts:26
Properties for creating a BufferTransform
Type Declaration
feedbackBufferMode?
optionalfeedbackBufferMode?:"interleaved"|"separate"
bufferMode when binding varyings https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings
feedbackBuffers?
optionalfeedbackBuffers?:Record<string,Buffer|BufferRange>
Deprecated
Use run({outputBuffers}) instead - Map of output buffers that the shaders will write results of computations to
fs?
optionalfs?:GPUVectorModelProps["fs"]
Optional fragment shader - normally not used in transforms
inputVectors?
optionalinputVectors?:GPUVectorModelInputs
Borrowed contiguous vectors mapped to vertex-buffer layout names.
outputs?
optionaloutputs?:string[]
A list of named outputs corresponding to shader declarations (varyings in WebGL)
outputVectors?
optionaloutputVectors?:GPUVectorModelInputs
Borrowed contiguous vectors mapped to transform-feedback varying names.
Note
Only works under WebGL2.