LiteFX::Rendering::Backends::VulkanCommandBuffer::bind¶
bind overloads
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Binds an arbitrary input range of descriptor sets to the last pipeline that was used by the command buffer.
[[dllimport, dllexport]] virtual void bind(Span<VulkanDescriptorSet const*> descriptorSets) const override;
Binds an arbitrary input range of descriptor sets to the last pipeline that was used by the command buffer.
[[dllimport]] virtual void bind(Span<descriptor_set_type const*> descriptorSets) const = 0;
Binds a index buffer to the pipeline.
[[dllimport, dllexport]] virtual void bind(IVulkanIndexBuffer const& buffer) const noexcept override;
Binds a vertex buffer to the pipeline.
[[dllimport, dllexport]] virtual void bind(IVulkanVertexBuffer const& buffer) const noexcept override;
Binds the provided descriptor to the last pipeline that was used by the command buffer.
[[dllimport, dllexport]] virtual void bind(VulkanDescriptorSet const& descriptorSet) const override;
Binds the provided descriptor to the last pipeline that was used by the command buffer.
[[dllimport]] virtual void bind(descriptor_set_type const& descriptorSet) const = 0;
Binds a index buffer to the pipeline.
[[dllimport]] virtual void bind(index_buffer_type const& buffer) const noexcept = 0;
Binds a vertex buffer to the pipeline.
[[dllimport]] virtual void bind(vertex_buffer_type const& buffer) const noexcept = 0;
Binds an arbitrary input range of descriptor sets to the provided pipeline.
[[dllimport, dllexport]] virtual void bind(
Span<VulkanDescriptorSet const*> descriptorSets,
VulkanPipelineState const& pipeline) const override;
Binds an arbitrary input range of descriptor sets to the provided pipeline.
[[dllimport]] virtual void bind(
Span<descriptor_set_type const*> descriptorSets,
pipeline_type const& pipeline) const = 0;
Binds the provided descriptor set to the provided pipeline.
[[dllimport, dllexport]] virtual void bind(
VulkanDescriptorSet const& descriptorSet,
VulkanPipelineState const& pipeline) const override;
Binds the provided descriptor set to the provided pipeline.
[[dllimport]] virtual void bind(
descriptor_set_type const& descriptorSet,
pipeline_type const& pipeline) const = 0;
Parameters¶
| Name | Description |
|---|---|
| descriptorSets | The pointers to the descriptor sets to bind. |
| buffer | The index buffer to bind to the pipeline. |
| descriptorSet | The descriptor set to bind. |
| pipeline | The pipeline to bind the descriptor set to. |
See Also¶
IndexBuffer
drawIndexed
VertexBuffer
draw
use