LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::ComputePipelineDescriptor Struct Reference

Compute pipeline state descriptor structure. More...

#include <PipelineStateFlags.h>

Public Attributes

const char * debugName = nullptr
 Optional name for debugging purposes. By default null.
const PipelineLayout * pipelineLayout = nullptr
 Pointer to an optional pipeline layout for the graphics pipeline.
Shader * computeShader = nullptr
 Specifies the compute shader.

Detailed Description

Compute pipeline state descriptor structure.

See also
RenderSystem::CreatePipelineState(const ComputePipelineDescriptor&)

Member Data Documentation

◆ computeShader

Shader* LLGL::ComputePipelineDescriptor::computeShader = nullptr

Specifies the compute shader.

Remarks
This must never be null when a compute PSO is created.

◆ debugName

const char* LLGL::ComputePipelineDescriptor::debugName = nullptr

Optional name for debugging purposes. By default null.

Remarks
The final name of the native hardware resource is implementation defined.
See also
RenderSystemChild::SetDebugName

◆ pipelineLayout

const PipelineLayout* LLGL::ComputePipelineDescriptor::pipelineLayout = nullptr

Pointer to an optional pipeline layout for the graphics pipeline.

Remarks
This layout determines at which slots buffer resources can be bound. This is ignored by render systems which do not support pipeline layouts.

The documentation for this struct was generated from the following file: