libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
gfx_metal_shader.h
Go to the documentation of this file.
1
//
2
// gfx_metal_shader.h
3
// libultraship
4
//
5
// Created by David Chavez on 16.08.22.
6
//
7
8
#ifdef __APPLE__
9
#ifdef __cplusplus
10
#pragma once
11
#include <stdio.h>
12
#include <memory>
13
#include <string>
14
15
namespace
Ship
{
16
class
ResourceManager;
17
}
// namespace Ship
18
19
struct
CCFeatures;
20
24
void
gfx_metal_shader_set_resource_manager
(std::shared_ptr<Ship::ResourceManager> resourceManager);
25
34
MTL::VertexDescriptor*
gfx_metal_build_shader
(std::string& result,
size_t
& numFloats,
const
CCFeatures& cc_features,
35
bool
three_point_filtering);
36
37
#endif
38
#endif
gfx_metal_shader_set_resource_manager
void gfx_metal_shader_set_resource_manager(std::shared_ptr< Ship::ResourceManager > resourceManager)
Sets the ResourceManager used by Metal shader generation/loading helpers.
gfx_metal_build_shader
MTL::VertexDescriptor * gfx_metal_build_shader(std::string &result, size_t &numFloats, const CCFeatures &cc_features, bool three_point_filtering)
Builds a Metal shader pair for the given combiner features.
Ship
Core namespace for the libultraship engine framework.
Definition
gfx_direct3d_common.h:14
include
fast
backends
gfx_metal_shader.h
Generated by
1.9.8