Blender V4.5
blender::gpu::shader::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()

blender::gpu::shader::ShaderCreateInfo::Resource::Resource ( BindType type,
int _slot )
inline

Definition at line 801 of file gpu_shader_create_info.hh.

References bind_type, and slot.

Referenced by operator==().

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ @260337342331042255035365044257376024076372254113

◆ bind_type

◆ slot

int blender::gpu::shader::ShaderCreateInfo::Resource::slot

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