Search Results for

    Show / Hide Table of Contents

    Class GPUConstantBufferVulkan

    Constant Buffer for Vulkan backend.

    Inheritance
    Object
    ScriptingObject
    GPUResource
    GPUConstantBuffer
    GPUResourceBase
    GPUResourceVulkan
    GPUConstantBufferVulkan
    Inherited Members
    GPUResourceBase::_device
    ScriptingObject::_gcHandle
    ScriptingObject::_id
    GPUResource::_memoryUsage
    GPUResource::_nameCapacity
    GPUResource::_namePtr
    GPUResource::_nameSize
    GPUConstantBuffer::_size
    ScriptingObject::_type
    ScriptingObject::CanCast(const ScriptingTypeHandle& from, const ScriptingTypeHandle& to)
    ScriptingObject::CanCast(const MClass* from, const MClass* to)
    ScriptingObject::Cast(ScriptingObject* obj)
    ScriptingObject::ChangeID(const Guid& newId)
    ScriptingObject::CreateManaged()
    ScriptingObject::CreateManagedInternal()
    ScriptingObject::Deleted
    Object::DeleteObject(float timeToLive = 0.0f, bool useGameTime=false)
    Object::DeleteObjectNow()
    DescriptorOwnerResourceVulkan::DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)
    DescriptorOwnerResourceVulkan::DescriptorAsSampler(GPUContextVulkan* context, VkSampler& sampler)
    DescriptorOwnerResourceVulkan::DescriptorAsStorageBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range)
    DescriptorOwnerResourceVulkan::DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)
    DescriptorOwnerResourceVulkan::DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)
    DescriptorOwnerResourceVulkan::DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)
    ScriptingObject::DestroyManaged()
    Object::Flags
    ScriptingObject::FromInterface(void* interfaceObj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::FromInterface(T* interfaceObj)
    ScriptingObject::GetClass()
    GPUResourceBase::GetDevice()
    ScriptingObject::GetID()
    ScriptingObject::GetManagedInstance()
    GPUResource::GetMemoryUsage()
    GPUResource::GetName()
    ScriptingObject::GetOrCreateManagedInstance()
    GPUConstantBuffer::GetResourceType()
    GPUConstantBuffer::GetSize()
    ScriptingObject::GetType()
    ScriptingObject::GetTypeHandle()
    GPUResource::GPUResource()
    GPUResource::GPUResource(const SpawnParams& params)
    GPUResourceBase::GPUResourceBase(DeviceType* device, const StringView& name)
    GPUResourceVulkan::GPUResourceVulkan(GPUDeviceVulkan* device, const StringView& name)
    ScriptingObject::HasManagedInstance()
    DescriptorOwnerResourceVulkan::HasSRV()
    DescriptorOwnerResourceVulkan::HasUAV()
    ScriptingObject::Is(const ScriptingTypeHandle& type)
    ScriptingObject::Is(const MClass* type)
    ScriptingObject::Is()
    ScriptingObject::IsRegistered()
    GPUResource::LastRenderTime
    ScriptingObject::NewObject(const ScriptingTypeHandle& typeHandle)
    ScriptingObject::NewObject()
    GPUResource::OnDeleteObject()
    GPUResourceBase::OnDeviceDispose()
    ScriptingObject::OnManagedInstanceDeleted()
    GPUResource::OnReleaseGPU()
    ScriptingObject::OnScriptingDispose()
    ScriptingObject::RegisterObject()
    GPUResource::ReleaseGPU()
    GPUResource::Releasing
    ScriptingObject::ScriptingObject(const SpawnParams& params)
    ScriptingObject::SetManagedInstance(MObject* instance)
    GPUResource::SetName(const StringView& name)
    GPUConstantBufferVulkan
    ScriptingObject::ToInterface(ScriptingObject* obj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::ToInterface(ScriptingObject* obj)
    ScriptingObject::ToManaged(const ScriptingObject* obj)
    ScriptingObject::ToNative(MObject* obj)
    GPUResource::ToString()
    ScriptingObject::UnregisterObject()
    DescriptorOwnerResourceVulkan::~DescriptorOwnerResourceVulkan()
    GPUResource::~GPUResource()
    GPUResourceBase::~GPUResourceBase()
    Object::~Object()
    ScriptingObject::~ScriptingObject()
    Assembly: FlaxEngine.dll
    File: Engine/GraphicsDevice/Vulkan/GPUShaderVulkan.h
    Syntax
    public class GPUConstantBufferVulkan : public GPUResourceVulkan, public DescriptorOwnerResourceVulkan

    Constructors

    GPUConstantBufferVulkan(GPUDeviceVulkan* device, uint32 size)

    Initializes a new instance of the GPUConstantBufferVulkan class.

    Declaration
    public GPUConstantBufferVulkan(GPUDeviceVulkan* device, uint32 size) noexcept
    Parameters
    GPUDeviceVulkan device

    The graphics device.

    uint32 size

    The buffer size (in bytes).

    Fields

    Allocation

    The last uploaded data inside the shared uniforms uploading ring buffer.

    Declaration
    public UniformBufferUploaderVulkan::Allocation Allocation
    Field Value
    UniformBufferUploaderVulkan::Allocation

    Methods

    DescriptorAsDynamicUniformBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range, uint32& dynamicOffset)

    Gets the dynamic uniform buffer descriptor (VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC).

    Declaration
    public virtual void DescriptorAsDynamicUniformBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range, uint32& dynamicOffset) override
    Parameters
    GPUContextVulkan context

    The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.

    VkBuffer buffer

    The buffer.

    VkDeviceSize offset

    The range offset (in bytes).

    VkDeviceSize range

    The range size (in bytes).

    uint32 dynamicOffset

    The dynamic offset (in bytes).

    Overrides
    DescriptorOwnerResourceVulkan::DescriptorAsDynamicUniformBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range, uint32& dynamicOffset)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat