Kohi Game Engine
rendergraph_source Struct Reference

Represents some source of data/resource, to be plugged into a sink. More...

#include <rendergraph.h>

Data Fields

char * name
 
b8 is_bound
 Indicates if this source has been bound. More...
 
rendergraph_resource_type type
 The type of resource held in this source. More...
 
union {
   ktexture   t
 A pointer to the underlying texture resource. More...
 
   u64   u64
 A copy of the underlying unsigned int resource. More...
 
value
 The resource value. More...
 

Detailed Description

Represents some source of data/resource, to be plugged into a sink.

Field Documentation

◆ is_bound

b8 is_bound

Indicates if this source has been bound.

◆ name

char* name

◆ t

A pointer to the underlying texture resource.

◆ type

The type of resource held in this source.

◆ u64

A copy of the underlying unsigned int resource.

◆ 

union { ... } value

The resource value.


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