DI-Guy SDK Documentation  13.7
DI-Guy Graphics API OpenGL sample implementation

sample implementation of OpenGL. detailed overview at 7.1 - Introduction to the DI-Guy Graphics API More...

Namespaces

 diguyOglUtils
 Helpers for setting up some OpenGL debugging and light state functionality.
 

Classes

class  diguyOglGraphicsFrameBuffer
 Subclass to allow diguy to create frame buffers. More...
 
class  diguyOglGraphicsLink
 The class diguyOglGraphicsLink is an example of a diguyGraphicsLink subclass for an immediate mode renderer using the DI-Guy Loader. More...
 
class  diguyOglGraphicsMesh
 This class is part of the DI-Guy Graphics API. More...
 
class  diguyOglGraphicsShaderInstance
 This class is part of the DI-Guy Graphics API. More...
 
class  diguyOglGraphicsShaderProgram
 This class is part of the DI-Guy Graphics API. More...
 
class  diguyOglGraphicsShaderTechnique
 This class allows the end user to control shader picking. More...
 
class  diguyOglGraphicsShape
 This class is part of the DI-Guy Graphics API. More...
 
class  diguyOglGraphicsTexture
 The class diguyOglGraphicsTexture is an example of a diguyGraphicsTexture subclass for an immediate mode renderer using the DI-Guy Loader. More...
 
class  diguyOglGraphicsTextureArray
 The class diguyOglGraphicsTextureArray is an example of a diguyGraphicsTextureArray subclass for an immediate mode renderer using the DI-Guy Loader. More...
 
class  diguyOglParticleSystemRenderer
 OpenGL 3.2 class particle renderer, used by OpenGL and OpenGL Graphics API samples and DI-Guy Scenario. More...
 
class  diguyOglParticleSystemRenderer_21
 OpenGL 2.1 class particle renderer, used by OpenSceneGraph. More...
 
struct  diguyOglUboMaterial
 Lightweight structure for communicating material parameters to gpu This must match layout in shader library diguy_shared_library.glsl. More...
 
struct  diguyOglUboFog
 Lightweight structure for communicating fog parameters to gpu This must match layout in shader library diguy_shared_library.glsl. More...
 
struct  diguyOglUboLight
 Lightweight structure for communicating light parameters to gpu This must match layout in shader library diguy_shared_library.glsl. More...
 
struct  diguyOglPerFrameUniformBuffer
 Uniform Buffer for information that typically changes just once a frame This must match layout in shader library diguy_shared_library.glsl. More...
 
struct  diguyOglMaterialUniformBuffer
 Uniform Buffer for material information must match data layout in diguy_shared_library.glsl. More...
 
struct  diguyOglTransformUniformBuffer
 Uniform Buffer for transform stack, will change many times a frame must match data layout in diguy_shared_library.glsl. More...
 
class  diguyOglUniformBufferUpdater
 This is an example implementation of a diguyUniformBufferUpdater it's responsible for translating api independent calls into OpenGL functionality. More...
 

Enumerations

enum  diguyOglBufferIndexes { DIGUY_UBO_TRANSFORM_INDEX, DIGUY_UBO_MATERIAL_INDEX, DIGUY_UBO_PER_FRAME_INDEX }
 Default indexes for diguy uniform buffer locations in the shader. More...
 

Functions

diguyGraphicsFrameBufferdiguyOglGraphicsFrameBuffer_create_func ()
 Create function declaration. More...
 
diguyGraphicsInstanceGroupdiguyOglGraphicsInstanceGroup_create_func (void *internal_data)
 Create function declaration. More...
 
diguyGraphicsShaderTechniquediguyOglGraphicsShaderTechnique_create_func (void *internal_data)
 Create function declaration. More...
 
diguyGraphicsShapediguyOglGraphicsShape_create_func (void *internal_data)
 Create function declaration. More...
 
diguyGraphicsTexturediguyOglGraphicsTexture_create_func (void *internal_data)
 Create function declaration. More...
 
diguyGraphicsTextureArraydiguyOglGraphicsTextureArray_create_func (void *internal_data)
 Create function declaration. More...
 
diguyParticleSystemRendererdiguyOglParticleSystemRenderer_create_func (void)
 Create function declaration. More...
 
diguyParticleSystemRendererdiguyOglParticleSystemRenderer_21_create_func (void)
 Create function declaration. More...
 

Detailed Description

sample implementation of OpenGL. detailed overview at 7.1 - Introduction to the DI-Guy Graphics API

Enumeration Type Documentation

Default indexes for diguy uniform buffer locations in the shader.

explicitly set the values if this will conflict with your UBO bind points

Enumerator
DIGUY_UBO_TRANSFORM_INDEX 
DIGUY_UBO_MATERIAL_INDEX 
DIGUY_UBO_PER_FRAME_INDEX 

Function Documentation

diguyGraphicsFrameBuffer* diguyOglGraphicsFrameBuffer_create_func ( )

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyGraphicsInstanceGroup* diguyOglGraphicsInstanceGroup_create_func ( void *  internal_data)

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyGraphicsShaderTechnique* diguyOglGraphicsShaderTechnique_create_func ( void *  internal_data)

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyGraphicsShape* diguyOglGraphicsShape_create_func ( void *  internal_data)

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyGraphicsTexture* diguyOglGraphicsTexture_create_func ( void *  internal_data)

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyGraphicsTextureArray* diguyOglGraphicsTextureArray_create_func ( void *  internal_data)

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyParticleSystemRenderer* diguyOglParticleSystemRenderer_create_func ( void  )

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.

diguyParticleSystemRenderer* diguyOglParticleSystemRenderer_21_create_func ( void  )

Create function declaration.

Declare a subclass creation function that will be registered with the DI-Guy Graphics API.