class WGPU::Buffer

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::BufferDescriptor) #

[View source]

Instance Method Detail

def finalize #

[View source]
def get_mapped_range(start : UInt64, size : UInt64) #

[View source]
def is_mapped? #

[View source]
def map_read_async(start : UInt64, size : UInt64) #

[View source]
def map_write_async(start : UInt64, size : UInt64) #

[View source]
def read_only : Bool #

[View source]
def status : BufferMapAsyncStatus #

[View source]
def unmap #

[View source]