69 virtual void Bind()
const = 0;
86 virtual void Resize(
int Width,
int Height) = 0;
virtual ~frame_buffer()=default
virtual const frame_buffer_props & GetFrameBufferProps() const =0
virtual void Resize(int Width, int Height)=0
virtual void Bind() const =0
virtual const shared< texture_2d > & GetColorAttachment(int Index=0) const =0
virtual void SetFrameBufferProps(const frame_buffer_props &Props)=0
virtual void Unbind() const =0
static shared< frame_buffer > Create(const frame_buffer_props &Props)
virtual const shared< texture_2d > & GetDepthAttachment(int Index=0) const =0
std::shared_ptr< T > shared
Render primitive abstract class definition module.
int DepthAttachmentsCount
frame_buffer_props(int Width, int Height, int Samples=1, bool IsSwapChainTarget=true, int ColorAttachmentsCount=1, int DepthAttachmentsCount=1, bool IsHDR=false)
frame_buffer_props()=default
int ColorAttachmentsCount