Luna::RHI::ResourceFlag
enum ResourceFlag : u16
{
allow_aliasing= 0x01
}
Specifies additional flags for one resource.
Options
-
Specify this flag will allow multiple resources sharing the same memory with this resource. If this flag is not set when calling
new_buffer
ornew_texture
, the memory allocated along with the resource cannot be used for creating another resource by callingnew_aliasing_buffer
ornew_aliasing_texture
.