Blender
V3.3
|
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 |
Definition at line 54 of file gpu_codegen.cc.
using GPUCodegenCreateInfo::NameBuffer::NameEntry = std::array<char, 32> |
Definition at line 55 of file gpu_codegen.cc.
|
inline |
Definition at line 63 of file gpu_codegen.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by GPUCodegen::generate_resources().
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().
blender::Vector<std::unique_ptr<NameEntry>, 16> GPUCodegenCreateInfo::NameBuffer::sampler_names |
Definition at line 60 of file gpu_codegen.cc.
char GPUCodegenCreateInfo::NameBuffer::var_names[16][8] |
Definition at line 59 of file gpu_codegen.cc.
Referenced by GPUCodegen::generate_attribs().