24#include <Metal/Metal.h>
104 return vertex_buffer_mask_;
109 return enabled_accel_mask_;
Read Blender memory allocation and freeing.
MTLShaderInterface(const char *name, const shader::ShaderCreateInfo &info, MTLPushConstantBuf *push_constant_buf=nullptr)
const char * sampler_name_get(int slot) const
const char * name_get() const
uint32_t enabled_accel_mask() const
const char * image_name_get(int slot) const
bool use_samplers_argument_buffer() const
id< MTLArgumentEncoder > ensure_argument_encoder(id< MTLFunction > mtl_function)
bool use_texture_atomic() const
const char * name_at_offset(uint32_t offset) const
uint32_t vertex_buffer_mask() const
MEM_CXX_CLASS_ALLOC_FUNCS("MTLShaderInterface")
bool use_viewport_index() const
bool is_point_shader() const
#define MTL_MAX_SAMPLER_SLOTS
#define MTL_MAX_BUFFER_BINDINGS
#define MTL_MAX_IMAGE_SLOTS
Describe inputs & outputs, stage interfaces, resources and sources of a shader. If all data is correc...