Skip to content

Documentation / device / VertexAttribFormat

Type Alias: VertexAttribFormat

VertexAttribFormat = "position_u8normx2" | "position_u8normx4" | "position_i8normx2" | "position_i8normx4" | "position_u16x2" | "position_u16x4" | "position_i16x2" | "position_i16x4" | "position_u16normx2" | "position_u16normx4" | "position_i16normx2" | "position_i16normx4" | "position_f16x2" | "position_f16x4" | "position_f32" | "position_f32x2" | "position_f32x3" | "position_f32x4" | "position_i32" | "position_i32x2" | "position_i32x3" | "position_i32x4" | "position_u32" | "position_u32x2" | "position_u32x3" | "position_u32x4" | "normal_f16x4" | "normal_f32x3" | "normal_f32x4" | "diffuse_u8normx4" | "diffuse_u16x4" | "diffuse_u16normx4" | "diffuse_f16x4" | "diffuse_f32x3" | "diffuse_f32x4" | "diffuse_u32x3" | "diffuse_u32x4" | "tangent_f16x4" | "tangent_f32x3" | "tangent_f32x4" | "tex0_u8normx2" | "tex0_u8normx4" | "tex0_i8normx2" | "tex0_i8normx4" | "tex0_u16x2" | "tex0_u16x4" | "tex0_i16x2" | "tex0_i16x4" | "tex0_u16normx2" | "tex0_u16normx4" | "tex0_i16normx2" | "tex0_i16normx4" | "tex0_f16x2" | "tex0_f16x4" | "tex0_f32" | "tex0_f32x2" | "tex0_f32x3" | "tex0_f32x4" | "tex0_i32" | "tex0_i32x2" | "tex0_i32x3" | "tex0_i32x4" | "tex0_u32" | "tex0_u32x2" | "tex0_u32x3" | "tex0_u32x4" | "tex1_u8normx2" | "tex1_u8normx4" | "tex1_i8normx2" | "tex1_i8normx4" | "tex1_u16x2" | "tex1_u16x4" | "tex1_i16x2" | "tex1_i16x4" | "tex1_u16normx2" | "tex1_u16normx4" | "tex1_i16normx2" | "tex1_i16normx4" | "tex1_f16x2" | "tex1_f16x4" | "tex1_f32" | "tex1_f32x2" | "tex1_f32x3" | "tex1_f32x4" | "tex1_i32" | "tex1_i32x2" | "tex1_i32x3" | "tex1_i32x4" | "tex1_u32" | "tex1_u32x2" | "tex1_u32x3" | "tex1_u32x4" | "tex2_u8normx2" | "tex2_u8normx4" | "tex2_i8normx2" | "tex2_i8normx4" | "tex2_u16x2" | "tex2_u16x4" | "tex2_i16x2" | "tex2_i16x4" | "tex2_u16normx2" | "tex2_u16normx4" | "tex2_i16normx2" | "tex2_i16normx4" | "tex2_f16x2" | "tex2_f16x4" | "tex2_f32" | "tex2_f32x2" | "tex2_f32x3" | "tex2_f32x4" | "tex2_i32" | "tex2_i32x2" | "tex2_i32x3" | "tex2_i32x4" | "tex2_u32" | "tex2_u32x2" | "tex2_u32x3" | "tex2_u32x4" | "tex3_u8normx2" | "tex3_u8normx4" | "tex3_i8normx2" | "tex3_i8normx4" | "tex3_u16x2" | "tex3_u16x4" | "tex3_i16x2" | "tex3_i16x4" | "tex3_u16normx2" | "tex3_u16normx4" | "tex3_i16normx2" | "tex3_i16normx4" | "tex3_f16x2" | "tex3_f16x4" | "tex3_f32" | "tex3_f32x2" | "tex3_f32x3" | "tex3_f32x4" | "tex3_i32" | "tex3_i32x2" | "tex3_i32x3" | "tex3_i32x4" | "tex3_u32" | "tex3_u32x2" | "tex3_u32x3" | "tex3_u32x4" | "tex4_u8normx2" | "tex4_u8normx4" | "tex4_i8normx2" | "tex4_i8normx4" | "tex4_u16x2" | "tex4_u16x4" | "tex4_i16x2" | "tex4_i16x4" | "tex4_u16normx2" | "tex4_u16normx4" | "tex4_i16normx2" | "tex4_i16normx4" | "tex4_f16x2" | "tex4_f16x4" | "tex4_f32" | "tex4_f32x2" | "tex4_f32x3" | "tex4_f32x4" | "tex4_i32" | "tex4_i32x2" | "tex4_i32x3" | "tex4_i32x4" | "tex4_u32" | "tex4_u32x2" | "tex4_u32x3" | "tex4_u32x4" | "tex5_u8normx2" | "tex5_u8normx4" | "tex5_i8normx2" | "tex5_i8normx4" | "tex5_u16x2" | "tex5_u16x4" | "tex5_i16x2" | "tex5_i16x4" | "tex5_u16normx2" | "tex5_u16normx4" | "tex5_i16normx2" | "tex5_i16normx4" | "tex5_f16x2" | "tex5_f16x4" | "tex5_f32" | "tex5_f32x2" | "tex5_f32x3" | "tex5_f32x4" | "tex5_i32" | "tex5_i32x2" | "tex5_i32x3" | "tex5_i32x4" | "tex5_u32" | "tex5_u32x2" | "tex5_u32x3" | "tex5_u32x4" | "tex6_u8normx2" | "tex6_u8normx4" | "tex6_i8normx2" | "tex6_i8normx4" | "tex6_u16x2" | "tex6_u16x4" | "tex6_i16x2" | "tex6_i16x4" | "tex6_u16normx2" | "tex6_u16normx4" | "tex6_i16normx2" | "tex6_i16normx4" | "tex6_f16x2" | "tex6_f16x4" | "tex6_f32" | "tex6_f32x2" | "tex6_f32x3" | "tex6_f32x4" | "tex6_i32" | "tex6_i32x2" | "tex6_i32x3" | "tex6_i32x4" | "tex6_u32" | "tex6_u32x2" | "tex6_u32x3" | "tex6_u32x4" | "tex7_u8normx2" | "tex7_u8normx4" | "tex7_i8normx2" | "tex7_i8normx4" | "tex7_u16x2" | "tex7_u16x4" | "tex7_i16x2" | "tex7_i16x4" | "tex7_u16normx2" | "tex7_u16normx4" | "tex7_i16normx2" | "tex7_i16normx4" | "tex7_f16x2" | "tex7_f16x4" | "tex7_f32" | "tex7_f32x2" | "tex7_f32x3" | "tex7_f32x4" | "tex7_i32" | "tex7_i32x2" | "tex7_i32x3" | "tex7_i32x4" | "tex7_u32" | "tex7_u32x2" | "tex7_u32x3" | "tex7_u32x4" | "blendweights_f16x1" | "blendweights_f32x1" | "blendweights_f16x2" | "blendweights_f32x2" | "blendweights_f16x3" | "blendweights_f32x3" | "blendweights_f16x4" | "blendweights_f32x4" | "blendindices_f16x1" | "blendindices_u16x1" | "blendindices_f32x1" | "blendindices_u32x1" | "blendindices_f16x2" | "blendindices_u16x2" | "blendindices_f32x2" | "blendindices_u32x2" | "blendindices_f16x3" | "blendindices_u16x3" | "blendindices_f32x3" | "blendindices_u32x3" | "blendindices_f16x4" | "blendindices_u16x4" | "blendindices_f32x4" | "blendindices_u32x4"

Defined in: libs/device/src/gpuobject.ts:61

The vertex format types

Released under the MIT License.