script::dom::bindings::codegen::GenericBindings::WebGPUBinding

Trait GPUTextureMethods

Source
pub trait GPUTextureMethods<D>
where D: DomTypes,
{ // Required methods fn CreateView( &self, descriptor: &GPUTextureViewDescriptor, ) -> Result<Root<Dom<<D as DomTypes>::GPUTextureView>>, Error>; fn Destroy(&self); fn Width(&self) -> u32; fn Height(&self) -> u32; fn DepthOrArrayLayers(&self) -> u32; fn MipLevelCount(&self) -> u32; fn SampleCount(&self) -> u32; fn Dimension(&self) -> GPUTextureDimension; fn Format(&self) -> GPUTextureFormat; fn Usage(&self) -> u32; fn Label(&self) -> USVString; fn SetLabel(&self, value: USVString); }

Required Methods§

Implementors§