|
Blender V4.3
|
#include "BLI_hash.hh"#include "BLI_string_ref.hh"#include "BLI_vector.hh"#include "GPU_common_types.hh"#include "GPU_material.hh"#include "GPU_texture.hh"#include <iostream>Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
| namespace | blender::gpu::shader |
Macros | |
| #define | GPU_FORCE_ENABLE_SHADER_PRINTF 0 |
| #define | GPU_SHADER_PRINTF_ENABLE 1 |
| #define | GPU_SHADER_PRINTF_SLOT 13 |
| #define | GPU_SHADER_PRINTF_MAX_CAPACITY (1024 * 4) |
| #define | GPU_SSBO_INDEX_BUF_SLOT 7 |
| #define | GPU_SHADER_INTERFACE_INFO(_interface, _inst_name) |
| #define | GPU_SHADER_CREATE_INFO(_info) |
| #define | TEST_EQUAL(a, b, _member) |
| #define | TEST_VECTOR_EQUAL(a, b, _vector) |
Functions | |
| static Type | blender::gpu::shader::to_type (const eGPUType type) |
| static std::ostream & | blender::gpu::shader::operator<< (std::ostream &stream, const Type type) |
| static std::ostream & | blender::gpu::shader::operator<< (std::ostream &stream, const eGPUType type) |
| blender::gpu::shader::ENUM_OPERATORS (BuiltinBits, BuiltinBits::USE_DEBUG_PRINT) | |
| blender::gpu::shader::ENUM_OPERATORS (Qualifier, Qualifier::QUALIFIER_MAX) | |
Descriptor type used to define shader structure, resources and interfaces.
Some rule of thumb:
Definition in file gpu_shader_create_info.hh.
| #define GPU_FORCE_ENABLE_SHADER_PRINTF 0 |
Definition at line 26 of file gpu_shader_create_info.hh.
| #define GPU_SHADER_CREATE_INFO | ( | _info | ) |
Definition at line 46 of file gpu_shader_create_info.hh.
| #define GPU_SHADER_INTERFACE_INFO | ( | _interface, | |
| _inst_name ) |
Definition at line 43 of file gpu_shader_create_info.hh.
| #define GPU_SHADER_PRINTF_ENABLE 1 |
Definition at line 29 of file gpu_shader_create_info.hh.
| #define GPU_SHADER_PRINTF_MAX_CAPACITY (1024 * 4) |
Definition at line 34 of file gpu_shader_create_info.hh.
Referenced by blender::gpu::printf_begin(), and blender::gpu::printf_end().
| #define GPU_SHADER_PRINTF_SLOT 13 |
Definition at line 33 of file gpu_shader_create_info.hh.
Referenced by GPU_shader_bind().
| #define GPU_SSBO_INDEX_BUF_SLOT 7 |
Definition at line 37 of file gpu_shader_create_info.hh.
Referenced by GPU_batch_bind_as_resources().
Definition at line 396 of file gpu_shader_create_info.hh.
Referenced by blender::gpu::shader::ShaderCreateInfo::ComputeStageLayout::operator==(), blender::gpu::shader::ShaderCreateInfo::FragOut::operator==(), blender::gpu::shader::ShaderCreateInfo::GeometryStageLayout::operator==(), blender::gpu::shader::ShaderCreateInfo::operator==(), blender::gpu::shader::ShaderCreateInfo::PushConst::operator==(), blender::gpu::shader::ShaderCreateInfo::Resource::operator==(), and blender::gpu::shader::ShaderCreateInfo::VertIn::operator==().
Definition at line 401 of file gpu_shader_create_info.hh.
Referenced by blender::gpu::shader::ShaderCreateInfo::operator==().