32 uint32_t memory_type_bits_requirement,
33 vk::PhysicalDeviceMemoryProperties& memory_properties);
40 bool supports_memoryless_textures);
47 std::weak_ptr<Context> context_;
48 std::weak_ptr<DeviceHolderVK> device_holder_;
49 ISize max_texture_size_;
50 bool is_valid_ =
false;
51 bool supports_memoryless_textures_ =
false;
53 bool created_buffer_pool_ =
true;
54 vk::PhysicalDeviceMemoryProperties memory_properties_;
57 uint32_t vulkan_api_version,
59 const std::shared_ptr<DeviceHolderVK>& device_holder,
static int32_t FindMemoryTypeIndex(uint32_t memory_type_bits_requirement, vk::PhysicalDeviceMemoryProperties &memory_properties)
Select a matching memory type for the given [memory_type_bits_requirement], or -1 if none is found.
VkPhysicalDevice physical_device
uint32_t uint32_t * format
static void usage(char *argv0)
A lightweight object that describes the attributes of a texture that can then used an allocator to cr...