Module gpu_driver

Module 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.

Modules§

gliumglium
A custom GpuDriver implementation for the glium backend.

Structs§

GpuState
The GPU state description to be used when handling draw command. (See GpuCommand::DrawGeometry).
IndexBuffer
Index buffer. (See GpuDriver::create_geometry).
RenderBuffer
RenderBuffer description. (See GpuDriver::create_render_buffer).
VertexBuffer
Vertex buffer, the buffer is used for quad or path rendering based on the format. (See GpuDriver::create_geometry).

Enums§

GpuCommand
The GPU command to be executed.
ShaderType
Shader types, used by GpuState::shader_type
VertexBufferFormat
Vertex buffer format types

Traits§

GpuDriver
GpuDriver trait, dispatches GPU calls to the native driver.