|
Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "dxGraphicsStateGuardian9.h"#include "config_dxgsg9.h"#include "displayRegion.h"#include "renderBuffer.h"#include "geom.h"#include "graphicsWindow.h"#include "graphicsEngine.h"#include "lens.h"#include "ambientLight.h"#include "directionalLight.h"#include "pointLight.h"#include "spotlight.h"#include "textureAttrib.h"#include "texGenAttrib.h"#include "shadeModelAttrib.h"#include "cullFaceAttrib.h"#include "transparencyAttrib.h"#include "alphaTestAttrib.h"#include "depthTestAttrib.h"#include "depthWriteAttrib.h"#include "colorWriteAttrib.h"#include "texMatrixAttrib.h"#include "materialAttrib.h"#include "renderModeAttrib.h"#include "rescaleNormalAttrib.h"#include "fogAttrib.h"#include "depthOffsetAttrib.h"#include "lightAttrib.h"#include "stencilAttrib.h"#include "scissorAttrib.h"#include "clipPlaneAttrib.h"#include "fog.h"#include "throw_event.h"#include "geomVertexFormat.h"#include "geomVertexData.h"#include "geomTriangles.h"#include "geomTristrips.h"#include "geomTrifans.h"#include "geomLines.h"#include "geomLinestrips.h"#include "geomPoints.h"#include "geomVertexReader.h"#include "dxGeomMunger9.h"#include "config_gobj.h"#include "dxVertexBufferContext9.h"#include "dxIndexBufferContext9.h"#include "dxOcclusionQueryContext9.h"#include "pStatTimer.h"#include "pStatCollector.h"#include "wdxGraphicsBuffer9.h"#include "config_pgraph.h"#include "shaderGenerator.h"#include <mmsystem.h>#include <dxsdkver.h>Go to the source code of this file.
Macros | |
| #define | __D3DLIGHT_RANGE_MAX ((PN_stdfloat)sqrt(FLT_MAX)) |
| #define | CHECK_COMPRESSED_FMT(mode, fmt) |
| #define | DIRECTX_SDK_VERSION SDK_VERSION (_DXSDK_PRODUCT_MAJOR, _DXSDK_PRODUCT_MINOR) << "." << SDK_VERSION (_DXSDK_BUILD_MAJOR, _DXSDK_BUILD_MINOR) |
| #define | GAMMA_1 (255.0 * 256.0) |
| #define | MY_D3DRGBA(r, g, b, a) |
| #define | SDK_VERSION(major, minor) |
| #define | tostring(x) |
| #define | TOTAL_RENDER_TO_TEXTURE_FORMATS 3 |
Typedefs | |
| typedef std::string | KEY |
| typedef struct _KEY_ELEMENT | KEY_ELEMENT |
| typedef struct _KEY_LIST | KEY_LIST |
Functions | |
| void | _create_gamma_table_dx9 (PN_stdfloat gamma, unsigned short *original_red_table, unsigned short *original_green_table, unsigned short *original_blue_table, unsigned short *red_table, unsigned short *green_table, unsigned short *blue_table) |
| KEY_ELEMENT * | add_to_key_list (KEY key, KEY_LIST *key_list) |
| void | delete_key_list (KEY_LIST *key_list) |
| KEY_ELEMENT * | first_key_element (KEY_LIST *key_list) |
| KEY_ELEMENT * | new_key_element (KEY key, KEY_LIST *key_list) |
| KEY_LIST * | new_key_list (void) |
| KEY_ELEMENT * | next_key_element (KEY_ELEMENT *key_element) |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file dxGraphicsStateGuardian9.cxx.
| #define __D3DLIGHT_RANGE_MAX ((PN_stdfloat)sqrt(FLT_MAX)) |
Definition at line 95 of file dxGraphicsStateGuardian9.cxx.
| #define CHECK_COMPRESSED_FMT | ( | mode, | |
| fmt ) |
| #define DIRECTX_SDK_VERSION SDK_VERSION (_DXSDK_PRODUCT_MAJOR, _DXSDK_PRODUCT_MINOR) << "." << SDK_VERSION (_DXSDK_BUILD_MAJOR, _DXSDK_BUILD_MINOR) |
Definition at line 78 of file dxGraphicsStateGuardian9.cxx.
| #define GAMMA_1 (255.0 * 256.0) |
Definition at line 5312 of file dxGraphicsStateGuardian9.cxx.
| #define MY_D3DRGBA | ( | r, | |
| g, | |||
| b, | |||
| a ) |
Definition at line 97 of file dxGraphicsStateGuardian9.cxx.
| #define SDK_VERSION | ( | major, | |
| minor ) |
Definition at line 77 of file dxGraphicsStateGuardian9.cxx.
| #define tostring | ( | x | ) |
Definition at line 76 of file dxGraphicsStateGuardian9.cxx.
| typedef std::string KEY |
Definition at line 5523 of file dxGraphicsStateGuardian9.cxx.
| void _create_gamma_table_dx9 | ( | PN_stdfloat | gamma, |
| unsigned short * | original_red_table, | ||
| unsigned short * | original_green_table, | ||
| unsigned short * | original_blue_table, | ||
| unsigned short * | red_table, | ||
| unsigned short * | green_table, | ||
| unsigned short * | blue_table ) |
Definition at line 5318 of file dxGraphicsStateGuardian9.cxx.
| KEY_ELEMENT * add_to_key_list | ( | KEY | key, |
| KEY_LIST * | key_list ) |
Definition at line 5596 of file dxGraphicsStateGuardian9.cxx.
| void delete_key_list | ( | KEY_LIST * | key_list | ) |
Definition at line 5567 of file dxGraphicsStateGuardian9.cxx.
| KEY_ELEMENT * first_key_element | ( | KEY_LIST * | key_list | ) |
Definition at line 5557 of file dxGraphicsStateGuardian9.cxx.
| KEY_ELEMENT * new_key_element | ( | KEY | key, |
| KEY_LIST * | key_list ) |
Definition at line 5542 of file dxGraphicsStateGuardian9.cxx.
| KEY_LIST * new_key_list | ( | void | ) |
Definition at line 5586 of file dxGraphicsStateGuardian9.cxx.
| KEY_ELEMENT * next_key_element | ( | KEY_ELEMENT * | key_element | ) |
Definition at line 5562 of file dxGraphicsStateGuardian9.cxx.