Class for the Vulkan plugin.
More...
#include <VULKN.hpp>
Class for the Vulkan plugin.
Definition at line 21 of file VULKN.hpp.
◆ VULKN() [1/3]
◆ ~VULKN()
◆ VULKN() [2/3]
| cae::VULKN::VULKN |
( |
const VULKN & | | ) |
|
|
delete |
◆ VULKN() [3/3]
| cae::VULKN::VULKN |
( |
VULKN && | | ) |
|
|
delete |
◆ createMesh()
| void cae::VULKN::createMesh |
( |
const std::vector< float > & | vertices | ) |
|
|
inlineoverridevirtual |
Create a mesh with the given vertex data.
- Parameters
-
| vertices | Vertex data to create the mesh |
Implements cae::IRenderer.
Definition at line 48 of file VULKN.hpp.
◆ createPipeline()
Create a rendering pipeline with vertex and fragment shaders.
- Parameters
-
| id | Shader ID |
| vertex | Vertex shader IR module |
| fragment | Fragment shader IR module |
Implements cae::IRenderer.
Definition at line 43 of file VULKN.hpp.
◆ draw()
| void cae::VULKN::draw |
( |
const WindowSize & | windowSize, |
|
|
const ShaderID & | shaderId, |
|
|
glm::mat4 | mvp ) |
|
inlineoverridevirtual |
Draw the scene using the specified shader and window size.
- Parameters
-
| windowSize | Current window size |
| shaderId | Shader ID to use for drawing |
| mvp | Model-View-Projection matrix |
Implements cae::IRenderer.
Definition at line 47 of file VULKN.hpp.
◆ getName()
| std::string cae::VULKN::getName |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
Get the name of the plugin.
- Returns
- The name of the plugin
Implements utl::IPlugin.
Definition at line 33 of file VULKN.hpp.
◆ getPlatform()
|
|
inlinenodiscardoverridevirtual |
Get the handled platform of the plugin.
- Returns
- The handled platform of the plugin
Implements utl::IPlugin.
Definition at line 35 of file VULKN.hpp.
References utl::ALL.
◆ getType()
|
|
inlinenodiscardoverridevirtual |
◆ initialize()
Initialize the renderer with a native window handle and clear color.
- Parameters
-
| nativeWindowHandle | Native window handle |
| clearColor | Clear color (default: white) |
Implements cae::IRenderer.
Definition at line 42 of file VULKN.hpp.
◆ isVSyncEnabled()
| bool cae::VULKN::isVSyncEnabled |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
Check if VSync is enabled.
- Returns
- Whether VSync is enabled
Implements cae::IRenderer.
Definition at line 40 of file VULKN.hpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setClearColor()
| void cae::VULKN::setClearColor |
( |
const Color & | color | ) |
|
|
inlineoverridevirtual |
◆ setVSyncEnabled()
| void cae::VULKN::setVSyncEnabled |
( |
bool | enabled | ) |
|
|
inlineoverridevirtual |
Enable or disable VSync.
- Parameters
-
| enabled | Whether VSync is enabled |
Implements cae::IRenderer.
Definition at line 37 of file VULKN.hpp.
The documentation for this class was generated from the following file:
- plugins/Renderer/Vulkan/include/VULKN/VULKN.hpp