Class ComputePool¶
- Defined in File ComputePool.h
Inheritance Relationships¶
Derived Types¶
public Azura::D3D12::D3D12ComputePool
(Class D3D12ComputePool)public Azura::Vulkan::VkComputePool
(Class VkComputePool)
Class Documentation¶
-
class
ComputePool
¶ Subclassed by Azura::D3D12::D3D12ComputePool, Azura::Vulkan::VkComputePool
Public Functions
-
ComputePool
(const ComputePoolCreateInfo &createInfo, DescriptorCount descriptorCount, Memory::Allocator &allocator)¶
-
virtual
~ComputePool
()¶
-
ComputePool
(const ComputePool &other)¶
-
ComputePool
(ComputePool &&other)¶
-
ComputePool &
operator=
(const ComputePool &other)¶
-
ComputePool &
operator=
(ComputePool &&other)¶
-
virtual void
BindUniformData
(SlotID slot, const U8 *buffer, U32 size) = 0¶
-
virtual void
AddShader
(U32 shaderId) = 0¶
-
virtual void
BindTextureData
(SlotID slot, const TextureDesc &desc, const U8 *buffer) = 0¶
-
virtual void
BindSampler
(SlotID slot, const SamplerDesc &desc) = 0¶
-
virtual void
BeginUpdates
() = 0¶
-
virtual void
UpdateUniformData
(SlotID slot, const U8 *buffer, U32 size) = 0¶
-
virtual void
UpdateTextureData
(SlotID slot, const U8 *buffer) = 0¶
-
virtual void
Submit
() = 0¶
-
virtual void
SubmitUpdates
() = 0¶
-
U32
GetSize
() const¶
-
bool
CanRenderInPass
(U32 renderPassId) const¶
Protected Functions
-
U32
GetSingleUniformBufferInfo
(const DescriptorSlot &slot)¶
-
U32
GetSingleTextureBufferInfo
(const DescriptorSlot &slot)¶
Protected Attributes
-
DescriptorCount
m_descriptorCount
¶
-
Containers::Vector<UniformBufferInfo>
m_uniformBufferInfos
¶
-
Containers::Vector<TextureBufferInfo>
m_textureBufferInfos
¶
-
Containers::Vector<SamplerInfo>
m_samplerInfos
¶
-
Containers::Vector<BufferUpdate>
m_bufferUpdates
¶
-
ThreadGroupDimensions
m_launchDims
¶
-