|
| template<typename T > |
| span< T > | kanzi::gfx::allocateCommandBufferCommands (const CommandBufferHandleGuard &handle, uint32_t count) |
| | Allocates typed command buffer memory.
|
| |
| KANZI_GFX_API span< byte > | kanzi::gfx::allocateCommandBufferMemory (const CommandBufferHandleGuard &handle, uint32_t size) |
| | Allocates raw memory into a command buffer.
|
| |
| KANZI_GFX_API void | kanzi::gfx::cleanupThread () |
| | Cleans up per-thread resources.
|
| |
| KANZI_GFX_API HandleGuard< BlendStateHandle > | kanzi::gfx::create (const BlendStateCreateInfo &info) |
| | Creates a blend state graphics object.
|
| |
| KANZI_GFX_API HandleGuard< BottomLevelAccelerationStructureHandle > | kanzi::gfx::create (const BottomLevelAccelerationStructureCreateInfo &info) |
| | Creates a bottom level acceleration structure graphics object.
|
| |
| KANZI_GFX_API HandleGuard< BufferHandle > | kanzi::gfx::create (const BufferCreateInfo &info) |
| | Creates a buffer graphics object.
|
| |
| KANZI_GFX_API HandleGuard< CommandBufferHandle > | kanzi::gfx::create (const CommandBufferCreateInfo &info) |
| | Creates a command buffer graphics object.
|
| |
| KANZI_GFX_API HandleGuard< ComputePipelineHandle > | kanzi::gfx::create (const ComputePipelineCreateInfo &info) |
| | Creates a compute pipeline graphics object.
|
| |
| KANZI_GFX_API HandleGuard< ComputeResourceSetHandle > | kanzi::gfx::create (const ComputeResourceSetCreateInfo &info) |
| | Creates a compute resource set graphics object.
|
| |
| KANZI_GFX_API HandleGuard< DepthStencilStateHandle > | kanzi::gfx::create (const DepthStencilStateCreateInfo &info) |
| | Creates a depth stencil state graphics object.
|
| |
| KANZI_GFX_API HandleGuard< FrameBufferHandle > | kanzi::gfx::create (const FrameBufferCreateInfo &info) |
| | Creates a frame buffer graphics object.
|
| |
| KANZI_GFX_API HandleGuard< GpuFenceHandle > | kanzi::gfx::create (const GpuFenceCreateInfo &info) |
| | Creates a GPU fence graphics object.
|
| |
| KANZI_GFX_API HandleGuard< GPUSceneHandle > | kanzi::gfx::create (const GPUSceneCreateInfo &info) |
| | Creates a GPU scene object.
|
| |
| KANZI_GFX_API HandleGuard< ImageHandle > | kanzi::gfx::create (const ImageCreateInfo &info) |
| | Creates an image graphics object.
|
| |
| KANZI_GFX_API HandleGuard< QueryPoolHandle > | kanzi::gfx::create (const QueryPoolCreateInfo &info) |
| | Creates a GPU query pool graphics object.
|
| |
| KANZI_GFX_API HandleGuard< RasterStateHandle > | kanzi::gfx::create (const RasterStateCreateInfo &info) |
| | Creates a raster state graphics object.
|
| |
| KANZI_GFX_API HandleGuard< RenderPassHandle > | kanzi::gfx::create (const RenderPassCreateInfo &info) |
| | Creates a render pass graphics object.
|
| |
| KANZI_GFX_API HandleGuard< RenderPipelineHandle > | kanzi::gfx::create (const RenderPipelineCreateInfo &info) |
| | Creates a render pipeline graphics object.
|
| |
| KANZI_GFX_API HandleGuard< RenderResourceSetHandle > | kanzi::gfx::create (const RenderResourceSetCreateInfo &info) |
| | Creates a render resource set graphics object.
|
| |
| KANZI_GFX_API HandleGuard< SamplerHandle > | kanzi::gfx::create (const SamplerCreateInfo &info) |
| | Creates a sampler graphics object.
|
| |
| KANZI_GFX_API HandleGuard< ShaderHandle > | kanzi::gfx::create (const ShaderCreateInfo &info) |
| | Creates a shader graphics object.
|
| |
| KANZI_GFX_API HandleGuard< TopLevelAccelerationStructureHandle > | kanzi::gfx::create (const TopLevelAccelerationStructureCreateInfo &info) |
| | Creates a top level acceleration structure graphics object.
|
| |
| KANZI_GFX_API HandleGuard< VertexInputStateHandle > | kanzi::gfx::create (const VertexInputStateCreateInfo &info) |
| | Creates a vertex input state graphics object.
|
| |
| KANZI_GFX_API BackendInformation | kanzi::gfx::getBackendInformation () |
| | Gets information about the current backend.
|
| |
| KANZI_GFX_API uint64_t | kanzi::gfx::getDeviceAddress (const BufferHandleGuard &handle) |
| | Gets the GPU virtual address of a buffer for use with shader buffer device address (BDA).
|
| |
| KANZI_GFX_API uint32_t | kanzi::gfx::getDeviceProperty (DevicePropertyId property) |
| | Gets the value of a property for the current device.
|
| |
| KANZI_GFX_API FormatFeatureFlag | kanzi::gfx::getFormatFeatures (Format format) |
| | Gets device feature flags for a format for the current backend and device.
|
| |
| KANZI_GFX_API AttachmentDescriptionSet | kanzi::gfx::getFrameBufferAttachmentDescriptionSet (const FrameBufferHandleGuard &handle) |
| | Gets a default frame buffer attachment description set that is compatible with a frame buffer.
|
| |
| KANZI_GFX_API ObjectStatus | kanzi::gfx::getStatus (const RenderPipelineHandleGuard &handle) |
| | Gets the status of a render pipeline graphics object.
|
| |
| KANZI_GFX_API ObjectStatus | kanzi::gfx::getStatus (const ShaderHandleGuard &handle) |
| | Gets the status of a shader graphics object.
|
| |
| KANZI_GFX_API bool | kanzi::gfx::initialize (const InitializationInfo &info) |
| | Initializes the Kanzi graphics library.
|
| |
| KANZI_GFX_API bool | kanzi::gfx::isFeatureEnabled (FeatureId feature) |
| | Returns whether a graphics feature is supported by the current backend and device.
|
| |
| KANZI_GFX_API bool | kanzi::gfx::isInitialized () |
| | Returns whether the graphics library is initialized.
|
| |
| KANZI_GFX_API bool | kanzi::gfx::isNativeTextureHandleTypeSupported (const gfx::NativeTextureHandle &handle) |
| | Returns whether a native handle type for texture is supported by the current backend.
|
| |
| KANZI_GFX_API bool | kanzi::gfx::isShaderFormatSupported (ShaderFormat format) |
| | Returns whether a shader format is supported by the current backend and device.
|
| |
| KANZI_GFX_API span< byte > | kanzi::gfx::mapBuffer (const BufferHandleGuard &handle, uint32_t offset=0, uint32_t size=limits::MaxBufferSize) |
| | Maps buffer memory into CPU-addressable memory for reading or writing.
|
| |
| KANZI_GFX_API span< const byte > | kanzi::gfx::peekCommandBufferMemory (const CommandBufferHandleGuard &handle) |
| | Peeks at the currently allocated memory inside a command buffer.
|
| |
| KANZI_GFX_API void | kanzi::gfx::processCommands (CommandBufferHandleGuard commands, TaskFn callback={}) |
| | Notifies the backend to start processing the commands within a command buffer.
|
| |
| KANZI_GFX_API bool | kanzi::gfx::readQueryResults (QueryPoolHandleGuard handle, uint32_t first, span< uint64_t > results) |
| | Reads query results from a pool.
|
| |
| KANZI_GFX_API void | kanzi::gfx::resetGpuFence (const GpuFenceHandleGuard &handle) |
| | Resets the state of a GPU fence so that it can be used again.
|
| |
| KANZI_GFX_API void | kanzi::gfx::shutdown () |
| | Shuts down the graphics library.
|
| |
| KANZI_GFX_API void | kanzi::gfx::unmapBuffer (const BufferHandleGuard &handle) |
| | Unmaps buffer memory from CPU-addressable memory.
|
| |
| KANZI_GFX_API void | kanzi::gfx::unmapBuffer (const BufferHandleGuard &handle, span< ByteRange > updatedRanges) |
| | Unmaps buffer memory from CPU-addressable memory.
|
| |
| KANZI_GFX_API void | kanzi::gfx::updateSurfaceDimensions (const FrameBufferHandleGuard &handle, v2u32 dimensions) |
| | Updates the dimensions for a frame buffer that was created as an on-screen surface.
|
| |
| KANZI_GFX_API WaitResult | kanzi::gfx::waitForGpuFence (const GpuFenceHandleGuard &handle, chrono::nanoseconds timeout) |
| | Blocks the current thread until the GPU fence has been signaled or the timeout occurs.
|
| |