|
static Data::Instance< RPI::ShaderResourceGroup > | CreateShaderResourceGroup (Data::Instance< RPI::Shader > shader, const char *shaderResourceGroupId, const char *moduleName) |
|
static Data::Instance< RPI::Buffer > | CreateBuffer (const char *warningHeader, SrgBufferDescriptor &bufferDesc, Data::Instance< RPI::ShaderResourceGroup > srg=nullptr) |
|
static Data::Instance< RPI::Buffer > | CreateBufferAndBindToSrg (const char *warningHeader, SrgBufferDescriptor &bufferDesc, Data::Instance< RPI::ShaderResourceGroup > srg) |
|
static bool | BindBufferToSrg (const char *warningHeader, Data::Instance< RPI::Buffer > buffer, SrgBufferDescriptor &bufferDesc, Data::Instance< RPI::ShaderResourceGroup > srg=nullptr) |
|
static Data::Instance< RHI::BufferView > | CreateSharedBufferView (const char *warningHeader, SrgBufferDescriptor &bufferDesc, Data::Instance< Meshlets::SharedBufferAllocation > &bufferAllocator) |
|
static bool | BindBufferViewToSrg (const char *warningHeader, Data::Instance< RHI::BufferView > bufferView, SrgBufferDescriptor &bufferDesc, Data::Instance< RPI::ShaderResourceGroup > srg) |
|
static Data::Instance< RHI::BufferView > | CreateSharedBufferViewAndBindToSrg (const char *warningHeader, SrgBufferDescriptor &bufferDesc, Data::Instance< Meshlets::SharedBufferAllocation > &outputBufferAllocator, Data::Instance< RPI::ShaderResourceGroup > srg) |
|
static RHI::BufferViewDescriptor | CreateResourceViewWithDifferentFormat (uint32_t offsetInBytes, uint32_t elementCount, uint32_t elementSize, RHI::Format format, RHI::BufferBindFlags overrideBindFlags) |
|
◆ CreateResourceViewWithDifferentFormat()
static RHI::BufferViewDescriptor AZ::Meshlets::UtilityClass::CreateResourceViewWithDifferentFormat |
( |
uint32_t |
offsetInBytes, |
|
|
uint32_t |
elementCount, |
|
|
uint32_t |
elementSize, |
|
|
RHI::Format |
format, |
|
|
RHI::BufferBindFlags |
overrideBindFlags |
|
) |
| |
|
static |
Utility function to create a resource view into the shared buffer memory area. This resource view can have a different type than the shared buffer data. Since the shared buffer class is used as a buffer allocation for many sub-buffers, this method should be used after creating a new allocation within the shared buffer.
The documentation for this class was generated from the following file:
- Gems/Meshlets/Code/Source/Meshlets/MeshletsUtilities.h