Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
5fe0caa1
Commit
5fe0caa1
authored
Aug 19, 2013
by
Shannon Woods
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds size and offset queries to BindingOffsetPointer
TRAC #23468 Author: Shannon Woods Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens
parent
79031cb5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
RefCountObject.h
src/common/RefCountObject.h
+3
-0
No files found.
src/common/RefCountObject.h
View file @
5fe0caa1
...
@@ -110,6 +110,9 @@ class OffsetBindingPointer : public RefCountObjectBindingPointer
...
@@ -110,6 +110,9 @@ class OffsetBindingPointer : public RefCountObjectBindingPointer
mSize
=
size
;
mSize
=
size
;
}
}
GLintptr
getOffset
()
const
{
return
mOffset
;
}
GLsizeiptr
getSize
()
const
{
return
mSize
;
}
ObjectType
*
get
()
const
{
return
static_cast
<
ObjectType
*>
(
RefCountObjectBindingPointer
::
get
());
}
ObjectType
*
get
()
const
{
return
static_cast
<
ObjectType
*>
(
RefCountObjectBindingPointer
::
get
());
}
ObjectType
*
operator
->
()
const
{
return
get
();
}
ObjectType
*
operator
->
()
const
{
return
get
();
}
...
...
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