#include <InputStreamLayoutBuilder.h>
Public Member Functions | |
BufferDescriptorBuilder * | Channel (AZStd::string_view semantic, Format format) |
Registers the next stream channel in the current buffer. | |
BufferDescriptorBuilder * | Channel (const ShaderSemantic &semantic, Format format) |
Registers the next stream channel in the current buffer. | |
BufferDescriptorBuilder * | Padding (uint32_t byteCount) |
Registers padding bytes that are unused in the current buffer. | |
Friends | |
class | InputStreamLayoutBuilder |
Used to build the stream channel content of a stream buffer. The byte-position of each channel and the total number of stride bytes for the buffer descriptor are calculated automatically based on the Channels and Padding that are registered. Note that all padding in the structure must be registered including at the end of the structure, not just between channels, in order to calculate the correct stride.