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

The bytecode is SPIR-V on Vulkan and MSL source text on Metal. More...

#include <rhi_shader.h>

Public Attributes

RHI_SHADER_TYPE type = RHI_SHADER_TYPE::VERTEX
 
const uint8_t * bytecode = nullptr
 
size_t sizeBytes = 0
 

Detailed Description

The bytecode is SPIR-V on Vulkan and MSL source text on Metal.

Definition at line 34 of file rhi_shader.h.

Member Data Documentation

◆ bytecode

const uint8_t* RHI_SHADER_DESC::bytecode = nullptr

◆ sizeBytes

size_t RHI_SHADER_DESC::sizeBytes = 0

◆ type

RHI_SHADER_TYPE RHI_SHADER_DESC::type = RHI_SHADER_TYPE::VERTEX

Definition at line 36 of file rhi_shader.h.

Referenced by RHI_GAL_PIPELINES::loadShaderPair().


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