Blender V4.5
ShaderCreateInfo::Resource Struct Reference

#include <gpu_shader_create_info.hh>

Classes

union  [union].__unnamed0__

Public Types

enum  BindType { UNIFORM_BUFFER = 0 , STORAGE_BUFFER , SAMPLER , IMAGE }

Public Member Functions

 Resource (BindType type, int _slot)
bool operator== (const Resource &b) const

Public Attributes

BindType bind_type
int slot
union  

Detailed Description

Definition at line 784 of file gpu_shader_create_info.hh.

Member Enumeration Documentation

◆ BindType

Enumerator
UNIFORM_BUFFER 
STORAGE_BUFFER 
SAMPLER 
IMAGE 

Definition at line 785 of file gpu_shader_create_info.hh.

Constructor & Destructor Documentation

◆ Resource()

Member Function Documentation

◆ operator==()

bool blender::gpu::shader::ShaderCreateInfo::Resource::operator== ( const Resource & b) const
inline

Definition at line 803 of file gpu_shader_create_info.hh.

Member Data Documentation

◆ @260337342331042255035365044257376024076372254113

◆ bind_type

◆ slot


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