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

Trait GPUTextureMethods

Source
pub(crate) trait GPUTextureMethods<D: DomTypes> {
    // Required methods
    fn CreateView(
        &self,
        descriptor: &GPUTextureViewDescriptor,
    ) -> Fallible<DomRoot<D::GPUTextureView>>;
    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§