Blender V4.3
mtl_shader_interface.hh File Reference
#include "MEM_guardedalloc.h"
#include "BLI_vector.hh"
#include "gpu_shader_interface.hh"
#include "mtl_capabilities.hh"
#include "mtl_shader_interface_type.hh"
#include "GPU_common.hh"
#include "GPU_common_types.hh"
#include "GPU_texture.hh"
#include "gpu_texture_private.hh"
#include <Metal/Metal.h>
#include <functional>

Go to the source code of this file.

Classes

struct  blender::gpu::MTLShaderInputAttribute
 
struct  blender::gpu::MTLShaderBufferBlock
 
struct  blender::gpu::MTLShaderUniform
 
struct  blender::gpu::MTLShaderConstant
 
struct  blender::gpu::MTLShaderTexture
 
struct  blender::gpu::MTLShaderSampler
 
class  blender::gpu::MTLShaderInterface
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Enumerations

enum class  blender::gpu::ShaderStage : uint8_t { blender::gpu::VERTEX = 1 << 0 , blender::gpu::FRAGMENT = 1 << 1 , blender::gpu::COMPUTE = 2 << 1 , blender::gpu::ANY = (ShaderStage::VERTEX | ShaderStage::FRAGMENT | ShaderStage::COMPUTE) }
 

Functions

 blender::gpu::ENUM_OPERATORS (ShaderStage, ShaderStage::ANY)
 
uint blender::gpu::get_shader_stage_index (ShaderStage stage)
 
MTLVertexFormat blender::gpu::mtl_datatype_to_vertex_type (eMTLDataType type)