Function Index Class Index

Driver_XXX

Functions

HC_EXTERNAL HIC_API void HIC_Driver_Bind_Image_As_Texture (HIC_Rendition const *nr, HIC_Image const *image)
HC_EXTERNAL HIC_API void HIC_Driver_Draw_Clear_Window (HIC_Rendition const *nr, HIC_Int_Rectangle const *extent)
HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_ALPHA_TEST_OFF (HIC_Rendition const *nr, int number)
HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_ALPHA_TEST_ON (HIC_Rendition const *nr, int number)
HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_TEXTURES_OFF (HIC_Rendition const *nr, int number)
HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_TEXTURES_ON (HIC_Rendition const *nr, int number)
HC_EXTERNAL HIC_API void HIC_Driver_FORCE_TEXTURE_GEN_OFF (HIC_Rendition const *nr, int number)
HC_EXTERNAL HIC_API void * HIC_Driver_Get_HDC (HIC_Rendition const *nr)
HC_EXTERNAL HIC_API
HC_POINTER_SIZED_INT 
HIC_Driver_Get_Surface (HIC_Rendition const *nr)
HC_EXTERNAL HIC_API int HIC_Driver_Get_Window_Height (HIC_Rendition const *nr)
HC_EXTERNAL HIC_API int HIC_Driver_Get_Window_Width (HIC_Rendition const *nr)
HC_EXTERNAL HIC_API void HIC_Driver_glActiveTextureARB (HIC_Rendition const *nr, int number)
HC_EXTERNAL HIC_API void HIC_Driver_IOS_Handle_Size_Change (HIC_Rendition const *nr, void *extra_data)
HC_EXTERNAL HIC_API bool HIC_Driver_Is_Double_Buffering (HIC_Rendition const *nr)
HC_EXTERNAL HIC_API void HIC_Driver_Show_Projection_Matrix (HIC_Rendition const *nr, float matrix[])
HC_EXTERNAL HIC_API bool HIC_Driver_Tristrip_Has_Valid_DL (HIC_Rendition const *nr, HIC_Tristrip const *ts)

Function Documentation

HC_EXTERNAL HIC_API void HIC_Driver_Bind_Image_As_Texture ( HIC_Rendition const *  nr,
HIC_Image const *  image 
)
Parameters:
nrA pointer to a const HIC_Rendition.
imageA pointer to const HIC_Image.

The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API void HIC_Driver_Draw_Clear_Window ( HIC_Rendition const *  nr,
HIC_Int_Rectangle const *  extent 
)
HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_ALPHA_TEST_OFF ( HIC_Rendition const *  nr,
int  number 
)
Parameters:
nrA pointer to a const HIC_Rendition.
numberAn int.

The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_ALPHA_TEST_ON ( HIC_Rendition const *  nr,
int  number 
)
Parameters:
nrA pointer to a const HIC_Rendition.
numberAn int.

The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_TEXTURES_OFF ( HIC_Rendition const *  nr,
int  number 
)
Parameters:
nrA pointer to a const HIC_Rendition.
numberAn int.

The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API void HIC_Driver_ENSURE_TEXTURES_ON ( HIC_Rendition const *  nr,
int  number 
)
Parameters:
nrA pointer to a const HIC_Rendition.
numberAn int.

The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API void HIC_Driver_FORCE_TEXTURE_GEN_OFF ( HIC_Rendition const *  nr,
int  number 
)
Parameters:
nrA pointer to a const HIC_Rendition.
numberAn int.

The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API void* HIC_Driver_Get_HDC ( HIC_Rendition const *  nr)
Parameters:
nrA pointer to a const HIC_Rendition.
Returns:
A void pointer.

This function gets the HDC associated with the current driver. The behavior of this function is driver and platform specific.

HC_EXTERNAL HIC_API HC_POINTER_SIZED_INT HIC_Driver_Get_Surface ( HIC_Rendition const *  nr)
Parameters:
nrA pointer to a const HIC_Rendition.
Returns:
A HC_POINTER_SIZED_INT.

This function returns the surface pointer for the driver. Currently only valid with the DX9 driver.

HC_EXTERNAL HIC_API int HIC_Driver_Get_Window_Height ( HIC_Rendition const *  nr)
Parameters:
nrA pointer to a const HIC_Rendition.
Returns:
An int.

The behavior of this function is driver and platform specific. This function returns the window height as an int.

HC_EXTERNAL HIC_API int HIC_Driver_Get_Window_Width ( HIC_Rendition const *  nr)
Parameters:
nrA pointer to a const HIC_Rendition.
Returns:
An int.

The behavior of this function is driver and platform specific. This function returns the window width as an int.

HC_EXTERNAL HIC_API void HIC_Driver_glActiveTextureARB ( HIC_Rendition const *  nr,
int  number 
)
Parameters:
nrA pointer to a const HIC_Rendition.
numberAn int.

The behavior of this function is driver and platform specific. This is only valid with opengl driver and corresponds to the gl call ActiveTextureARB.

HC_EXTERNAL HIC_API void HIC_Driver_IOS_Handle_Size_Change ( HIC_Rendition const *  nr,
void *  extra_data 
)
Parameters:
nrA pointer to a const HIC_Rendition.
extra_dataA pointer to the CAEAGLLayer that was passed to the renderer's resizeFromLayer function.

The behavior of this function is driver and platform specific. Handles the resize event from IOS. The "extra_data" pointer should be a CAEAGLLayer object pointer.

HC_EXTERNAL HIC_API bool HIC_Driver_Is_Double_Buffering ( HIC_Rendition const *  nr)
Parameters:
nrA pointer to a const HIC_Rendition.
Returns:
A boolean, true if double buffering is in effect, otherwise false.

The behavior of this function is driver and platform specific. This function returns a boolean which is true if double buffering is in effect, false if double buffering is not in effect.

HC_EXTERNAL HIC_API void HIC_Driver_Show_Projection_Matrix ( HIC_Rendition const *  nr,
float  matrix[] 
)
HC_EXTERNAL HIC_API bool HIC_Driver_Tristrip_Has_Valid_DL ( HIC_Rendition const *  nr,
HIC_Tristrip const *  ts 
)
Parameters:
nrA pointer to a const HIC_Rendition.
tsA pointer to a const HIC_Tristrip.
Returns:
A boolean, true if tristrip has valid display list, otherwise false.

The behavior of this function is driver and platform specific. This function returns a boolean which is true if driver tristrip has a valid display list, false if driver tristrip has an invalid display list.