Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
6b3ae696
Commit
6b3ae696
authored
Apr 11, 2012
by
Janis Born
Browse files
add LocationMappingsControl, LocationMappingsNameManager
parent
17dc9832
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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