Luna::RHI::TextureUsageFlag
enum TextureUsageFlag : u16
{
copy_source= 0x01
copy_dest= 0x02
read_texture= 0x04
read_write_texture= 0x08
color_attachment= 0x10
depth_stencil_attachment= 0x20
resolve_attachment= 0x40
cube= 0x80
}
Specifies possible usages of one texture resource.
Options
-
Allows this texture to be bound as copy source.
-
Allows this texture to be bound as copy destination.
-
Allows this texture to be bound to a read texture view.
-
Allows this texture to be bound to a read-write texture view.
-
Allows this texture to be bound as color attachment.
-
Allows this texture to be bound as depth stencil attachment.
-
Allows this texture to be bound to a resolve attachment.
-
Allows this texture to be bound as a texture cube view.