Class ConstantBufferView

Synopsis

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

class dlldecl ConstantBufferView : public ResourceView<CbvHandle>

Description

No description yet.

Inheritance

Ancestors: ResourceView

Methods

create overload
getNullView

Source

Lines 195-208 in Source/Falcor/Core/API/ResourceViews.h.

class dlldecl ConstantBufferView : public ResourceView<CbvHandle>
{
public:
    using SharedPtr = std::shared_ptr<ConstantBufferView>;
    using SharedConstPtr = std::shared_ptr<const ConstantBufferView>;
    static SharedPtr create(ConstBufferSharedPtrRef pBuffer);
    static SharedPtr create();
    static SharedPtr getNullView();
private:
    ConstantBufferView(ResourceWeakPtr pResource, ApiHandle handle) :
        ResourceView(pResource, handle, 0, 1, 0, 1) {}
};





Add Discussion as Guest

Log in