Blender V5.3
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 ,
  ACCELERATION_STRUCTURE
}

Public Member Functions

 Resource (const ShaderCreateInfo &info, BindType type, int _slot, ConditionFn cond)
bool operator== (const Resource &b) const

Public Attributes

StringRefNull info_name
BindType bind_type
int slot
Conditions conditions
union  

Detailed Description

Definition at line 1018 of file gpu_shader_create_info.hh.

Member Enumeration Documentation

◆ BindType

Enumerator
UNIFORM_BUFFER 
STORAGE_BUFFER 
SAMPLER 
IMAGE 
ACCELERATION_STRUCTURE 

Definition at line 1019 of file gpu_shader_create_info.hh.

Constructor & Destructor Documentation

◆ Resource()

blender::gpu::shader::ShaderCreateInfo::Resource::Resource ( const ShaderCreateInfo & info,
BindType type,
int _slot,
ConditionFn cond )
inline

Member Function Documentation

◆ operator==()

Member Data Documentation

◆ @075347162043127143117275072046032200024124276023

◆ bind_type

◆ conditions

Conditions blender::gpu::shader::ShaderCreateInfo::Resource::conditions

◆ info_name

StringRefNull blender::gpu::shader::ShaderCreateInfo::Resource::info_name

Definition at line 1028 of file gpu_shader_create_info.hh.

Referenced by Resource().

◆ slot


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