Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::GfxComputeSource Struct Reference

A compute program's source. Compute is WGSL only: GLSL ES 3.00 has no compute stage. More...

#include <GfxEnums.hpp>

Public Attributes

GfxShaderLanguage language = GfxShaderLanguage::WGSL
const char * source = nullptr
const char * entry = "main"
 The @compute entry point.

Detailed Description

A compute program's source. Compute is WGSL only: GLSL ES 3.00 has no compute stage.

Definition at line 673 of file GfxEnums.hpp.

Member Data Documentation

◆ entry

const char* esengine::GfxComputeSource::entry = "main"

The @compute entry point.

Definition at line 677 of file GfxEnums.hpp.

Referenced by esengine::GfxDevice::createCompute().

◆ language

GfxShaderLanguage esengine::GfxComputeSource::language = GfxShaderLanguage::WGSL

Definition at line 674 of file GfxEnums.hpp.

Referenced by esengine::GfxDevice::createCompute().

◆ source

const char* esengine::GfxComputeSource::source = nullptr

Definition at line 675 of file GfxEnums.hpp.

Referenced by esengine::GfxDevice::createCompute().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/rhi/GfxEnums.hpp