Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
acgl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACGL
acgl
Commits
8223775a
Commit
8223775a
authored
9 years ago
by
Philip Trettner
Browse files
Options
Downloads
Patches
Plain Diff
Extended texture interface to allow manual format setting
parent
93749cc0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ACGL/OpenGL/Objects/Texture.hh
+3
-0
3 additions, 0 deletions
include/ACGL/OpenGL/Objects/Texture.hh
with
3 additions
and
0 deletions
include/ACGL/OpenGL/Objects/Texture.hh
+
3
−
0
View file @
8223775a
...
...
@@ -135,6 +135,9 @@ public:
#endif
inline
glm
::
uvec3
getSize
(
void
)
const
{
return
glm
::
uvec3
(
mWidth
,
mHeight
,
mDepth
);
}
/// Overwrites the cached internal format (in case you upload data manually)
void
overwriteInternalFormat
(
GLenum
_format
)
{
mInternalFormat
=
_format
;
}
// ===================================================================================================== \/
// ============================================================================================ WRAPPERS \/
// ===================================================================================================== \/
...
...
This diff is collapsed.
Click to expand it.
Philip Trettner
@ptrettner
mentioned in commit
c0a83e9e
·
9 years ago
mentioned in commit
c0a83e9e
mentioned in commit c0a83e9e0ebcc6aa0c282b2b39e063f8d334ff6b
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment