Results 1 to 2 of 2

Thread: Question about texture color depth

  1. #1
    Member Newbie
    Join Date
    Jul 2001
    Location
    Athens, Greece
    Posts
    36

    Question about texture color depth

    Hello to all
    I got a simple question.How can i select in opengl the color depth of the textures? Is it always the same with the resolutions's color depth? Or if i cannot change it , at least how can i know what excactly is it? Also is there a way for Opengl to return the available/max texture memmory (without using any DirectX code)????????

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,502

    Re: Question about texture color depth

    How can i select in opengl the color depth of the textures? In OpenGL 1.2, when uploading the textures, for the internal type use GL_RGB8 for 24 bit textures, GL_RGBA8 for 32 bit, and so on, the OpenGL 1.2 reference details all the possible formats.

    Is it always the same with the resolutions's color depth? No.

    Also is there a way for Opengl to return the available/max texture memmory (without using any DirectX code)? No, and there is usually little reason to even worry about that.

Similar Threads

  1. Replies: 0
    Last Post: 12-02-2015, 09:03 AM
  2. Replies: 1
    Last Post: 12-26-2014, 04:57 PM
  3. Replies: 1
    Last Post: 03-10-2014, 12:51 PM
  4. Depth texture and color texture fragment matching
    By glTomm in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-05-2014, 08:26 AM
  5. color depth question
    By Morphius in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-26-2002, 10:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean