#include <SharedBuffer.h>
Public Attributes | |
RPI::CommonBufferPoolType | m_poolType |
Pool type to determine how a resource pool should be generated. | |
RHI::Format | m_elementFormat |
uint32_t | m_elementSize |
The size in bytes of each element in the stream. | |
uint32_t | m_elementCount |
Amount of elements required to create the buffer. | |
Name | m_bufferName |
The name used for the buffer view. | |
Name | m_paramNameInSrg |
The name used by the shader Srg in the GPU for this shader parameter. | |
uint32_t | m_resourceShaderIndex |
The assigned SRG slot in the CPU / GPU for this shader resource. | |
uint32_t | m_viewOffsetInBytes |
This structure contains information regarding the naming of the buffer on both the CPU and the GPU This structure is also used to determine the maximum alignment required for the buffer when allocating sub-buffers
RHI::Format AZ::Render::SrgBufferDescriptor::m_elementFormat |
The format used for the buffer Should be Unknown for structured buffers, or R32 for raw buffers.
uint32_t AZ::Render::SrgBufferDescriptor::m_viewOffsetInBytes |
If using a buffer view within a shared buffer, this represents the view offset from the shared buffer origin in bytes.