Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::ShaderEntryPoint Struct Reference

One entry point and its source-derived interface ranges. More...

#include "donner/gpu/shader/CompiledShader.h"

Public Attributes

ShaderName name
 Authored entry-point name.
ShaderStage stage = ShaderStage::None
 Exactly one shader stage.
std::array< uint32_t, 3 > workgroupSize = {1, 1, 1}
 Compute workgroup dimensions only.
uint32_t firstInput = 0
 First input in the artifact interface-variable array.
uint32_t inputCount = 0
 Number of flattened inputs.
uint32_t firstOutput = 0
 First output in the artifact interface-variable array.
uint32_t outputCount = 0
 Number of flattened outputs.
uint32_t resourceMask = 0
 Bit i identifies an accessed resource in the artifact.

Detailed Description

One entry point and its source-derived interface ranges.

Member Data Documentation

◆ firstInput

uint32_t donner::gpu::shader::ShaderEntryPoint::firstInput = 0

First input in the artifact interface-variable array.

◆ firstOutput

uint32_t donner::gpu::shader::ShaderEntryPoint::firstOutput = 0

First output in the artifact interface-variable array.

◆ inputCount

uint32_t donner::gpu::shader::ShaderEntryPoint::inputCount = 0

Number of flattened inputs.

◆ name

ShaderName donner::gpu::shader::ShaderEntryPoint::name

Authored entry-point name.

◆ outputCount

uint32_t donner::gpu::shader::ShaderEntryPoint::outputCount = 0

Number of flattened outputs.

◆ resourceMask

uint32_t donner::gpu::shader::ShaderEntryPoint::resourceMask = 0

Bit i identifies an accessed resource in the artifact.

◆ stage

ShaderStage donner::gpu::shader::ShaderEntryPoint::stage = ShaderStage::None

Exactly one shader stage.

◆ workgroupSize

std::array<uint32_t, 3> donner::gpu::shader::ShaderEntryPoint::workgroupSize = {1, 1, 1}

Compute workgroup dimensions only.


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