Search Results for

    Show / Hide Table of Contents

    Class GPUTextureViewVulkan

    The texture view for Vulkan backend.

    Inheritance
    Object
    ScriptingObject
    GPUResourceView
    GPUTextureView
    GPUTextureViewVulkan
    Inherited Members
    GPUTextureView::_format
    ScriptingObject::_gcHandle
    ScriptingObject::_id
    GPUTextureView::_msaa
    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::DescriptorAsSampler(GPUContextVulkan* context, VkSampler& sampler)
    DescriptorOwnerResourceVulkan::DescriptorAsStorageBuffer(GPUContextVulkan* context, VkBuffer& buffer, VkDeviceSize& offset, VkDeviceSize& range)
    DescriptorOwnerResourceVulkan::DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)
    DescriptorOwnerResourceVulkan::DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, VkBufferView& bufferView)
    ScriptingObject::DestroyManaged()
    GPUResourceView::DummyLastRenderTime
    Object::Flags
    ScriptingObject::FromInterface(void* interfaceObj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::FromInterface(T* interfaceObj)
    ScriptingObject::GetClass()
    GPUTextureView::GetFormat()
    ScriptingObject::GetID()
    ScriptingObject::GetManagedInstance()
    GPUTextureView::GetMSAA()
    ScriptingObject::GetOrCreateManagedInstance()
    GPUResourceView::GetParent()
    ScriptingObject::GetType()
    ScriptingObject::GetTypeHandle()
    GPUResourceView::GPUResourceView(const SpawnParams& params)
    GPUTextureView::GPUTextureView()
    ScriptingObject::HasManagedInstance()
    GPUTextureView::Init(GPUResource* parent, PixelFormat format, MSAALevel msaa)
    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)
    GPUTextureViewVulkan
    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/GPUTextureVulkan.h
    Syntax
    public class GPUTextureViewVulkan : public GPUTextureView, public DescriptorOwnerResourceVulkan

    Constructors

    ~GPUTextureViewVulkan()

    Declaration
    public ~GPUTextureViewVulkan()

    GPUTextureViewVulkan()

    Declaration
    public GPUTextureViewVulkan()

    Fields

    Device

    Declaration
    public GPUDeviceVulkan* Device = nullptr
    Field Value
    GPUDeviceVulkan

    Extent

    Declaration
    public VkExtent3D Extent
    Field Value
    VkExtent3D

    Image

    Declaration
    public VkImage Image = VK_NULL_HANDLE
    Field Value
    VkImage

    Info

    Declaration
    public VkImageViewCreateInfo Info
    Field Value
    VkImageViewCreateInfo

    Layers

    Declaration
    public uint32 Layers
    Field Value
    uint32

    LayoutRTV

    Declaration
    public VkImageLayout LayoutRTV
    Field Value
    VkImageLayout

    LayoutSRV

    Declaration
    public VkImageLayout LayoutSRV
    Field Value
    VkImageLayout

    Owner

    Declaration
    public ResourceOwnerVulkan* Owner = nullptr
    Field Value
    ResourceOwnerVulkan

    SubresourceIndex

    Declaration
    public int32 SubresourceIndex
    Field Value
    int32

    View

    Declaration
    public VkImageView View = VK_NULL_HANDLE
    Field Value
    VkImageView

    ViewFramebuffer

    Declaration
    public VkImageView ViewFramebuffer = VK_NULL_HANDLE
    Field Value
    VkImageView

    ViewSRV

    Declaration
    public VkImageView ViewSRV = VK_NULL_HANDLE
    Field Value
    VkImageView

    Methods

    DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)

    Gets the image descriptor.

    Declaration
    public virtual void DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout) override
    Parameters
    GPUContextVulkan context

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

    VkImageView imageView

    The image view.

    VkImageLayout layout

    The image layout.

    Overrides
    DescriptorOwnerResourceVulkan::DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)

    DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)

    Gets the storage image descriptor (VK_DESCRIPTOR_TYPE_STORAGE_IMAGE).

    Declaration
    public virtual void DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout) override
    Parameters
    GPUContextVulkan context

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

    VkImageView imageView

    The image view.

    VkImageLayout layout

    The image layout.

    Overrides
    DescriptorOwnerResourceVulkan::DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)

    GetFramebufferView()

    Declaration
    public VkImageView GetFramebufferView()
    Returns
    VkImageView

    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, ResourceOwnerVulkan* owner, VkImage image, int32 totalMipLevels, PixelFormat format, MSAALevel msaa, VkExtent3D extent, VkImageViewType viewType, int32 mipLevels=1, int32 firstMipIndex = 0, int32 arraySize=1, int32 firstArraySlice = 0, bool readOnlyDepth=false)

    Declaration
    public void Init(GPUDeviceVulkan* device, ResourceOwnerVulkan* owner, VkImage image, int32 totalMipLevels, PixelFormat format, MSAALevel msaa, VkExtent3D extent, VkImageViewType viewType, int32 mipLevels=1, int32 firstMipIndex = 0, int32 arraySize=1, int32 firstArraySlice = 0, bool readOnlyDepth=false)
    Parameters
    GPUDeviceVulkan device

    ResourceOwnerVulkan owner

    VkImage image

    int32 totalMipLevels

    PixelFormat format

    MSAALevel msaa

    VkExtent3D extent

    VkImageViewType viewType

    int32 mipLevels

    int32 firstMipIndex

    int32 arraySize

    int32 firstArraySlice

    bool readOnlyDepth

    Release()

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