CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
GLResourceSet.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
16namespace CeresEngine {
17
18 class GLPipelineLayout;
19
40
41} // namespace CeresEngine
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition OpenGL.hpp:117
Definition GLResourceSet.hpp:20
GLPipelineLayoutPtr mPipelineLayout
The pipeline layout used by the ResourceSet.
Definition GLResourceSet.hpp:26
GPUResourceSetDescriptor descriptorGL
The ResourceSet descriptor structure.
Definition GLResourceSet.hpp:23
GLResourceSet(GLPipelineLayoutPtr pipelineLayout, const GPUResourceSetDescriptor &descriptor, UInt32 set=0)
const GLPipelineLayoutPtr & pipelineLayout() const
Definition GLResourceSet.hpp:38
void bind()
Binds the ResourceSet.
A RenderAPI object that holds a set of resources that can be bound into shader.
Definition GPUResourceSet.hpp:735
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 GPUResourceSet.hpp:716