Blender  V3.3
COM_SocketProxyOperation.cc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2011 Blender Foundation. */
3 
5 
6 namespace blender::compositor {
7 
9 {
10  this->add_input_socket(type);
11  this->add_output_socket(type);
13  flags_.use_datatype_conversion = use_conversion;
14 }
15 
16 std::unique_ptr<MetaData> SocketProxyOperation::get_meta_data()
17 {
18  return this->get_input_socket(0)->get_reader()->get_meta_data();
19 }
20 
21 } // namespace blender::compositor
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void add_output_socket(DataType datatype)
NodeOperationInput * get_input_socket(unsigned int index)
virtual std::unique_ptr< MetaData > get_meta_data()
void add_input_socket(DataType datatype, ResizeMode resize_mode=ResizeMode::Center)
std::unique_ptr< MetaData > get_meta_data() override
SocketProxyOperation(DataType type, bool use_conversion)
DataType
possible data types for sockets
Definition: COM_defines.h:30