Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acgl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACGL
acgl
Commits
6b3ae696
Commit
6b3ae696
authored
Apr 11, 2012
by
Janis Born
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add LocationMappingsControl, LocationMappingsNameManager
parent
17dc9832
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
0 deletions
+55
-0
include/ACGL/OpenGL/Controller.hh
include/ACGL/OpenGL/Controller.hh
+1
-0
include/ACGL/OpenGL/Controller/LocationMappingsControl.hh
include/ACGL/OpenGL/Controller/LocationMappingsControl.hh
+52
-0
include/ACGL/OpenGL/Managers.hh
include/ACGL/OpenGL/Managers.hh
+2
-0
No files found.
include/ACGL/OpenGL/Controller.hh
View file @
6b3ae696
...
...
@@ -37,5 +37,6 @@
#include <ACGL/OpenGL/Controller/VertexArrayObjectControlFile.hh>
#include <ACGL/OpenGL/Controller/UniformControl.hh>
#include <ACGL/OpenGL/Controller/ViewportControl.hh>
#include <ACGL/OpenGL/Controller/LocationMappingsControl.hh>
#endif // ACGL_OPENGL_CONTROLLER_HH
include/ACGL/OpenGL/Controller/LocationMappingsControl.hh
0 → 100644
View file @
6b3ae696
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2012, Computer Graphics Group RWTH Aachen University //
// All rights reserved. //
////////////////////////////////////////////////////////////////////////////////
#ifndef ACGL_OPENGL_CONTROLLER_LOCATIONMAPPINGSCONTROL_HH
#define ACGL_OPENGL_CONTROLLER_LOCATIONMAPPINGSCONTROL_HH
#include <ACGL/ACGL.hh>
#include <ACGL/Resource/BasicCreateController.hh>
#include <ACGL/OpenGL/Data/LocationMappings.hh>
#include <ACGL/OpenGL/GL.hh>
namespace
ACGL
{
namespace
OpenGL
{
class
LocationMappingsControl
:
public
Resource
::
BasicCreateController
<
LocationMappings
>
{
// ========================================================================================================= \/
// ============================================================================================ CONSTRUCTORS \/
// ========================================================================================================= \/
public:
LocationMappingsControl
()
{}
virtual
~
LocationMappingsControl
()
{}
// ==================================================================================================== \/
// ============================================================================================ METHODS \/
// ==================================================================================================== \/
public:
// ===================================================================================================== \/
// ============================================================================================ OVERRIDE \/
// ===================================================================================================== \/
public:
virtual
SharedLocationMappings
create
()
{
return
SharedLocationMappings
(
new
LocationMappings
());
}
// =================================================================================================== \/
// ============================================================================================ FIELDS \/
// =================================================================================================== \/
protected:
};
}
// OpenGL
}
// ACGL
#endif // ACGL_OPENGL_CONTROLLER_RENDERBUFFERCONTROL_HH
include/ACGL/OpenGL/Managers.hh
View file @
6b3ae696
...
...
@@ -55,6 +55,8 @@ typedef Resource::NameManager<UniformTexture> UniformTextureNameManager;
typedef
Resource
::
NameManager
<
Viewport
>
ViewportNameManager
;
typedef
Resource
::
NameManager
<
LocationMappings
>
LocationMappingsNameManager
;
#if (ACGL_OPENGL_VERSION >= 30)
typedef
Resource
::
NameManager
<
RenderObject
>
RenderObjectNameManager
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment