libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Fast::ShaderProgramMetal Struct Reference

Cached Metal shader program and pipeline variants for one combiner key. More...

#include <gfx_metal.h>

Public Attributes

uint64_t shader_id0
 
uint64_t shader_id1
 
uint8_t numInputs
 
uint8_t numFloats
 
bool usedTextures [SHADER_MAX_TEXTURES]
 
bool markedForDeletion = false
 
MTL::RenderPipelineState * pipeline_state_variants [9]
 

Detailed Description

Cached Metal shader program and pipeline variants for one combiner key.

Member Data Documentation

◆ markedForDeletion

bool Fast::ShaderProgramMetal::markedForDeletion = false

◆ numFloats

uint8_t Fast::ShaderProgramMetal::numFloats

◆ numInputs

uint8_t Fast::ShaderProgramMetal::numInputs

◆ pipeline_state_variants

MTL::RenderPipelineState* Fast::ShaderProgramMetal::pipeline_state_variants[9]

◆ shader_id0

uint64_t Fast::ShaderProgramMetal::shader_id0

◆ shader_id1

uint64_t Fast::ShaderProgramMetal::shader_id1

◆ usedTextures

bool Fast::ShaderProgramMetal::usedTextures[SHADER_MAX_TEXTURES]

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