#include <ShaderAppendBuffer.hpp>
|
C3D_API | ShaderAppendBuffer (RenderDevice const &device, VkDeviceSize size, castor::String const &name) |
| Constructor.
|
|
C3D_API VkDescriptorSetLayoutBinding | createLayoutBinding (uint32_t index=0u, VkShaderStageFlags stages=(VK_SHADER_STAGE_FRAGMENT_BIT|VK_SHADER_STAGE_GEOMETRY_BIT|VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT|VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT|VK_SHADER_STAGE_VERTEX_BIT)) const |
| Creates the descriptor set layout binding at given point.
|
|
C3D_API void | createPassBinding (crg::FramePass &pass, uint32_t binding) const |
| Creates a frame pass binding.
|
|
C3D_API ashes::WriteDescriptorSet | getBinding (uint32_t binding) const |
| Creates the descriptor write for this buffer.
|
|
C3D_API void | createBinding (ashes::DescriptorSet &descriptorSet, VkDescriptorSetLayoutBinding const &binding) const |
| Creates the descriptor set binding at given point.
|
|
|
VkDeviceSize | getSize () const noexcept |
|
RenderDevice const & | getDevice () const noexcept |
|
ashes::BufferBase const & | getBuffer () const noexcept |
|
◆ ShaderAppendBuffer()
Constructor.
- Parameters
-
[in] | device | The GPU device. |
[in] | size | The buffer size. |
[in] | name | The shader buffer name. |
◆ createBinding()
C3D_API void castor3d::ShaderAppendBuffer::createBinding |
( |
ashes::DescriptorSet & | descriptorSet, |
|
|
VkDescriptorSetLayoutBinding const & | binding ) const |
Creates the descriptor set binding at given point.
- Parameters
-
[in,out] | descriptorSet | Receives the created binding. |
[in] | binding | The descriptor set layout binding. |
◆ createLayoutBinding()
C3D_API VkDescriptorSetLayoutBinding castor3d::ShaderAppendBuffer::createLayoutBinding |
( |
uint32_t | index = 0u, |
|
|
VkShaderStageFlags | stages = (VK_SHADER_STAGE_FRAGMENT_BIT|VK_SHADER_STAGE_GEOMETRY_BIT|VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT|VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT|VK_SHADER_STAGE_VERTEX_BIT) ) const |
Creates the descriptor set layout binding at given point.
- Parameters
-
[in] | index | The binding point index. |
[in] | stages | The shader stages. |
◆ createPassBinding()
C3D_API void castor3d::ShaderAppendBuffer::createPassBinding |
( |
crg::FramePass & | pass, |
|
|
uint32_t | binding ) const |
Creates a frame pass binding.
◆ getBinding()
C3D_API ashes::WriteDescriptorSet castor3d::ShaderAppendBuffer::getBinding |
( |
uint32_t | binding | ) |
const |
Creates the descriptor write for this buffer.
- Parameters
-
[in] | binding | The descriptor set layout binding. |
◆ getBuffer()
ashes::BufferBase const & castor3d::ShaderAppendBuffer::getBuffer |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDevice()
RenderDevice const & castor3d::ShaderAppendBuffer::getDevice |
( |
| ) |
const |
|
inlinenoexcept |
◆ getSize()
VkDeviceSize castor3d::ShaderAppendBuffer::getSize |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: