Class UnorderedAccessView

Synopsis

#include <Source/Falcor/Core/API/ResourceViews.h>

class dlldecl UnorderedAccessView : public ResourceView<UavHandle>

Description

No description yet.

Inheritance

Ancestors: ResourceView

Methods

create overload
getNullView

Source

Lines 158-176 in Source/Falcor/Core/API/ResourceViews.h.

class dlldecl UnorderedAccessView : public ResourceView<UavHandle>
{
public:
    using SharedPtr = std::shared_ptr<UnorderedAccessView>;
    using SharedConstPtr = std::shared_ptr<const UnorderedAccessView>;
    static SharedPtr create(ConstTextureSharedPtrRef pTexture, uint32_t mipLevel, uint32_t firstArraySlice, uint32_t arraySize);
    static SharedPtr create(ConstBufferSharedPtrRef pBuffer, uint32_t firstElement, uint32_t elementCount);
    static SharedPtr create(Dimension dimension);
    static SharedPtr getNullView(Dimension dimension);
private:
    UnorderedAccessView(ResourceWeakPtr pResource, ApiHandle handle, uint32_t mipLevel, uint32_t firstArraySlice, uint32_t arraySize) :
        ResourceView(pResource, handle, mipLevel, 1, firstArraySlice, arraySize) {}
    UnorderedAccessView(ResourceWeakPtr pResource, ApiHandle handle, uint32_t firstElement, uint32_t elementCount)
        : ResourceView(pResource, handle, firstElement, elementCount) {}
};





Add Discussion as Guest

Log in