4 #ifndef _GRAPHICS_RENDERTARGET_H
5 #define _GRAPHICS_RENDERTARGET_H
Definition: RenderTarget.h:38
RenderTarget(const RenderTargetDesc &d)
Definition: RenderTarget.h:57
virtual ~RenderTarget()
Definition: RenderTarget.h:40
virtual void SetCubeFaceTexture(const Uint32, Texture *)=0
virtual Texture * GetDepthTexture() const =0
virtual void SetColorTexture(Texture *)=0
const RenderTargetDesc & GetDesc() const
Definition: RenderTarget.h:54
virtual void SetDepthTexture(Texture *)=0
virtual Texture * GetColorTexture() const =0
RenderTargetDesc m_desc
Definition: RenderTarget.h:60
Definition: Texture.h:106
Definition: Background.h:14
TextureFormat
Definition: Texture.h:14
Definition: RenderTarget.h:20
const Uint16 height
Definition: RenderTarget.h:31
RenderTargetDesc(Uint16 _width, Uint16 _height, TextureFormat _colorFormat, TextureFormat _depthFormat, bool _allowDepthTexture=false, Uint16 _samples=0)
Definition: RenderTarget.h:21
const Uint16 numSamples
Definition: RenderTarget.h:35
const TextureFormat colorFormat
Definition: RenderTarget.h:32
const Uint16 width
Definition: RenderTarget.h:30
const bool allowDepthTexture
Definition: RenderTarget.h:34
const TextureFormat depthFormat
Definition: RenderTarget.h:33