Blender  V3.3
Public Types | Public Member Functions | Public Attributes | List of all members
GPUCodegenCreateInfo::NameBuffer Struct Reference

Public Types

using NameEntry = std::array< char, 32 >
 

Public Member Functions

const char * append_sampler_name (const char name[32])
 

Public Attributes

char attr_names [16][GPU_MAX_SAFE_ATTR_NAME+1]
 
char var_names [16][8]
 
blender::Vector< std::unique_ptr< NameEntry >, 16 > sampler_names
 

Detailed Description

Definition at line 54 of file gpu_codegen.cc.

Member Typedef Documentation

◆ NameEntry

using GPUCodegenCreateInfo::NameBuffer::NameEntry = std::array<char, 32>

Definition at line 55 of file gpu_codegen.cc.

Member Function Documentation

◆ append_sampler_name()

const char* GPUCodegenCreateInfo::NameBuffer::append_sampler_name ( const char  name[32])
inline

Member Data Documentation

◆ attr_names

char GPUCodegenCreateInfo::NameBuffer::attr_names[16][GPU_MAX_SAFE_ATTR_NAME+1]

Duplicate attribute names to avoid reference the GPUNodeGraph directly.

Definition at line 58 of file gpu_codegen.cc.

Referenced by GPUCodegen::generate_attribs().

◆ sampler_names

blender::Vector<std::unique_ptr<NameEntry>, 16> GPUCodegenCreateInfo::NameBuffer::sampler_names

Definition at line 60 of file gpu_codegen.cc.

◆ var_names

char GPUCodegenCreateInfo::NameBuffer::var_names[16][8]

Definition at line 59 of file gpu_codegen.cc.

Referenced by GPUCodegen::generate_attribs().


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