class new in Git master
PipelineLayoutCreateInfoPipeline layout creation info.
Wraps a VkPipelineLayoutCreateInfo. See Pipeline layout creation for usage information.
Constructors, destructors, conversion operators
-
PipelineLayoutCreateInfo(Containers::
ArrayView<const VkDescriptorSetLayout> descriptorSetLayouts = {}) explicit - Constructor.
-
PipelineLayoutCreateInfo(std::
initializer_list<VkDescriptorSetLayout> descriptorSetLayouts) explicit - PipelineLayoutCreateInfo(NoInitT) explicit noexcept
- Construct without initializing the contents.
- PipelineLayoutCreateInfo(const VkPipelineLayoutCreateInfo& info) explicit
- Construct from existing data.
- PipelineLayoutCreateInfo(const PipelineLayoutCreateInfo&) deleted
- Copying is not allowed.
- PipelineLayoutCreateInfo(PipelineLayoutCreateInfo&& other) noexcept
- Move constructor.
- operator const VkPipelineLayoutCreateInfo*() const
Public functions
- auto operator=(const PipelineLayoutCreateInfo&) -> PipelineLayoutCreateInfo& deleted
- Copying is not allowed.
- auto operator=(PipelineLayoutCreateInfo&& other) -> PipelineLayoutCreateInfo& noexcept
- Move assignment.
- auto operator*() -> VkPipelineLayoutCreateInfo&
- Underlying VkPipelineLayoutCreateInfo structure.
- auto operator*() const -> const VkPipelineLayoutCreateInfo&
- auto operator->() -> VkPipelineLayoutCreateInfo*
- auto operator->() const -> const VkPipelineLayoutCreateInfo*
Function documentation
Magnum:: Vk:: PipelineLayoutCreateInfo:: PipelineLayoutCreateInfo(Containers:: ArrayView<const VkDescriptorSetLayout> descriptorSetLayouts = {}) explicit
Constructor.
Parameters | |
---|---|
descriptorSetLayouts | Descriptor set layouts used in this pipeline layout |
The following VkPipelineLayoutCreateInfo fields are pre-filled in addition to sType
, everything else is zero-filled:
setLayoutCount
andpSetLayouts
to a copy ofdescriptorSetLayouts
Magnum:: Vk:: PipelineLayoutCreateInfo:: PipelineLayoutCreateInfo(std:: initializer_list<VkDescriptorSetLayout> descriptorSetLayouts) explicit
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Magnum:: Vk:: PipelineLayoutCreateInfo:: PipelineLayoutCreateInfo(NoInitT) explicit noexcept
Construct without initializing the contents.
Note that not even the sType
field is set — the structure has to be fully initialized afterwards in order to be usable.
Magnum:: Vk:: PipelineLayoutCreateInfo:: PipelineLayoutCreateInfo(const VkPipelineLayoutCreateInfo& info) explicit
Construct from existing data.
Copies the existing values verbatim, pointers are kept unchanged without taking over the ownership. Modifying the newly created instance will not modify the original data nor the pointed-to data.
Magnum:: Vk:: PipelineLayoutCreateInfo:: operator const VkPipelineLayoutCreateInfo*() const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const VkPipelineLayoutCreateInfo& Magnum:: Vk:: PipelineLayoutCreateInfo:: operator*() const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
VkPipelineLayoutCreateInfo* Magnum:: Vk:: PipelineLayoutCreateInfo:: operator->()
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const VkPipelineLayoutCreateInfo* Magnum:: Vk:: PipelineLayoutCreateInfo:: operator->() const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.