Module ul_next::gpu_driver
source · Expand description
Ultralight custom gpu driver.
Ultralight allows to create a custom GPU driver to receive low level GPU commands and render them on custom Textures, which can be used to integrate to your game/application seamlessly.
There is an example C++
implementation for OpenGL
, DirectX11
, DirectX12
and Metal
in the AppCore
repository.
This library also have a custom GPU driver for [glium
].
Structs§
- The GPU state description to be used when handling draw command. (See
GpuCommand::DrawGeometry
). - Index buffer. (See
GpuDriver::create_geometry
). - RenderBuffer description. (See
GpuDriver::create_render_buffer
). - Vertex buffer, the buffer is used for
quad
orpath
rendering based on theformat
. (SeeGpuDriver::create_geometry
).
Enums§
- The GPU command to be executed.
- Shader types, used by
GpuState::shader_type
- Vertex buffer format types
Traits§
GpuDriver
trait, dispatches GPU calls to the native driver.