17 VALIDATION_LOG <<
"Cannot bind vertex buffer with an unknown index type.";
27 const ShaderUniformSlot& slot,
28 const ShaderMetadata& metadata,
30 return DoBindResource(stage, slot, &metadata, std::move(view));
36 const ShaderUniformSlot& slot,
37 const std::shared_ptr<const ShaderMetadata>& metadata,
39 return DoBindResource(stage, slot, metadata, std::move(view));
44 const ShaderUniformSlot& slot,
62 VALIDATION_LOG <<
"Use ComputeCommands for compute shader stages.";
72 const SampledImageSlot& slot,
73 const ShaderMetadata& metadata,
74 std::shared_ptr<const Texture>
texture,
75 const std::unique_ptr<const Sampler>& sampler) {
87 .texture = {&metadata, std::move(
texture)},
94 .texture = {&metadata, std::move(
texture)},
99 VALIDATION_LOG <<
"Use ComputeCommands for compute shader stages.";
static constexpr size_t kReservedVertexBufferIndex
#define FML_DCHECK(condition)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
Resource< BufferView > BufferResource
std::vector< BufferAndUniformSlot > buffers
std::vector< TextureAndSampler > sampled_images
Bindings fragment_bindings
VertexBuffer vertex_buffer
The bound per-vertex data and optional index buffer.
bool BindVertices(VertexBuffer buffer)
Specify the vertex and index buffer to use for this command.
bool BindResource(ShaderStage stage, DescriptorType type, const ShaderUniformSlot &slot, const ShaderMetadata &metadata, BufferView view) override