Blender V5.0
mtl_shader_generator.hh File Reference

Go to the source code of this file.

Classes

struct  blender::gpu::MSLUniform
struct  blender::gpu::MSLConstant
struct  blender::gpu::MSLBufferBlock
struct  blender::gpu::MSLTextureResource
struct  blender::gpu::MSLVertexInputAttribute
struct  blender::gpu::MSLVertexOutputAttribute
struct  blender::gpu::MSLFragmentOutputAttribute
struct  blender::gpu::MSLSharedMemoryBlock
class  blender::gpu::MSLGeneratorInterface

Namespaces

namespace  blender
namespace  blender::gpu

Typedefs

using blender::gpu::MSLFragmentTileInputAttribute = MSLFragmentOutputAttribute

Enumerations

enum  blender::gpu::MSLTextureSamplerAccess {
  blender::gpu::TEXTURE_ACCESS_NONE = 0 , blender::gpu::TEXTURE_ACCESS_SAMPLE , blender::gpu::TEXTURE_ACCESS_READ , blender::gpu::TEXTURE_ACCESS_WRITE ,
  blender::gpu::TEXTURE_ACCESS_READWRITE
}

Functions

const char * blender::gpu::get_stage_class_name (ShaderStage stage)
const char * blender::gpu::get_shader_stage_instance_name (ShaderStage stage)
bool blender::gpu::is_builtin_type (std::string type)
bool blender::gpu::is_matrix_type (const std::string &type)
bool blender::gpu::is_matrix_type (const shader::Type &type)
int blender::gpu::get_matrix_location_count (const std::string &type)
int blender::gpu::get_matrix_location_count (const shader::Type &type)
std::string blender::gpu::get_matrix_subtype (const std::string &type)
shader::Type blender::gpu::get_matrix_subtype (const shader::Type &type)
std::string blender::gpu::get_attribute_conversion_function (bool *uses_conversion, const shader::Type &type)
const char * blender::gpu::to_string_msl (const shader::Interpolation &interp)
char * blender::gpu::next_symbol_in_range (char *begin, const char *end, char symbol)
char * blender::gpu::next_word_in_range (char *begin, const char *end)
Create Info
const char * blender::gpu::to_string (const shader::PrimitiveOut &layout)
const char * blender::gpu::to_string (const shader::PrimitiveIn &layout)
const char * blender::gpu::to_string (const shader::Interpolation &interp)
const char * blender::gpu::to_string (const shader::Type &type)