Skip to content

TextureBindingOptions beta ​

Interface of @v12-engine/render

ts
export interface TextureBindingOptions

How a texture of group 1 is declared: one or an array of layers, and the kind of numbers it is sampled as

Members ​

array ​

ts
array?: boolean;

An array of layers (texture_2d_array<f32>)

sampleType ​

ts
sampleType?: 'float' | 'unfilterable-float';

unfilterable-float for a texture of floats, read with textureLoad