5#ifndef FCT_PASSRESOURCE_H
6#define FCT_PASSRESOURCE_H
43 std::vector<std::pair<Sampler*,SamplerElement>>
m_samplers;
virtual void addSampler(Sampler *sampler, SamplerElement element)=0
virtual void bind(RHI::CommandBuffer *cmdBuf, RHI::Pipeline *pipeline)=0
std::vector< std::pair< Sampler *, SamplerElement > > m_samplers
virtual void addConstBuffer(RHI::ConstBuffer *buffer)=0
virtual void addTexture(Image *texture, TextureElement element)=0
virtual void markAllDescriptorSetsNeedRecreate()=0
bool isBound(const TextureElement &element) const
std::vector< RHI::ConstBuffer * > m_constBuffers
std::unordered_map< TextureElement, Image * > m_textures
virtual void setTexture(Image *texture, TextureElement element)=0