minigpu library
Classes
- Buffer
- A buffer.
- ComputeShader
- A compute shader.
- ExternalFence
- ExternalPlane
- ExternalVideoBuffer
- Minigpu
- Controls the initialization and destruction of the minigpu context.
-
Opaque handle to a cross-API shared output texture. On Windows this is a
D3D12 resource exported as an NT shared handle that an external API
(e.g. FFmpeg's D3D11 device) can open with
OpenSharedResource1. - PlatformVideoTexture
- Opaque handle to an imported video texture on the GPU.
- ShaderCacheStats
- Snapshot of persistent shader cache counters.
- A cross-API shared GPU output texture (RGBA8).
- VideoTexture
- An imported GPU video texture (zero-copy from a MiniAV frame or similar).
Enums
- BufferDataType
- Enum representing supported buffer data types.
- ExternalContentType
- ExternalPixelFormat
Functions
-
getBufferSizeForType(
BufferDataType type, int count) → int -
getWGSLType(
BufferDataType type) → String