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_bufferornew_texture, the memory allocated along with the resource cannot be used for creating another resource by callingnew_aliasing_bufferornew_aliasing_texture.