#ifndef SHADERRESOURCEVIEW_H
#define SHADERRESOURCEVIEW_H

#include "Descriptor.h"

class ShaderResourceView : public Descriptor
{
public:
	ShaderResourceView(
		ID3D12Device5* device,
		DescriptorHeap* descriptorHeap_CBV_UAV_SRV,
		D3D12_SHADER_RESOURCE_VIEW_DESC* srvDesc,
		Resource* resource);

	virtual ~ShaderResourceView();


private:
	void createShaderResourceView(
		ID3D12Device5* device,
		DescriptorHeap* descriptorHeap_CBV_UAV_SRV,
		D3D12_SHADER_RESOURCE_VIEW_DESC* srvDesc);
};

#endif
