Kohi Game Engine
vulkan_shader_instance_state Struct Reference

The instance-level state for a shader. More...

#include <vulkan_types.h>

Data Fields

u32 id
 The instance id. INVALID_ID if not used. More...
 
u64 offset
 The offset in bytes in the instance uniform buffer. More...
 
vulkan_shader_descriptor_set_state descriptor_set_state
 A state for the descriptor set. More...
 
struct texture_map ** instance_texture_maps
 Instance texture map pointers, which are used during rendering. These are set by calls to set_sampler. More...
 

Detailed Description

The instance-level state for a shader.

Field Documentation

◆ descriptor_set_state

vulkan_shader_descriptor_set_state descriptor_set_state

A state for the descriptor set.

◆ id

u32 id

The instance id. INVALID_ID if not used.

◆ instance_texture_maps

struct texture_map** instance_texture_maps

Instance texture map pointers, which are used during rendering. These are set by calls to set_sampler.

◆ offset

u64 offset

The offset in bytes in the instance uniform buffer.


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