Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8909457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:26:08+00:00 2026-06-15T03:26:08+00:00

Im just starting to look at Open GL ES for iOS and I’m looking

  • 0

Im just starting to look at Open GL ES for iOS and I’m looking through the source code on apples template code. The problem is both

- (void)glkView:(GLKView *)view drawInRect:(CGRect)rect

and

- (void)update

are being called, but I’m unable to determine by what and how to change the frequency?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:26:09+00:00Added an answer on June 15, 2026 at 3:26 am

    glkView is called automatically when the view needs to be updated.

    According to Apple “A GLKView object uses the regular view drawing cycle for a UIView object, calling its drawRect: method whenever the contents of the view need to be updated.”

    You can use a GLKViewController to set the framerate of the glkview like this:

    - (void)viewDidLoad
    {
         self.preferredFramesPerSecond = 60;
    }
    

    Update is also called automatically for you before the rendering. You can use this call to update variables such as the locations of your drawn objects – but you may want to use the timeSinceLastUpdate property because the time elapsed between calls can vary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just starting to look into using LinqDataSource for a GridView and I’m looking for
I'm just starting to look into using LINQ for my database (and XML, and
I'm just starting to look into the world of Functional Reactive Programming in Haskell,
I'm just starting out with iOS programming. I'm wondering why view is an outlet
I'm just starting to look in to caching to improve performance and have a
I am just starting to look into multi-threaded programming and thread safety. I am
Just starting to look into WCF and came across the WSDualHttpBinding binding. I have
I'm just starting to take a look at Haskell (my previous FP experience is
I am just starting iOS development. I read some tutorials, watched stuff on iTunes
I am just starting to look at the C# documentation standards. Here's a method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.