faogenlib.h File Reference

Go to the source code of this file.

Namespaces

namespace  faogenlib

Defines

#define FAOGEN_API

Typedefs

typedef unsigned int faogenlib::size_type
 A type that counts various numeric parameters.
typedef int faogenlib::obj_handle
 A type that represents object handle.

Enumerations

enum  faogenlib::e_index_type { faogenlib::INDEX_U16, faogenlib::INDEX_U32 }
 Selects index type. More...

Functions

FAOGEN_API bool __stdcall faogenlib::initialize ()
FAOGEN_API void __stdcall faogenlib::shutdown ()
FAOGEN_API obj_handle __stdcall faogenlib::create_object_v (float const *vertices3f, size_type vertices_stride, size_type num_vertices, e_index_type index_type, void const *triangle_indices, size_type num_indices)
FAOGEN_API obj_handle __stdcall faogenlib::create_object_vn (float const *vertices3f, size_type vertices_stride, float const *normals3f, size_type normals_stride, size_type num_vertices, e_index_type index_type, void const *triangle_indices, size_type num_indices)
FAOGEN_API obj_handle __stdcall faogenlib::create_object_vnt (float const *vertices3f, size_type vertices_stride, float const *normals3f, size_type normals_stride, float const *texcoords2f, size_type texcoords_stride, size_type num_vertices, e_index_type index_type, void const *triangle_indices, size_type num_indices)
FAOGEN_API obj_handle __stdcall faogenlib::create_object_vnta (float const *vertices3f, size_type vertices_stride, float const *normals3f, size_type normals_stride, float const *texcoords2f, size_type texcoords_stride, float const *atest_texcoords2f, size_type atest_texcoords_stride, size_type num_vertices, e_index_type index_type, void const *triangle_indices, size_type num_indices)
FAOGEN_API void __stdcall faogenlib::set_object_alphamap (obj_handle object_id, size_type width, size_type height, size_type num_channels, unsigned char const *pixels)
FAOGEN_API void __stdcall faogenlib::set_object_matrix (obj_handle object_id, float const *matrix)
FAOGEN_API bool __stdcall faogenlib::start_ao_gen_vert (obj_handle object_id, size_type depth_size, float zoffset, float overbright, size_type quality, bool cosine_mode, int hemisphere_mode, bool bent_n)
FAOGEN_API bool __stdcall faogenlib::start_ao_gen_tex (obj_handle object_id, size_type depth_size, float zoffset, float overbright, size_type quality, bool cosine_mode, size_type width, size_type height, int hemisphere_mode, bool bent_n)
size_type faogenlib::num_iterations (size_type quality)
FAOGEN_API void __stdcall faogenlib::ao_vert_generate (size_type iterations)
FAOGEN_API void __stdcall faogenlib::ao_tex_generate (size_type iterations)
FAOGEN_API bool __stdcall faogenlib::results_ready ()
FAOGEN_API float const *__stdcall faogenlib::get_vert_results ()
FAOGEN_API float const *__stdcall faogenlib::get_tex_results (size_type edge_padding)
FAOGEN_API void __stdcall faogenlib::destroy_object (obj_handle object_id)


Detailed Description

Copyright (C) 2006 Grisha Spivak - rusted dreams

Definition in file faogenlib.h.


Define Documentation

#define FAOGEN_API
 

Definition at line 7 of file faogenlib.h.


Generated on Fri Aug 15 20:07:46 2008 for faogenlib by  doxygen 1.4.6-NO