enum WGPU::TextureUsage

Defined in:

wgpu.cr

Enum Members

None = 0_u32
CopySrc = 1_u32
CopyDst = 2_u32
Sampled = 4_u32
Storage = 8_u32
OutputAttachment = 16_u32

DEPRECATED Since wgpu-native 0.7, use TextureUsage::RenderAttachment.

RenderAttachment = 16_u32
Force32 = 2147483647_u32

Instance Method Summary

Instance Method Detail

def copy_dst? #

[View source]
def copy_src? #

[View source]
def force32? #

[View source]
def none? #

[View source]
def output_attachment? #

[View source]
def render_attachment? #

[View source]
def sampled? #

[View source]
def storage? #

[View source]