31 virtual bool IsValid()
const = 0;
57 bool AddCopy(std::shared_ptr<Texture> source,
58 std::shared_ptr<Texture> destination,
59 std::optional<IRect> source_region = std::nullopt,
60 IPoint destination_origin = {},
61 std::string label =
"");
81 bool AddCopy(std::shared_ptr<Texture> source,
82 std::shared_ptr<DeviceBuffer> destination,
83 std::optional<IRect> source_region = std::nullopt,
84 size_t destination_offset = 0,
85 std::string label =
"");
103 std::shared_ptr<Texture> destination,
104 IPoint destination_origin = {},
105 std::string label =
"");
116 bool GenerateMipmap(std::shared_ptr<Texture> texture, std::string label =
"");
127 const std::shared_ptr<Allocator>& transients_allocator)
const = 0;
134 virtual void OnSetLabel(std::string label) = 0;
137 std::shared_ptr<Texture> source,
138 std::shared_ptr<Texture> destination,
140 IPoint destination_origin,
141 std::string label) = 0;
144 std::shared_ptr<Texture> source,
145 std::shared_ptr<DeviceBuffer> destination,
147 size_t destination_offset,
148 std::string label) = 0;
152 std::shared_ptr<Texture> destination,
153 IPoint destination_origin,
154 std::string label) = 0;
157 std::string label) = 0;
160 FML_DISALLOW_COPY_AND_ASSIGN(
BlitPass);