Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
頂点フォーマット.DirectX9の D3DVERTEXELEMENT を参照. GRRender->SetVertexFormat()に配列を渡す. GRRenderは,配列を見て,適当なシェーダーを設定する. シェーダーが見つからない場合は,NULLシェーダーを設定する=描画されない. DrawDirect/DrawIndexed はシェーダーを使って描画する.
#include <SprGRVertex.h>
構成 | |
struct | VFC3fP3fB4f |
struct | VFC4bP3f |
struct | VFC4bP3fB4f |
struct | VFC4fN3fP3f |
struct | VFC4fN3fP3fB4f |
struct | VFN3fP3f |
struct | VFN3fP3fB4f |
struct | VFP2f |
struct | VFP3f |
struct | VFP3fB4f |
struct | VFT2fC4bP3f |
struct | VFT2fC4bP3fB4f |
struct | VFT2fC4fN3fP3f |
struct | VFT2fC4fN3fP3fB4f |
struct | VFT2fN3fP3f |
struct | VFT2fN3fP3fB4f |
struct | VFT2fP3f |
struct | VFT2fP3fB4f |
struct | VFT4fC4fN3fP4f |
struct | VFT4fP4f |
Static Public メソッド | |
static GRVertexElement | Position2f (size_t o) |
static GRVertexElement | Position3f (size_t o) |
static GRVertexElement | Position4f (size_t o) |
static GRVertexElement | Normal3f (size_t o) |
static GRVertexElement | TexCoords2f (size_t o) |
static GRVertexElement | TexCoords4f (size_t o) |
static GRVertexElement | Color4b (size_t o) |
static GRVertexElement | Color4f (size_t o) |
static GRVertexElement | Color3f (size_t o) |
static GRVertexElement | BlendNf (size_t o, size_t n) |
static GRVertexElement | Blend4f (size_t o) |
static GRVertexElement | Blend3f (size_t o) |
static GRVertexElement | Blend2f (size_t o) |
static GRVertexElement | Blend1f (size_t o) |
static GRVertexElement | MatrixIndicesNf (size_t o, size_t n) |
static GRVertexElement | NumBonesNf (size_t o, size_t n) |
static GRVertexElement | MatrixIndices4f (size_t o) |
static GRVertexElement | NumBones4f (size_t o) |
Public 変数 | |
short | stream |
short | offset |
unsigned char | type |
unsigned char | method |
unsigned char | usage |
unsigned char | usageIndex |
Static Public 変数 | |
典型的な頂点フォーマット.シェーダーを指定せずレンダリングできる. | |
static const GRVertexElement | vfP2f [] |
static const GRVertexElement | vfP3f [] |
static const GRVertexElement | vfC4bP3f [] |
static const GRVertexElement | vfN3fP3f [] |
static const GRVertexElement | vfC4fN3fP3f [] |
static const GRVertexElement | vfT2fP3f [] |
static const GRVertexElement | vfT4fP4f [] |
static const GRVertexElement | vfT2fC4bP3f [] |
static const GRVertexElement | vfT2fN3fP3f [] |
static const GRVertexElement | vfT2fC4fN3fP3f [] |
static const GRVertexElement | vfT4fC4fN3fP4f [] |
static const GRVertexElement * | typicalFormats [] |
ブレンド付き頂点フォーマット.VertexBlendingシェーダー対応. | |
static const GRVertexElement | vfP3fB4f [] |
static const GRVertexElement | vfC4bP3fB4f [] |
static const GRVertexElement | vfC3fP3fB4f [] |
static const GRVertexElement | vfN3fP3fB4f [] |
static const GRVertexElement | vfC4fN3fP3fB4f [] |
static const GRVertexElement | vfT2fP3fB4f [] |
static const GRVertexElement | vfT2fC4bP3fB4f [] |
static const GRVertexElement | vfT2fN3fP3fB4f [] |
static const GRVertexElement | vfT2fC4fN3fP3fB4f [] |
static const GRVertexElement * | typicalBlendFormats [] |