Interface GPUTextureViewDescriptor
arrayLayerCount?: number;
aspect?: GPUTextureAspect;
baseArrayLayer?: number;
baseMipLevel?: number;
dimension?: GPUTextureViewDimension;
format?: GPUTextureFormat;
label?: string;
mipLevelCount?: number;
usage?: number;
}
                 
                    
                  Hierarchy
              
              - GPUObjectDescriptorBase- GPUTextureViewDescriptor (View Summary)
 
 Properties
OptionalarrayLayerCount  
Optionalaspect
Which aspect(s) of the texture are accessible to the texture view.
OptionalbaseArrayLayer  
The index of the first array layer accessible to the texture view.
OptionalbaseMipLevel  
The first (most detailed) mipmap level accessible to the texture view.
Optionaldimension
The dimension to view the texture as.
Optionalformat
The format of the texture view. Must be either the GPUTextureDescriptor#format of the texture or one of the GPUTextureDescriptor#viewFormats specified during its creation.
Optionallabel
The initial value of GPUObjectBase.label.
OptionalmipLevelCount  
How many mipmap levels, starting with GPUTextureViewDescriptor#baseMipLevel, are accessible to the texture view.
Optionalusage
The allowed usage(s) for the texture view. Must be a subset of the GPUTexture#usage flags of the texture. If 0, defaults to the full set of GPUTexture#usage flags of the texture. Note: If the view's GPUTextureViewDescriptor#format doesn't support all of the texture's GPUTextureDescriptor#usages, the default will fail, and the view's GPUTextureViewDescriptor#usage must be specified explicitly.
How many array layers, starting with GPUTextureViewDescriptor#baseArrayLayer, are accessible to the texture view.