class WGPU::CommandEncoder

Defined in:

wgpu.cr

Constructors

Instance Method Summary

Instance methods inherited from class WGPU::WgpuId

finalize finalize, id : Pointer(Void) id, is_valid? is_valid?, to_unsafe : Pointer(Void) to_unsafe

Constructor Detail

def self.new(device : Device, descriptor : LibWGPU::CommandEncoderDescriptor) #

[View source]

Instance Method Detail

def begin_render_pass(descriptor : LibWGPU::RenderPassDescriptor) #

[View source]
def copy_texture_to_buffer(source : LibWGPU::ImageCopyTexture, destination : LibWGPU::ImageCopyBuffer, copy_size : LibWGPU::Extent3D) #

[View source]
def finish #

[View source]