|
| VertexAttachment (uint32_t inputLocation, const std::string &name, VertexAttachmentFormat format) noexcept |
|
|
uint32_t | inputLocation |
|
std::string | name |
|
VertexAttachmentFormat | format |
|
uint32_t | offset |
|
◆ VertexAttachment()
vkcv::VertexAttachment::VertexAttachment |
( |
uint32_t |
inputLocation, |
|
|
const std::string & |
name, |
|
|
VertexAttachmentFormat |
format |
|
) |
| |
|
noexcept |
Describes an individual vertex input attribute/attachment.
- Parameters
-
inputLocation | its location in the vertex shader. |
name | the name referred to in the shader. |
format | the format (and therefore, the size) this attachment is in. The offset is calculated when a collection of attachments forms a binding, hence the friend declaration. |
The documentation for this struct was generated from the following files: