Search Results for

    Show / Hide Table of Contents

    Class GPUBufferViewVulkan

    The buffer view for Vulkan backend.

    Inheritance
    Object
    ScriptingObject
    GPUResourceView
    GPUBufferView
    GPUBufferViewVulkan
    Inherited Members
    ScriptingObject::_gcHandle
    ScriptingObject::_id
    GPUResourceView::_parent
    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::DescriptorAsDynamicUniformBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range, uint32& dynamicOffset)
    DescriptorOwnerResourceVulkan::DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)
    DescriptorOwnerResourceVulkan::DescriptorAsSampler(GPUContextVulkan* context, VkSampler& sampler)
    DescriptorOwnerResourceVulkan::DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)
    ScriptingObject::DestroyManaged()
    GPUResourceView::DummyLastRenderTime
    Object::Flags
    ScriptingObject::FromInterface(void* interfaceObj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::FromInterface(T* interfaceObj)
    ScriptingObject::GetClass()
    ScriptingObject::GetID()
    ScriptingObject::GetManagedInstance()
    ScriptingObject::GetOrCreateManagedInstance()
    GPUResourceView::GetParent()
    ScriptingObject::GetType()
    ScriptingObject::GetTypeHandle()
    GPUBufferView::GPUBufferView()
    GPUResourceView::GPUResourceView(const SpawnParams& params)
    ScriptingObject::HasManagedInstance()
    ScriptingObject::Is(const ScriptingTypeHandle& type)
    ScriptingObject::Is(const MClass* type)
    ScriptingObject::Is()
    ScriptingObject::IsRegistered()
    GPUResourceView::LastRenderTime
    ScriptingObject::NewObject(const ScriptingTypeHandle& typeHandle)
    ScriptingObject::NewObject()
    ScriptingObject::OnDeleteObject()
    ScriptingObject::OnManagedInstanceDeleted()
    ScriptingObject::OnScriptingDispose()
    ScriptingObject::RegisterObject()
    ScriptingObject::ScriptingObject(const SpawnParams& params)
    ScriptingObject::SetManagedInstance(MObject* instance)
    GPUBufferViewVulkan
    ScriptingObject::ToInterface(ScriptingObject* obj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::ToInterface(ScriptingObject* obj)
    ScriptingObject::ToManaged(const ScriptingObject* obj)
    ScriptingObject::ToNative(MObject* obj)
    ScriptingObject::ToString()
    ScriptingObject::UnregisterObject()
    DescriptorOwnerResourceVulkan::~DescriptorOwnerResourceVulkan()
    Object::~Object()
    ScriptingObject::~ScriptingObject()
    Assembly: FlaxEngine.dll
    File: Engine/GraphicsDevice/Vulkan/GPUBufferVulkan.h
    Syntax
    public class GPUBufferViewVulkan : public GPUBufferView, public DescriptorOwnerResourceVulkan

    Constructors

    GPUBufferViewVulkan()

    Declaration
    public GPUBufferViewVulkan()

    Fields

    Buffer

    Declaration
    public VkBuffer Buffer = VK_NULL_HANDLE
    Field Value
    VkBuffer

    Device

    Declaration
    public GPUDeviceVulkan* Device = nullptr
    Field Value
    GPUDeviceVulkan

    Owner

    Declaration
    public GPUBufferVulkan* Owner = nullptr
    Field Value
    GPUBufferVulkan

    Size

    Declaration
    public VkDeviceSize Size = 0
    Field Value
    VkDeviceSize

    View

    Declaration
    public VkBufferView View = VK_NULL_HANDLE
    Field Value
    VkBufferView

    Methods

    DescriptorAsStorageBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range)

    Gets the storage buffer descriptor (VK_DESCRIPTOR_TYPE_STORAGE_BUFFER).

    Declaration
    public virtual void DescriptorAsStorageBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range) 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).

    Overrides
    DescriptorOwnerResourceVulkan::DescriptorAsStorageBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range)

    DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)

    Gets the storage texel buffer descriptor (VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER).

    Declaration
    public virtual void DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView) override
    Parameters
    GPUContextVulkan context

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

    VkBufferView bufferView

    The buffer view.

    Overrides
    DescriptorOwnerResourceVulkan::DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)

    DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)

    Gets the uniform texel buffer descriptor (VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER).

    Declaration
    public virtual void DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView) override
    Parameters
    GPUContextVulkan context

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

    VkBufferView bufferView

    The buffer view.

    Overrides
    DescriptorOwnerResourceVulkan::DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)

    GetNativePtr()

    Gets the native pointer to the underlying view. It's a platform-specific handle.

    Declaration
    public virtual void* GetNativePtr() const override
    Returns
    void

    Overrides
    GPUResourceView::GetNativePtr()

    HasSRV()

    Declaration
    public virtual bool HasSRV() const override
    Returns
    bool

    Overrides
    DescriptorOwnerResourceVulkan::HasSRV()

    HasUAV()

    Declaration
    public virtual bool HasUAV() const override
    Returns
    bool

    Overrides
    DescriptorOwnerResourceVulkan::HasUAV()

    Init(GPUDeviceVulkan* device, GPUBufferVulkan* owner, VkBuffer buffer, VkDeviceSize size, VkBufferUsageFlags usage, PixelFormat format)

    Declaration
    public void Init(GPUDeviceVulkan* device, GPUBufferVulkan* owner, VkBuffer buffer, VkDeviceSize size, VkBufferUsageFlags usage, PixelFormat format)
    Parameters
    GPUDeviceVulkan device

    GPUBufferVulkan owner

    VkBuffer buffer

    VkDeviceSize size

    VkBufferUsageFlags usage

    PixelFormat format

    Release()

    Declaration
    public void Release()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat