class WGPU::SwapChain

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, surface : Surface, descriptor : SwapChainDescriptor) #

[View source]

Instance Method Detail

def current_texture_view #

[View source]
def descriptor : SwapChainDescriptor #

[View source]
def format #

[View source]
def height #

[View source]
def present #

[View source]
def present_mode #

[View source]
def size #

[View source]
def width #

[View source]