CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MTShader.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "Metal.hpp"
11
13
14namespace CeresEngine {
15
16 class MTShaderProgram;
17 class MTCommandBuffer;
18
32
50
51} // namespace CeresEngine
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPUShader.hpp:256
Definition GPUShader.hpp:361
Definition Metal.hpp:124
Metal RenderAPI shader object.
Definition MTShader.hpp:20
GPUShaderReflectionDescriptor mReflectionDescriptor
The shader reflection descriptor.
Definition MTShader.hpp:26
MTShader(MTDevicePtr device, const GPUShaderDescriptor &descriptor)
const GPUShaderDescriptor mDescriptor
A structure that describes the shader and it's properties.
Definition MTShader.hpp:23
Metal RenderAPI shader program object.
Definition MTShader.hpp:34
GPUShaderReflectionDescriptor mReflectionDescriptor
The shader reflection descriptor.
Definition MTShader.hpp:40
const GPUShaderProgramDescriptor mDescriptor
A structure that describes the shader program and it's properties.
Definition MTShader.hpp:37
MTShaderProgram(MTDevicePtr device, const GPUShaderProgramDescriptor &descriptor)
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Shader source and binary code descriptor structure.
Definition GPUShader.hpp:193
Descriptor structure for shader programs.
Definition GPUShader.hpp:303
Shader reflection descriptor structure.
Definition GPUShader.hpp:108