Blender
V3.3
|
#include "BLI_string_ref.hh"
#include "BLI_vector.hh"
#include "GPU_material.h"
#include "GPU_texture.h"
#include <iostream>
Go to the source code of this file.
Classes | |
struct | blender::gpu::shader::StageInterfaceInfo |
struct | blender::gpu::shader::StageInterfaceInfo::InOut |
struct | blender::gpu::shader::ShaderCreateInfo |
Describe inputs & outputs, stage interfaces, resources and sources of a shader. If all data is correctly provided, this is all that is needed to create and compile a GPUShader. More... | |
struct | blender::gpu::shader::ShaderCreateInfo::VertIn |
struct | blender::gpu::shader::ShaderCreateInfo::GeometryStageLayout |
struct | blender::gpu::shader::ShaderCreateInfo::ComputeStageLayout |
struct | blender::gpu::shader::ShaderCreateInfo::FragOut |
struct | blender::gpu::shader::ShaderCreateInfo::Sampler |
struct | blender::gpu::shader::ShaderCreateInfo::Image |
struct | blender::gpu::shader::ShaderCreateInfo::UniformBuf |
struct | blender::gpu::shader::ShaderCreateInfo::StorageBuf |
struct | blender::gpu::shader::ShaderCreateInfo::Resource |
struct | blender::gpu::shader::ShaderCreateInfo::PushConst |
Namespaces | |
blender | |
blender::gpu | |
blender::gpu::shader | |
Macros | |
#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::WORK_GROUP_SIZE) | |
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_SHADER_CREATE_INFO | ( | _info | ) |
Definition at line 29 of file gpu_shader_create_info.hh.
#define GPU_SHADER_INTERFACE_INFO | ( | _interface, | |
_inst_name | |||
) |
Definition at line 26 of file gpu_shader_create_info.hh.
#define TEST_EQUAL | ( | a, | |
b, | |||
_member | |||
) |
Definition at line 306 of file gpu_shader_create_info.hh.
#define TEST_VECTOR_EQUAL | ( | a, | |
b, | |||
_vector | |||
) |
Definition at line 311 of file gpu_shader_create_info.hh.