Blender V5.3
blender::ShaderCreateInfo::Resource Struct Reference

#include <gpu_shader_create_info.hh>

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 blender::gpu::shader::ShaderCreateInfo::Resource:: { ... }  

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()

Definition at line 1040 of file gpu_shader_create_info.hh.

Member Function Documentation

◆ operator==()

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

Definition at line 1046 of file gpu_shader_create_info.hh.

Member Data Documentation

◆ @075347162043127143117275072046032200024124276023

◆ bind_type

◆ conditions

◆ info_name

◆ slot


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