KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RHI_SHADER_BLOB Struct Reference

One shader stage as GenerateShaderHeader.cmake embeds it. More...

#include <rhi_shader.h>

Public Attributes

const uint8_t * spirv = nullptr
 
size_t spirvSize = 0
 
const char * msl = nullptr
 
size_t mslSize = 0
 

Detailed Description

One shader stage as GenerateShaderHeader.cmake embeds it.

The MSL text is present only in Metal builds.

Definition at line 45 of file rhi_shader.h.

Member Data Documentation

◆ msl

const char* RHI_SHADER_BLOB::msl = nullptr

Definition at line 49 of file rhi_shader.h.

Referenced by RHI_GAL_PIPELINES::loadShaderPair().

◆ mslSize

size_t RHI_SHADER_BLOB::mslSize = 0

Definition at line 50 of file rhi_shader.h.

◆ spirv

const uint8_t* RHI_SHADER_BLOB::spirv = nullptr

Definition at line 47 of file rhi_shader.h.

Referenced by RHI_VULKAN_DEVICE::CreateComputePipeline().

◆ spirvSize

size_t RHI_SHADER_BLOB::spirvSize = 0

Definition at line 48 of file rhi_shader.h.

Referenced by RHI_VULKAN_DEVICE::CreateComputePipeline().


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