Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::InputStreamLayoutBuilder::BufferDescriptorBuilder Class Reference

#include <InputStreamLayoutBuilder.h>

Public Member Functions

BufferDescriptorBuilderChannel (AZStd::string_view semantic, Format format)
 Registers the next stream channel in the current buffer.
 
BufferDescriptorBuilderChannel (const ShaderSemantic &semantic, Format format)
 Registers the next stream channel in the current buffer.
 
BufferDescriptorBuilderPadding (uint32_t byteCount)
 Registers padding bytes that are unused in the current buffer.
 

Friends

class InputStreamLayoutBuilder
 

Detailed Description

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.


The documentation for this class was generated from the following file: