Elaztek Developer Hub
Blamite Game Engine - blam!  00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
compositor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OGRE/Compositor/Pass/OgreCompositorPassDef.h>
4 #include <OGRE/Compositor/Pass/OgreCompositorPassProvider.h>
5 #include <OGRE/Compositor/Pass/OgreCompositorPass.h>
6 
7 #ifndef BLAM
8 #define BLAM
9 #endif
10 
12 {
13  ImGui,
14  Undefined
15 };
16 
17 class BlamCompositorPassDefinition : public Ogre::CompositorPassDef
18 {
19 private:
21 
22 protected:
23  BlamCompositorPassDefinition(BlamCompositorPassType _pass_type, Ogre::CompositorTargetDef* parent_target_def);
24 
25 public:
27 };
28 
29 class BlamCompositorPassRegistry : public Ogre::CompositorPassProvider
30 {
31  Ogre::CompositorPassDef* addPassDef(Ogre::CompositorPassType pass_type, Ogre::IdString custom_id,
32  Ogre::CompositorTargetDef* parent_target_def, Ogre::CompositorNodeDef* parent_node_def) override;
33 
34  Ogre::CompositorPass* addPass(const Ogre::CompositorPassDef* definition, Ogre::Camera* default_camera,
35  Ogre::CompositorNode* parent_node, const Ogre::RenderTargetViewDef* rtv_def, Ogre::SceneManager* scene_manager) override;
36 };
BlamRendering::DirectX::WIC::ConvertWICBitmapToD2D
BLAM HRESULT ConvertWICBitmapToD2D(IWICBitmap *wic_bitmap, ID2D1Bitmap **d2d_bitmap)
Converts a WIC bitmap to a D2D bitmap.
Definition: wic.cpp:91
Blam::Logger::LogEvent
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
BlamRendering::DirectX::WIC::ConvertWICBitmapTo32bppPBGRA
BLAM HRESULT ConvertWICBitmapTo32bppPBGRA(IWICBitmap *source, IWICBitmap **destination)
Converts a WIC bitmap to a WIC bitmap, with the 32 bits-per-pixe, PBGRA format.
Definition: wic.cpp:58
logger.h
BlamCompositorPassType
BlamCompositorPassType
Definition: compositor.h:11
BlamCompositorPassDefinition::GetType
BlamCompositorPassType GetType() const
Definition: BlamCompositorPassDefinition.cpp:9
BlamRendering::DirectX::D2D::GetD2DRenderTarget
BLAM ID2D1DeviceContext * GetD2DRenderTarget()
Retrieves the Direct2D render target.
Definition: render_manage.cpp:598
BlamCompositorPassDefinition_ImGui
Definition: passes.h:17
BlamRendering::DirectX::WIC::CreateWICBitmapFromMemory
BLAM HRESULT CreateWICBitmapFromMemory(void *data, int size, IWICBitmap **bitmap_pointer)
Creates a WIC bitmap from a block of memory.
Definition: wic.cpp:173
rendering.h
BlamRendering::DirectX::WIC::Initialize
BLAM HRESULT Initialize()
Initializes the Windows Imaging Component (WIC).
Definition: wic.cpp:12
BlamCompositorPassDefinition
Definition: compositor.h:17
NULL
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
passes.h
BlamCompositorPassDefinition::BlamCompositorPassDefinition
BlamCompositorPassDefinition(BlamCompositorPassType _pass_type, Ogre::CompositorTargetDef *parent_target_def)
Definition: BlamCompositorPassDefinition.cpp:3
BlamRendering::DirectX::WIC::CreateD2DBitmapFromResource
BLAM HRESULT CreateD2DBitmapFromResource(int res_id, const char *res_type, ID2D1Bitmap **bitmap_pointer)
Creates a Direct2D bitmap from an application resource.
Definition: wic.cpp:262
BlamRendering::DirectX::WIC::CreateWICBitmapFromFile
BLAM HRESULT CreateWICBitmapFromFile(std::wstring path, IWICBitmap **bitmap_pointer)
Creates a WIC bitmap from a file.
Definition: wic.cpp:141
BlamCompositorPassType::Undefined
@ Undefined
BlamCompositorPassRegistry
Definition: compositor.h:29
BlamRendering::DirectX::WIC::GetWICFactory
BLAM IWICImagingFactory * GetWICFactory()
Retrieves the WIC Imaging Factory.
Definition: wic.cpp:53
core.h
Ogre
Definition: ogre2_imgui_manager.h:18
BlamRendering::DirectX::WIC::Shutdown
BLAM void Shutdown()
Shuts down the Windows Imaging Component (WIC).
Definition: wic.cpp:47
compositor.h
BlamCompositorPass_ImGui
Definition: passes.h:9
BlamRendering::DirectX::WIC::CreateD2DBitmapFromFile
BLAM HRESULT CreateD2DBitmapFromFile(std::wstring path, ID2D1Bitmap **bitmap_pointer)
Creates a Direct2D bitmap from a file.
Definition: wic.cpp:216
BlamCompositorPassType::ImGui
@ ImGui
source
const CharType(& source)[N]
Definition: pointer.h:1272