Class DepthStencilView

Synopsis

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

class dlldecl DepthStencilView : public ResourceView<DsvHandle>

Description

No description yet.

Inheritance

Ancestors: ResourceView

Methods

create
getNullView

Source

Lines 124-135 in Source/Falcor/Core/API/ResourceViews.h.

class dlldecl DepthStencilView : public ResourceView<DsvHandle>
{
public:
    using SharedPtr = std::shared_ptr<DepthStencilView>;
    using SharedConstPtr = std::shared_ptr<const DepthStencilView>;
    static SharedPtr create(ConstTextureSharedPtrRef pTexture, uint32_t mipLevel, uint32_t firstArraySlice, uint32_t arraySize);
    static SharedPtr getNullView();
private:
    DepthStencilView(ResourceWeakPtr pResource, ApiHandle handle, uint32_t mipLevel, uint32_t firstArraySlice, uint32_t arraySize) :
        ResourceView(pResource, handle, mipLevel, 1, firstArraySlice, arraySize) {}
};





Add Discussion as Guest

Log in to DocsForge