Render system descriptor structure.
More...
#include <RenderSystemFlags.h>
|
| StringLiteral | moduleName |
| | Specifies the name from which the new render system is to be loaded.
|
| long | flags = 0 |
| | Render system flags. This can be a bitwise OR combination of RenderSystemFlags entries. By default 0.
|
| void * | profiler = nullptr |
| RenderingDebugger * | debugger = nullptr |
| | debugger Optional pointer to a rendering debugger. This is only supported if LLGL was compiled with the LLGL_ENABLE_DEBUG_LAYER flag.
|
| const void * | rendererConfig = nullptr |
| | Optional raw pointer to a renderer specific configuration structure.
|
| std::size_t | rendererConfigSize = 0 |
| | Specifies the size (in bytes) of the structure rendererConfig points to (use sizeof with the respective structure). By default 0.
|
| const void * | nativeHandle = nullptr |
| | Optional raw pointer to a backend specific native handle structure. If this is null (default), the render system creates its own native handles. These native handles can later be queried via RenderSystem::GetNativeHandle.
|
| std::size_t | nativeHandleSize = 0 |
| | Specifies the size (in bytes) of the structure nativeHandle points to (use sizeof with the respective structure). By default 0.
|
| void * | platformContext = nullptr |
| | Optional raw pointer to a platform specific context structure the render system is brought up with. By default null.
|
| std::size_t | platformContextSize = 0 |
| | Specifies the size (in bytes) of the structure platformContext points to (use sizeof with the respective structure). By default 0.
|
Render system descriptor structure.
- See also
- RenderSystem::Load
◆ RenderSystemDescriptor() [1/3]
| LLGL::RenderSystemDescriptor::RenderSystemDescriptor |
( |
| ) |
|
|
default |
◆ RenderSystemDescriptor() [2/3]
| LLGL::RenderSystemDescriptor::RenderSystemDescriptor |
( |
const std::string & | moduleName | ) |
|
|
inline |
Constructor to initialize the descriptor with the module name from an std::string.
◆ RenderSystemDescriptor() [3/3]
| LLGL::RenderSystemDescriptor::RenderSystemDescriptor |
( |
const char * | moduleName | ) |
|
|
inline |
Constructor to initialize the descriptor with the module name from a null terminated string.
◆ debugger
debugger Optional pointer to a rendering debugger. This is only supported if LLGL was compiled with the LLGL_ENABLE_DEBUG_LAYER flag.
◆ flags
| long LLGL::RenderSystemDescriptor::flags = 0 |
◆ moduleName
Specifies the name from which the new render system is to be loaded.
◆ nativeHandle
| const void* LLGL::RenderSystemDescriptor::nativeHandle = nullptr |
Optional raw pointer to a backend specific native handle structure. If this is null (default), the render system creates its own native handles. These native handles can later be queried via RenderSystem::GetNativeHandle.
- See also
- RenderSystem::GetNativeHandle
- Note
- Currently only supported for OpenGL (Windows and Linux), D3D11, D3D12, and Vulkan.
- Todo
- Add support for all other backends.
◆ nativeHandleSize
| std::size_t LLGL::RenderSystemDescriptor::nativeHandleSize = 0 |
Specifies the size (in bytes) of the structure nativeHandle points to (use sizeof with the respective structure). By default 0.
- See also
- nativeHandle
◆ platformContext
| void* LLGL::RenderSystemDescriptor::platformContext = nullptr |
Optional raw pointer to a platform specific context structure the render system is brought up with. By default null.
- See also
- platformContextSize
-
AndroidContext
◆ platformContextSize
| std::size_t LLGL::RenderSystemDescriptor::platformContextSize = 0 |
Specifies the size (in bytes) of the structure platformContext points to (use sizeof with the respective structure). By default 0.
- See also
- platformContext
◆ profiler
| void* LLGL::RenderSystemDescriptor::profiler = nullptr |
◆ rendererConfig
| const void* LLGL::RenderSystemDescriptor::rendererConfig = nullptr |
◆ rendererConfigSize
| std::size_t LLGL::RenderSystemDescriptor::rendererConfigSize = 0 |
Specifies the size (in bytes) of the structure rendererConfig points to (use sizeof with the respective structure). By default 0.
- See also
- rendererConfig
The documentation for this struct was generated from the following file: