11 #ifndef TurtleBrains_RenderTarget_hpp
12 #define TurtleBrains_RenderTarget_hpp
14 #include <turtle_brains/graphics/tb_texture_manager.hpp>
24 enum class TargetType {
40 static void CreateGraphicsContext(
void);
41 static void DestroyGraphicsContext(
void);
134 std::unique_ptr<tbImplementation::RenderTargetData> mData;
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
Definition: tb_render_target.hpp:34
bool IsTextureValid(void) const
Definition: tb_noncopyable.hpp:22
tbGraphics::TextureHandle GetDepthTextureHandle(void) const
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
float GetAspectRatio(void) const
void BindRenderTarget(void) const
tbCore::uint16 PixelSpace
Definition: tb_texture_manager.hpp:36
void SetMipmap(bool doMipmaps)
void ManagePixelData(const bool managePixelData)
void UnbindRenderTarget(void) const
RenderTarget(const PixelSpace &targetWidth, const PixelSpace &targetHeight, const TargetType &targetType=TargetType::Color)
PixelSpace GetHeight(void) const
PixelSpace GetWidth(void) const
Definition: tb_application_dialog.hpp:19
tbGraphics::TextureHandle GetTextureHandle(void) const