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
15namespace Ship {
16class ResourceManager;
17} // namespace Ship
18
19struct CCFeatures;
20
24void gfx_metal_shader_set_resource_manager(std::shared_ptr<Ship::ResourceManager> resourceManager);
25
34MTL::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
void gfx_metal_shader_set_resource_manager(std::shared_ptr< Ship::ResourceManager > resourceManager)
Sets the ResourceManager used by Metal shader generation/loading helpers.
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.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14