|
| static WW3DErrorType | Init (void *hwnd, char *defaultpal=NULL, bool lite=false) |
| |
| static WW3DErrorType | Shutdown (void) |
| |
| static bool | Is_Initted (void) |
| |
| static const int | Get_Render_Device_Count (void) |
| |
| static const char * | Get_Render_Device_Name (int device_index) |
| |
| static const RenderDeviceDescClass & | Get_Render_Device_Desc (int device=-1) |
| |
| static int | Get_Render_Device (void) |
| |
| static WW3DErrorType | Set_Render_Device (int dev=-1, int resx=-1, int resy=-1, int bits=-1, int windowed=-1, bool resize_window=false, bool reset_device=false, bool restore_assets=true) |
| |
| static WW3DErrorType | Set_Render_Device (const char *dev_name, int resx=-1, int resy=-1, int bits=-1, int windowed=-1, bool resize_window=false) |
| |
| static WW3DErrorType | Set_Next_Render_Device (void) |
| |
| static WW3DErrorType | Set_Any_Render_Device (void) |
| |
| static void | Get_Pixel_Center (float &x, float &y) |
| |
| static void | Get_Render_Target_Resolution (int &set_w, int &set_h, int &get_bits, bool &get_windowed) |
| |
| static void | Get_Device_Resolution (int &set_w, int &set_h, int &get_bits, bool &get_windowed) |
| |
| static WW3DErrorType | Set_Device_Resolution (int w=-1, int h=-1, int bits=-1, int windowed=-1, bool resize_window=false) |
| |
| static bool | Is_Windowed (void) |
| |
| static WW3DErrorType | Toggle_Windowed (void) |
| |
| static void | Set_Window (void *hwnd) |
| |
| static void * | Get_Window (void) |
| |
| static WW3DErrorType | On_Activate_App (void) |
| |
| static WW3DErrorType | On_Deactivate_App (void) |
| |
| static WW3DErrorType | Registry_Save_Render_Device (const char *sub_key) |
| |
| static WW3DErrorType | Registry_Save_Render_Device (const char *sub_key, int device, int width, int height, int depth, bool windowed, int texture_depth) |
| |
| static WW3DErrorType | Registry_Load_Render_Device (const char *sub_key, bool resize_window=false) |
| |
| static bool | Registry_Load_Render_Device (const char *sub_key, char *device, int device_len, int &width, int &height, int &depth, int &windowed, int &texture_depth) |
| |
| static void | Set_Texture_Filter (int filter) |
| |
| static int | Get_Texture_Filter () |
| |
| static WW3DErrorType | Begin_Render (bool clear=false, bool clearz=true, const Vector3 &color=Vector3(0, 0, 0), float dest_alpha=0.0f, void(*network_callback)(void)=NULL) |
| |
| static WW3DErrorType | Render (const LayerListClass &layerlist) |
| |
| static WW3DErrorType | Render (const LayerClass &layer) |
| |
| static WW3DErrorType | Render (SceneClass *scene, CameraClass *cam, bool clear=false, bool clearz=false, const Vector3 &color=Vector3(0, 0, 0)) |
| |
| static WW3DErrorType | Render (RenderObjClass &obj, RenderInfoClass &rinfo) |
| |
| static void | Flush (RenderInfoClass &rinfo) |
| |
| static WW3DErrorType | End_Render (bool flip_frame=true) |
| |
| static bool | Is_Rendering (void) |
| |
| static void | Flip_To_Primary (void) |
| |
| static void | Sync (unsigned int sync_time) |
| |
| static unsigned int | Get_Sync_Time (void) |
| |
| static unsigned int | Get_Frame_Time (void) |
| |
| static unsigned int | Get_Frame_Count (void) |
| |
| static unsigned int | Get_Last_Frame_Poly_Count (void) |
| |
| static unsigned int | Get_Last_Frame_Vertex_Count (void) |
| |
| static void | Make_Screen_Shot (const char *filename="ScreenShot", const float gamma=1.3f, const ScreenShotFormatEnum format=TGA) |
| |
| static void | Start_Movie_Capture (const char *filename_base="Movie", float frame_rate=15) |
| |
| static void | Stop_Movie_Capture (void) |
| |
| static void | Toggle_Movie_Capture (const char *filename_base="Movie", float frame_rate=15) |
| |
| static void | Start_Single_Frame_Movie_Capture (const char *filename_base="Frames") |
| |
| static void | Capture_Next_Movie_Frame () |
| |
| static void | Update_Movie_Capture (void) |
| |
| static float | Get_Movie_Capture_Frame_Rate (void) |
| |
| static void | Pause_Movie (bool mode) |
| |
| static bool | Is_Movie_Paused () |
| |
| static bool | Is_Recording_Next_Frame () |
| |
| static bool | Is_Movie_Ready () |
| |
| static void | Set_Ext_Swap_Interval (long swap) |
| |
| static long | Get_Ext_Swap_Interval (void) |
| |
| static void | Set_Texture_Reduction (int value, int min_dim=1) |
| |
| static int | Get_Texture_Reduction (void) |
| |
| static int | Get_Texture_Min_Dimension (void) |
| |
| static void | Enable_Large_Texture_Extra_Reduction (bool onoff) |
| |
| static bool | Is_Large_Texture_Extra_Reduction_Enabled (void) |
| |
| static void | _Invalidate_Mesh_Cache () |
| |
| static void | _Invalidate_Textures () |
| |
| static void | Set_Thumbnail_Enabled (bool b) |
| |
| static bool | Get_Thumbnail_Enabled () |
| |
| static void | Enable_Sorting (bool onoff) |
| |
| static bool | Is_Sorting_Enabled (void) |
| |
| static void | Set_Screen_UV_Bias (bool onoff) |
| |
| static bool | Is_Screen_UV_Biased (void) |
| |
| static void | Set_Collision_Box_Display_Mask (int mask) |
| |
| static int | Get_Collision_Box_Display_Mask (void) |
| |
| static void | Set_Default_Native_Screen_Size (float dnss) |
| |
| static float | Get_Default_Native_Screen_Size (void) |
| |
| static void | Normalize_Coordinates (int x, int y, float &fx, float &fy) |
| |
| static VertexMaterialClass * | Peek_Default_Debug_Material (void) |
| |
| static ShaderClass | Peek_Default_Debug_Shader (void) |
| |
| static ShaderClass | Peek_Backface_Debug_Shader (void) |
| |
| static ShaderClass | Peek_Lightmap_Debug_Shader (void) |
| |
| static void | Set_Prelit_Mode (PrelitModeEnum mode) |
| |
| static PrelitModeEnum | Get_Prelit_Mode () |
| |
| static bool | Supports_Prelit_Mode (PrelitModeEnum mode) |
| |
| static void | Expose_Prelit (bool onoff) |
| |
| static bool | Expose_Prelit () |
| |
| static void | Set_Texture_Bitdepth (int bitdepth) |
| |
| static int | Get_Texture_Bitdepth () |
| |
| static void | Set_Mesh_Draw_Mode (MeshDrawModeEnum mode) |
| |
| static MeshDrawModeEnum | Get_Mesh_Draw_Mode () |
| |
| static void | Set_NPatches_Gap_Filling_Mode (NPatchesGapFillingModeEnum mode) |
| |
| static NPatchesGapFillingModeEnum | Get_NPatches_Gap_Filling_Mode () |
| |
| static void | Set_NPatches_Level (unsigned level) |
| |
| static unsigned | Get_NPatches_Level () |
| |
| static void | Enable_Texturing (bool b) |
| |
| static bool | Is_Texturing_Enabled () |
| |
| static bool | Is_Coloring_Enabled () |
| |
| static void | Enable_Coloring (unsigned int color) |
| | when non-zero color is passed, it will override vertex colors
|
| |
| static int | Get_Last_Frame_Memory_Allocation_Count () |
| |
| static int | Get_Last_Frame_Memory_Free_Count () |
| |
| static void | Enable_Decals (bool onoff) |
| |
| static bool | Are_Decals_Enabled (void) |
| |
| static void | Set_Decal_Rejection_Distance (float d) |
| |
| static float | Get_Decal_Rejection_Distance (void) |
| |
| static void | Enable_Static_Sort_Lists (bool onoff) |
| |
| static bool | Are_Static_Sort_Lists_Enabled (void) |
| |
| static void | Enable_Munge_Sort_On_Load (bool onoff) |
| |
| static bool | Is_Munge_Sort_On_Load_Enabled (void) |
| |
| static void | Add_To_Static_Sort_List (RenderObjClass *robj, unsigned int sort_level) |
| |
| static void | Render_And_Clear_Static_Sort_Lists (RenderInfoClass &rinfo) |
| |
| static void | Override_Current_Static_Sort_Lists (StaticSortListClass *sort_list) |
| |
| static void | Reset_Current_Static_Sort_Lists_To_Default (void) |
| |
| static void | Enable_Overbright_Modify_On_Load (bool onoff) |
| |
| static bool | Is_Overbright_Modify_On_Load_Enabled (void) |
| |
| static bool | Is_Snapshot_Activated () |
| |
| static void | Activate_Snapshot (bool b) |
| |
| static void | Set_Gamma (float gamma, float bright, float contrast, bool calibrate=true) |
| |
WW3D
This is the collection of static functions and data which initialize and control the behavior of the WW3D library.
Definition at line 77 of file ww3d.h.