textureDimensions
Call Signature
Section titled “Call Signature”textureDimensions<
T>(texture):number
Type Parameters
Section titled “Type Parameters”• T extends texture1d<TextureSampleTypes> | textureStorage1d<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
Returns
Section titled “Returns”number
Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:479
Call Signature
Section titled “Call Signature”textureDimensions<
T>(texture,level):number
Type Parameters
Section titled “Type Parameters”• T extends texture1d<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
number
Returns
Section titled “Returns”number
Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:479
Call Signature
Section titled “Call Signature”textureDimensions<
T>(texture):v2u
Type Parameters
Section titled “Type Parameters”• T extends textureExternal | texture2d<TextureSampleTypes> | textureCube<TextureSampleTypes> | texture2dArray<TextureSampleTypes> | textureCubeArray<TextureSampleTypes> | textureStorage2d<StorageTextureFormats, GPUStorageTextureAccess> | textureStorage2dArray<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:479
Call Signature
Section titled “Call Signature”textureDimensions<
T>(texture,level):v2u
Type Parameters
Section titled “Type Parameters”• T extends texture2d<TextureSampleTypes> | textureCube<TextureSampleTypes> | texture2dArray<TextureSampleTypes> | textureCubeArray<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
number
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:479
Call Signature
Section titled “Call Signature”textureDimensions<
T>(texture):v3u
Type Parameters
Section titled “Type Parameters”• T extends texture3d<TextureSampleTypes> | textureStorage3d<StorageTextureFormats, GPUStorageTextureAccess>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
Returns
Section titled “Returns”Defined in
Section titled “Defined in”packages/typegpu/src/std/texture.ts:479
Call Signature
Section titled “Call Signature”textureDimensions<
T>(texture,level):v3u
Type Parameters
Section titled “Type Parameters”• T extends texture3d<TextureSampleTypes>
Parameters
Section titled “Parameters”texture
Section titled “texture”T
number