CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
GLGraphicsPipeline.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 "OpenGL.hpp"
11
13
15
16#include <functional>
17
18namespace CeresEngine {
19
20 class GLRenderAPI;
21 class GLRenderPass;
22 class GLShaderProgram;
23 class GLRenderPass;
24 class GLPipelineLayout;
25
26 class GLCommandBuffer;
27
64
65} // namespace CeresEngine
unsigned int GLuint
Definition GLLoader.hpp:733
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition OpenGL.hpp:117
Definition GLGraphicsPipeline.hpp:28
GLRenderPassPtr mRenderPass
The OpenGL render pass.
Definition GLGraphicsPipeline.hpp:34
GLPipelineLayoutPtr mPipelineLayout
The OpenGL pipeline layout.
Definition GLGraphicsPipeline.hpp:37
GLGraphicsPipeline(GLDevicePtr device, const GPUGraphicsPipelineDescriptor &descriptor)
GLShaderProgramPtr mShaderProgram
A vector of all pipelines stages in the pipeline.
Definition GLGraphicsPipeline.hpp:40
void end(GPUCommandBuffer &commandBuffer) final
void begin(GPUCommandBuffer &commandBuffer) final
GLuint mVAO
Definition GLGraphicsPipeline.hpp:43
GPUResourceSetPtr createResourceSet(const GPUResourceSetDescriptor &descriptor, UInt32 set=0) final
const GPUGraphicsPipelineDescriptor descriptorGL
A object that describes the graphics pipeline object.
Definition GLGraphicsPipeline.hpp:31
size_t mVBOStride
Definition GLGraphicsPipeline.hpp:45
Definition GPUCommandBuffer.hpp:77
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPUGraphicsPipeline.hpp:790
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition Application.hpp:19
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition GPUGraphicsPipeline.hpp:721
Definition GPUResourceSet.hpp:716