OROCHI
 
Loading...
Searching...
No Matches
GxPrimitiveContext Class Reference

プリミティブの並列発行を管理します。 More...

#include <GxPrimitiveContext.h>

Inheritance diagram for GxPrimitiveContext:
Collaboration diagram for GxPrimitiveContext:

Friends

定義
class GxPrimitiveManager
 

初期化

 GxPrimitiveContext (void)
 デフォルトコンストラクタ
 

操作

void setScreenSize (const GxSize &size, f32 priority)
 スクリーンサイズを設定
 
void setScissorRect (const GxRect &rect, f32 priority, u32 viewFlag=0xFFFFFFFF)
 シザリング矩形の設定
 
void setRenderTarget (GxRenderTexture *pRenderTarget, f32 priority, u32 viewFlag=0xFFFFFFFF)
 レンダーターゲットの設定
 
void copyRenderTargetToTexture (u32 index, GxRenderTexture *pTexture, u32 dstMipLevel, const GxRect *pSrcRect, const GxPoint2 *pDstPoint, f32 priority, u32 viewFlag=0xFFFFFFFF)
 レンダーターゲットをテクスチャにコピー
 
void clear (const GxColor &clearColor, f32 priority, u32 viewFlag=0xFFFFFFFF)
 画面クリア
 
GxPrimitiveVertexdraw2DLineList (u32 vertexCount, const GxPrimitiveMaterial &material, f32 priority)
 2Dラインリスト
 
GxPrimitiveVertexdraw2DLineStrip (u32 vertexCount, const GxPrimitiveMaterial &material, f32 priority)
 2Dラインストリップ
 
GxPrimitiveVertexdraw2DTriangleList (u32 vertexCount, const GxPrimitiveMaterial &material, f32 priority)
 2Dトライアングルリスト
 
GxPrimitiveVertexdraw2DTriangleStrip (u32 vertexCount, const GxPrimitiveMaterial &material, f32 priority)
 2Dトライアングルストリップ
 
GxPrimitiveVertexdraw2DTriangleFan (u32 vertexCount, const GxPrimitiveMaterial &material, f32 priority)
 2Dトライアングルファン
 
GxPrimitiveVertexdraw2DQuadList (u32 vertexCount, const GxPrimitiveMaterial &material, f32 priority)
 2Dクアッドリスト
 
GX_FORCE_INLINE void draw2DPoint (const GxVector3 &position, const GxColor color, const GxPrimitiveMaterial &material)
 2D点
 
GX_FORCE_INLINE void draw2DLineF (const GxVector3 &position0, const GxVector3 &position1, const GxColor color, const GxPrimitiveMaterial &material)
 2Dライン(Flat)
 
GX_FORCE_INLINE void draw2DLineG (const GxVector3 &position0, const GxVector3 &position1, const GxColor color0, const GxColor color1, const GxPrimitiveMaterial &material)
 2Dライン(Gradation)
 
GX_FORCE_INLINE void draw2DPolyLineF (const GxVector3 &position0, const GxVector3 &position1, u32 width, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2Dポリライン(Flat)
 
void draw2DPolyLineG (const GxVector3 &position0, const GxVector3 &position1, u32 width, const GxColor color0, const GxColor color1, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2Dポリライン(Gradation)
 
GX_FORCE_INLINE void draw2DTriangleF (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D三角形(Flat)
 
void draw2DTriangleG (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxColor color0, const GxColor color1, const GxColor color2, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D三角形(Gradation)
 
GX_FORCE_INLINE void draw2DRectF (const GxRectF &rect, f32 z, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D四角形(Flat)
 
GX_FORCE_INLINE void draw2DRectF (const GxRectF &rect, f32 posZ, f32 z, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D四角形(z値指定、Flat)
 
void draw2DRectG (const GxRectF &rect, f32 z, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D四角形(Gradation)
 
void draw2DRectG (const GxRectF &rect, f32 posZ, f32 z, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D四角形(z値指定、Gradation)
 
GX_FORCE_INLINE void draw2DRectTextureF (const GxRectF &rect, f32 z, const GxColor color, const GxFloat2 &uv0, const GxFloat2 &uv1, const GxPrimitiveMaterial &material, const GxFloat2 &uvSecond0=GxFloat2(0.f, 0.f), const GxFloat2 &uvSecond1=GxFloat2(1.f, 1.f))
 2Dテクスチャ付き四角形(Flat)
 
GX_FORCE_INLINE void draw2DRectTextureG (const GxRectF &rect, f32 z, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, const GxFloat2 &uv0, const GxFloat2 &uv1, const GxPrimitiveMaterial &material, const GxFloat2 &uvSecond0=GxFloat2(0.f, 0.f), const GxFloat2 &uvSecond1=GxFloat2(1.f, 1.f))
 2Dテクスチャ付き四角形(Gradation)
 
GX_FORCE_INLINE void draw2DRectTextureG (const GxRectF &rect, f32 posZ, f32 z, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, const GxFloat2 &uv0, const GxFloat2 &uv1, const GxPrimitiveMaterial &material, const GxFloat2 &uvSecond0=GxFloat2(0.f, 0.f), const GxFloat2 &uvSecond1=GxFloat2(1.f, 1.f))
 2Dテクスチャ付き四角形(Z値指定、Gradation)
 
GX_FORCE_INLINE void draw2DRectF (const GxRectF &rect, f32 z, const GxVector2 &rotateCenter, const f32 rotateRadian, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D回転あり四角形(Flat)
 
void draw2DRectG (const GxRectF &rect, f32 z, const GxVector2 &rotateCenter, const f32 rotateRadian, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D回転あり四角形(Gradation)
 
GX_FORCE_INLINE void draw2DRectTextureF (const GxRectF &rect, f32 z, const GxVector2 &rotateCenter, const f32 rotateRadian, const GxColor color, const GxFloat2 &uv0, const GxFloat2 &uv1, const GxPrimitiveMaterial &material, const GxFloat2 &uvSecond0=GxFloat2(0.f, 0.f), const GxFloat2 &uvSecond1=GxFloat2(1.f, 1.f))
 2Dテクスチャ付き回転あり四角形(Flat)
 
GX_FORCE_INLINE void draw2DRectTextureG (const GxRectF &rect, f32 z, const GxVector2 &rotateCenter, const f32 rotateRadian, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, const GxFloat2 &uv0, const GxFloat2 &uv1, const GxPrimitiveMaterial &material, const GxFloat2 &uvSecond0=GxFloat2(0.f, 0.f), const GxFloat2 &uvSecond1=GxFloat2(1.f, 1.f))
 2Dテクスチャ付き回転あり四角形(Gradation)
 
GX_FORCE_INLINE void draw2DRectTextureG (const GxRectF &rect, f32 posZ, f32 z, const GxVector2 &rotateCenter, const f32 rotateRadian, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, const GxFloat2 &uv0, const GxFloat2 &uv1, const GxPrimitiveMaterial &material, const GxFloat2 &uvSecond0=GxFloat2(0.f, 0.f), const GxFloat2 &uvSecond1=GxFloat2(1.f, 1.f))
 2Dテクスチャ付き回転あり四角形(Z値指定、Gradation)
 
GX_FORCE_INLINE void draw2DCircleF (const GxVector3 &position, f32 radius, const GxColor color, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D円(Flat)
 
void draw2DCircleG (const GxVector3 &position, f32 radius, const GxColor color0, const GxColor color1, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D円(Gradation)
 
GX_FORCE_INLINE void draw2DFanF (const GxVector3 &position, f32 radius, f32 startRadian, f32 deltaRadian, const GxColor color, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D扇形(Flat)
 
void draw2DFanG (const GxVector3 &position, f32 radius, f32 startRadian, f32 deltaRadian, const GxColor color0, const GxColor color1, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material)
 2D扇形(Gradation)
 
GX_FORCE_INLINE void draw2DArrowF (const GxVector3 &position0, const GxVector3 &position1, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, f32 arrowRate=0.2f, f32 arrowRadius=DEGREE_TO_RADIAN(30.0f))
 2Dベクトル(Flat)
 
GX_FORCE_INLINE void draw2DArrowG (const GxVector3 &position0, const GxVector3 &position1, const GxColor color0, const GxColor color1, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, f32 arrowRate=0.2f, f32 arrowRadius=DEGREE_TO_RADIAN(30.0f))
 2Dベクトル(Gradation)
 
void draw2DCustom (const GxPrimitiveMaterial &material, f32 priority)
 カスタム2D描画を行う。GxPrimitiveMaterial::_handler コールバックのみ実行する
 
GxPrimitiveVertexdraw3DLineList (u32 vertexCount, const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 3Dラインリスト
 
GxPrimitiveVertexdraw3DLineStrip (u32 vertexCount, const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 3Dラインストリップ
 
GxPrimitiveVertexdraw3DTriangleList (u32 vertexCount, const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 3Dトライアングルリスト
 
GxPrimitiveVertexdraw3DTriangleStrip (u32 vertexCount, const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 3Dトライアングルストリップ
 
GxPrimitiveVertexdraw3DTriangleFan (u32 vertexCount, const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 3Dトライアングルファン
 
GxPrimitiveVertexdraw3DQuadList (u32 vertexCount, const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 3Dクアッドリストリスト
 
GX_FORCE_INLINE void draw3DPoint (const GxVector3 &position, const GxColor color, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D点
 
GX_FORCE_INLINE void draw3DLineF (const GxVector3 &position0, const GxVector3 &position1, const GxColor color, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3Dライン(Flat)
 
GX_FORCE_INLINE void draw3DLineG (const GxVector3 &position0, const GxVector3 &position1, const GxColor color0, const GxColor color1, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3Dライン(Gradation)
 
GX_FORCE_INLINE void draw3DTriangleF (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D三角形(Flat)
 
void draw3DTriangleG (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxColor color0, const GxColor color1, const GxColor color2, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D三角形(Gradation)
 
GX_FORCE_INLINE void draw3DQuadF (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxVector3 &position3, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D四角形(Flat)
 
void draw3DQuadG (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxVector3 &position3, const GxColor color0, const GxColor color1, const GxColor color2, const GxColor color3, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D四角形(Gradation)
 
GX_FORCE_INLINE void draw3DQuadTextureF (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxVector3 &position3, const GxColor color, GxFloat2 *pUvArray, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, GxFloat2 *pUvArraySecond=nullptr, u32 viewFlag=0xFFFFFFFF)
 3Dテクスチャ付き四角形(Flat)
 
void draw3DQuadTextureG (const GxVector3 &position0, const GxVector3 &position1, const GxVector3 &position2, const GxVector3 &position3, GxColor *pColorArray, GxFloat2 *pUvArray, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, GxFloat2 *pUvArraySecond=nullptr, u32 viewFlag=0xFFFFFFFF)
 3Dテクスチャ付き四角形(Gradation)
 
GX_FORCE_INLINE void draw3DArrowF (const GxVector3 &position0, const GxVector3 &position1, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, f32 arrowRate=0.2f, f32 arrowRadian=DEGREE_TO_RADIAN(30.0f), u32 viewFlag=0xFFFFFFFF)
 3Dベクトル(Flat)
 
void draw3DArrowG (const GxVector3 &position0, const GxVector3 &position1, const GxColor color0, const GxColor color1, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, f32 arrowRate=0.2f, f32 arrowRadian=DEGREE_TO_RADIAN(30.0f), u32 viewFlag=0xFFFFFFFF)
 3Dベクトル(Gradation)
 
GX_FORCE_INLINE void draw3DMatrix (const GxMatrixAffine &matrix, f32 size, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, f32 arrowRate=0.2f, f32 arrowRadius=DEGREE_TO_RADIAN(30.0f), u32 viewFlag=0xFFFFFFFF)
 3Dマトリクス
 
GX_FORCE_INLINE void draw3DMatrix (const GxVector3 &position, f32 size, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, f32 arrowRate=0.2f, f32 arrowRadius=DEGREE_TO_RADIAN(30.0f), u32 viewFlag=0xFFFFFFFF)
 3Dマトリクス(ポジションのみ)
 
GX_FORCE_INLINE void draw3DSphere (const GxShapeSphere &sphere, const GxColor color, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D球(形状指定)
 
GX_FORCE_INLINE void draw3DSphere (const GxVector3 &center, f32 radius, const GxColor color, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D球(ポジション指定)
 
void draw3DSphere (const GxMatrixAffine &matrix, f32 radius, const GxColor color, u32 divide, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D球(行列指定)
 
GX_FORCE_INLINE void draw3DBox (const GxShapeBox &box, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D箱(形状指定)
 
void draw3DBox (const GxMatrixAffine &matrix, const GxVector3 &extent, const GxColor color, PRIMITIVE_FILL_MODE fillMode, const GxPrimitiveMaterial &material, u32 viewFlag=0xFFFFFFFF)
 3D箱(行列指定)
 
void draw3DCustom (const GxPrimitiveMaterial &material, const GxVector3 &priorityPoint, u32 viewFlag=0xFFFFFFFF)
 カスタム3D描画を行う。GxPrimitiveMaterial::_handler コールバックのみ実行する
 

Additional Inherited Members

- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

プリミティブの並列発行を管理します。

プリミティブコンテキストクラス

Member Function Documentation

◆ clear()

void GxPrimitiveContext::clear ( const GxColor & clearColor,
f32 priority,
u32 viewFlag = 0xFFFFFFFF )

画面クリア

Parameters
clearColor[in] クリアカラー
priority[in] 優先度
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:

◆ copyRenderTargetToTexture()

void GxPrimitiveContext::copyRenderTargetToTexture ( u32 index,
GxRenderTexture * pTexture,
u32 dstMipLevel,
const GxRect * pSrcRect,
const GxPoint2 * pDstPoint,
f32 priority,
u32 viewFlag = 0xFFFFFFFF )

レンダーターゲットをテクスチャにコピー

Parameters
index[in] インデックス
pTexture[in] レンダーテクスチャ
dstMipLevel[in] ミップレベル
pSrcRect[in] 描画元矩形
pDstPoint[in] 描画先座標
priority[in] 優先度
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:

◆ draw2DArrowF()

void GxPrimitiveContext::draw2DArrowF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
f32 arrowRate = 0.2f,
f32 arrowRadius = DEGREE_TO_RADIAN(30.0f) )

2Dベクトル(Flat)

Parameters
position0[in] 座標
position1[in] 座標
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
arrowRate[in] 矢印の比率
arrowRadius[in] 矢印の半径
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DArrowG()

void GxPrimitiveContext::draw2DArrowG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color0,
const GxColor color1,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
f32 arrowRate = 0.2f,
f32 arrowRadius = DEGREE_TO_RADIAN(30.0f) )

2Dベクトル(Gradation)

Parameters
position0[in] 座標
position1[in] 座標
color0[in] 色
color1[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
arrowRate[in] 矢印の比率
arrowRadius[in] 矢印の半径
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DCircleF()

void GxPrimitiveContext::draw2DCircleF ( const GxVector3 & position,
f32 radius,
const GxColor color,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D円(Flat)

Parameters
position[in] 座標
radius[in] 半径
color[in] 色
divide[in] 円弧分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DCircleG()

void GxPrimitiveContext::draw2DCircleG ( const GxVector3 & position,
f32 radius,
const GxColor color0,
const GxColor color1,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D円(Gradation)

Parameters
position[in] 中心座標(z成分は描画優先度0.0f~1.0f)
radius[in] 半径
color0[in] 中心色
color1[in] 円周色
divide[in] 円周分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DCustom()

void GxPrimitiveContext::draw2DCustom ( const GxPrimitiveMaterial & material,
f32 priority )

カスタム2D描画を行う。GxPrimitiveMaterial::_handler コールバックのみ実行する

完全なカスタム2D描画を行う。_handler コールバックのみ実行した後、 プリミティブ用の VertexBuffer, IndexBuffer, VertexDeclaration に戻す

Parameters
material[in] マテリアル
priority[in] 優先度
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DFanF()

void GxPrimitiveContext::draw2DFanF ( const GxVector3 & position,
f32 radius,
f32 startRadian,
f32 deltaRadian,
const GxColor color,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D扇形(Flat)

Parameters
position[in] 中心座標。z座標は奥行き。
radius[in] 半径
startRadian[in] 開始角度[deg]時計の3時を0として、反時計を正とする
deltaRadian[in] 描画する角度量[deg]
color[in] 色
divide[in] 円弧分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DFanG()

void GxPrimitiveContext::draw2DFanG ( const GxVector3 & position,
f32 radius,
f32 startRadian,
f32 deltaRadian,
const GxColor color0,
const GxColor color1,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D扇形(Gradation)

Parameters
position[in] 中心座標(z成分は描画優先度0.0f~1.0f)
radius[in] 半径
startRadian[in] 開始角度[rad]時計の3時を0として、反時計を正とする
deltaRadian[in] 描画する角度量[rad]
color0[in] 色
color1[in] 色
divide[in] 円弧分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DLineF()

void GxPrimitiveContext::draw2DLineF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color,
const GxPrimitiveMaterial & material )

2Dライン(Flat)

Parameters
position0[in] 座標
position1[in] 座標
color[in] 色
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DLineG()

void GxPrimitiveContext::draw2DLineG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color0,
const GxColor color1,
const GxPrimitiveMaterial & material )

2Dライン(Gradation)

Parameters
position0[in] 座標
position1[in] 座標
color0[in] 色
color1[in] 色
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DLineList()

GxPrimitiveVertex * GxPrimitiveContext::draw2DLineList ( u32 vertexCount,
const GxPrimitiveMaterial & material,
f32 priority )

2Dラインリスト

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priority[in] 描画優先度(0.0f~1.0f)
Returns
頂点バッファ配列のポインタ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DLineStrip()

GxPrimitiveVertex * GxPrimitiveContext::draw2DLineStrip ( u32 vertexCount,
const GxPrimitiveMaterial & material,
f32 priority )

2Dラインストリップ

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priority[in] 描画優先度(0.0f~1.0f)
Returns
頂点バッファ配列のポインタ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DPoint()

void GxPrimitiveContext::draw2DPoint ( const GxVector3 & position,
const GxColor color,
const GxPrimitiveMaterial & material )

2D点

Parameters
position[in] 座標
color[in] 色
material[in] マテリアル
Here is the caller graph for this function:

◆ draw2DPolyLineF()

void GxPrimitiveContext::draw2DPolyLineF ( const GxVector3 & position0,
const GxVector3 & position1,
u32 width,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2Dポリライン(Flat)

Parameters
position0[in] 座標
position1[in] 座標
width[in] 幅
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DPolyLineG()

void GxPrimitiveContext::draw2DPolyLineG ( const GxVector3 & position0,
const GxVector3 & position1,
u32 width,
const GxColor color0,
const GxColor color1,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2Dポリライン(Gradation)

Parameters
position0[in] 開始点(z成分は描画優先度0.0f~1.0f)
position1[in] 終了点(z成分は描画優先度0.0f~1.0f)
width[in] 幅
color0[in] 色
color1[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DQuadList()

GxPrimitiveVertex * GxPrimitiveContext::draw2DQuadList ( u32 vertexCount,
const GxPrimitiveMaterial & material,
f32 priority )

2Dクアッドリスト

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priority[in] 描画優先度(0.0f~1.0f)
Returns
頂点バッファ配列のポインタ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DRectF() [1/3]

void GxPrimitiveContext::draw2DRectF ( const GxRectF & rect,
f32 positionZ,
f32 z,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D四角形(z値指定、Flat)

Parameters
rect[in] 矩形
positionZ[in] z座標
z[in] z値
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:

◆ draw2DRectF() [2/3]

void GxPrimitiveContext::draw2DRectF ( const GxRectF & rect,
f32 z,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D四角形(Flat)

Parameters
rect[in] 矩形
z[in] z値
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DRectF() [3/3]

void GxPrimitiveContext::draw2DRectF ( const GxRectF & rect,
f32 z,
const GxVector2 & rotateCenter,
const f32 rotateRadian,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D回転あり四角形(Flat)

Parameters
rect[in] 矩形
z[in] z値
rotateCenter[in] 回転の中心
rotateRadian[in] 回転角度
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:

◆ draw2DRectG() [1/3]

void GxPrimitiveContext::draw2DRectG ( const GxRectF & rect,
f32 pos_z,
f32 z,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D四角形(z値指定、Gradation)

Parameters
rect[in] 矩形
z[in] 深度
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:

◆ draw2DRectG() [2/3]

void GxPrimitiveContext::draw2DRectG ( const GxRectF & rect,
f32 z,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D四角形(Gradation)

Parameters
rect[in] 矩形
z[in] 深度
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DRectG() [3/3]

void GxPrimitiveContext::draw2DRectG ( const GxRectF & rect,
f32 z,
const GxVector2 & rotateCenter,
const f32 rotateRadian,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D回転あり四角形(Gradation)

Parameters
rect[in] 矩形
z[in] 深度
rotateCenter[in] 回転を行う中心座標
rotateRadian[in] 角度(ラジアン)
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:

◆ draw2DRectTextureF() [1/2]

void GxPrimitiveContext::draw2DRectTextureF ( const GxRectF & rect,
f32 z,
const GxColor color,
const GxFloat2 & uv0,
const GxFloat2 & uv1,
const GxPrimitiveMaterial & material,
const GxFloat2 & uvSecond0 = GxFloat2(0.f, 0.f),
const GxFloat2 & uvSecond1 = GxFloat2(1.f, 1.f) )

2Dテクスチャ付き四角形(Flat)

Parameters
rect[in] 矩形
z[in] z値
color[in] 色
uv0[in] UV値
uv1[in] UV値
material[in] マテリアル
uvSecond0[in] セカンドUV値
uvSecond1[in] セカンドUV値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DRectTextureF() [2/2]

void GxPrimitiveContext::draw2DRectTextureF ( const GxRectF & rect,
f32 z,
const GxVector2 & rotateCenter,
const f32 rotateRadian,
const GxColor color,
const GxFloat2 & uv0,
const GxFloat2 & uv1,
const GxPrimitiveMaterial & material,
const GxFloat2 & uvSecond0 = GxFloat2(0.f, 0.f),
const GxFloat2 & uvSecond1 = GxFloat2(1.f, 1.f) )

2Dテクスチャ付き回転あり四角形(Flat)

Parameters
rect[in] 矩形
z[in] z値
rotateCenter[in] 回転の中心
rotateRadian[in] 回転角度
color[in] 色
uv0[in] UV値
uv1[in] UV値
material[in] マテリアル
uvSecond0[in] セカンドUV値
uvSecond1[in] セカンドUV値
Here is the call graph for this function:

◆ draw2DRectTextureG() [1/4]

void GxPrimitiveContext::draw2DRectTextureG ( const GxRectF & rect,
f32 positionZ,
f32 z,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
const GxFloat2 & uv0,
const GxFloat2 & uv1,
const GxPrimitiveMaterial & material,
const GxFloat2 & uvSecond0 = GxFloat2(0.f, 0.f),
const GxFloat2 & uvSecond1 = GxFloat2(1.f, 1.f) )

2Dテクスチャ付き四角形(Z値指定、Gradation)

Parameters
rect[in] 矩形
positionZ[in] z座標
z[in] z値
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
uv0[in] UV値
uv1[in] UV値
material[in] マテリアル
uvSecond0[in] セカンドUV値
uvSecond1[in] セカンドUV値
Here is the call graph for this function:

◆ draw2DRectTextureG() [2/4]

void GxPrimitiveContext::draw2DRectTextureG ( const GxRectF & rect,
f32 positionZ,
f32 z,
const GxVector2 & rotateCenter,
const f32 rotateRadian,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
const GxFloat2 & uv0,
const GxFloat2 & uv1,
const GxPrimitiveMaterial & material,
const GxFloat2 & uvSecond0 = GxFloat2(0.f, 0.f),
const GxFloat2 & uvSecond1 = GxFloat2(1.f, 1.f) )

2Dテクスチャ付き回転あり四角形(Z値指定、Gradation)

Parameters
rect[in] 矩形
positionZ[in] z座標
z[in] z値
rotateCenter[in] 回転の中心
rotateRadian[in] 回転角度
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
uv0[in] UV値
uv1[in] UV値
material[in] マテリアル
uvSecond0[in] セカンドUV値
uvSecond1[in] セカンドUV値
Here is the call graph for this function:

◆ draw2DRectTextureG() [3/4]

void GxPrimitiveContext::draw2DRectTextureG ( const GxRectF & rect,
f32 z,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
const GxFloat2 & uv0,
const GxFloat2 & uv1,
const GxPrimitiveMaterial & material,
const GxFloat2 & uvSecond0 = GxFloat2(0.f, 0.f),
const GxFloat2 & uvSecond1 = GxFloat2(1.f, 1.f) )

2Dテクスチャ付き四角形(Gradation)

Parameters
rect[in] 矩形
z[in] z値
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
uv0[in] UV値
uv1[in] UV値
material[in] マテリアル
uvSecond0[in] セカンドUV値
uvSecond1[in] セカンドUV値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DRectTextureG() [4/4]

void GxPrimitiveContext::draw2DRectTextureG ( const GxRectF & rect,
f32 z,
const GxVector2 & rotateCenter,
const f32 rotateRadian,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
const GxFloat2 & uv0,
const GxFloat2 & uv1,
const GxPrimitiveMaterial & material,
const GxFloat2 & uvSecond0 = GxFloat2(0.f, 0.f),
const GxFloat2 & uvSecond1 = GxFloat2(1.f, 1.f) )

2Dテクスチャ付き回転あり四角形(Gradation)

Parameters
rect[in] 矩形
z[in] z値
rotateCenter[in] 回転の中心
rotateRadian[in] 回転角度
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
uv0[in] UV値
uv1[in] UV値
material[in] マテリアル
uvSecond0[in] セカンドUV値
uvSecond1[in] セカンドUV値
Here is the call graph for this function:

◆ draw2DTriangleF()

void GxPrimitiveContext::draw2DTriangleF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D三角形(Flat)

Parameters
position0[in] 座標
position1[in] 座標
position2[in] 座標
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DTriangleFan()

GxPrimitiveVertex * GxPrimitiveContext::draw2DTriangleFan ( u32 vertexCount,
const GxPrimitiveMaterial & material,
f32 priority )

2Dトライアングルファン

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priority[in] 描画優先度(0.0f~1.0f)
Returns
頂点バッファ配列のポインタ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DTriangleG()

void GxPrimitiveContext::draw2DTriangleG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxColor color0,
const GxColor color1,
const GxColor color2,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material )

2D三角形(Gradation)

Parameters
position0[in] 頂点(z成分は描画優先度0.0f~1.0f)
position1[in] 頂点(z成分は描画優先度0.0f~1.0f)
position2[in] 頂点(z成分は描画優先度0.0f~1.0f)
color0[in] 色
color1[in] 色
color2[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DTriangleList()

GxPrimitiveVertex * GxPrimitiveContext::draw2DTriangleList ( u32 vertexCount,
const GxPrimitiveMaterial & material,
f32 priority )

2Dトライアングルリスト

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priority[in] 描画優先度(0.0f~1.0f)
Returns
頂点バッファ配列のポインタ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw2DTriangleStrip()

GxPrimitiveVertex * GxPrimitiveContext::draw2DTriangleStrip ( u32 vertexCount,
const GxPrimitiveMaterial & material,
f32 priority )

2Dトライアングルストリップ

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priority[in] 描画優先度(0.0f~1.0f)
Returns
頂点バッファ配列のポインタ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DArrowF()

void GxPrimitiveContext::draw3DArrowF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
f32 arrowRate = 0.2f,
f32 arrowRadian = DEGREE_TO_RADIAN(30.0f),
u32 viewFlag = 0xFFFFFFFF )

3Dベクトル(Flat)

Parameters
position0[in] 座標
position1[in] 座標
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
arrowRate[in] 矢印の比率
arrowRadian[in] 矢印の半径
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DArrowG()

void GxPrimitiveContext::draw3DArrowG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color0,
const GxColor color1,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
f32 arrowRate = 0.2f,
f32 arrowRadian = DEGREE_TO_RADIAN(30.0f),
u32 viewFlag = 0xFFFFFFFF )

3Dベクトル(Gradation)

Parameters
position0[in] 始点
position1[in] 終点
color0[in] 色
color1[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
arrowRate[in] 矢尻部分の全体に対する割合(0.0f~1.0f)
arrowRadian[in] 矢尻部分の鋭さ
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DBox() [1/2]

void GxPrimitiveContext::draw3DBox ( const GxMatrixAffine & coord,
const GxVector3 & extent,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D箱(行列指定)

Parameters
coord[in] 姿勢マトリクス
extent[in] 各辺の長さの1/2
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:

◆ draw3DBox() [2/2]

void GxPrimitiveContext::draw3DBox ( const GxShapeBox & box,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D箱(形状指定)

Parameters
box[in] 箱
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DCustom()

void GxPrimitiveContext::draw3DCustom ( const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

カスタム3D描画を行う。GxPrimitiveMaterial::_handler コールバックのみ実行する

完全なカスタム3D描画を行う。_handler コールバックのみ実行した後 プリミティブ用の VertexBuffer, IndexBuffer, VertexDeclaration に戻す

Parameters
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] ビューフラグ
Here is the caller graph for this function:

◆ draw3DLineF()

void GxPrimitiveContext::draw3DLineF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3Dライン(Flat)

Parameters
position0[in] 座標
position1[in] 座標
color[in] 色
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DLineG()

void GxPrimitiveContext::draw3DLineG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxColor color0,
const GxColor color1,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3Dライン(Gradation)

Parameters
position0[in] 座標
position1[in] 座標
color0[in] 色
color1[in] 色
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DLineList()

GxPrimitiveVertex * GxPrimitiveContext::draw3DLineList ( u32 vertexCount,
const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

3Dラインリスト

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] 描画するビューフラグ
Returns
頂点バッファ配列のポインタ
Here is the caller graph for this function:

◆ draw3DLineStrip()

GxPrimitiveVertex * GxPrimitiveContext::draw3DLineStrip ( u32 vertexCount,
const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

3Dラインストリップ

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] 描画するビューフラグ
Returns
頂点バッファ配列のポインタ
Here is the caller graph for this function:

◆ draw3DMatrix() [1/2]

void GxPrimitiveContext::draw3DMatrix ( const GxMatrixAffine & matrix,
f32 size,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
f32 arrowRate = 0.2f,
f32 arrowRadius = DEGREE_TO_RADIAN(30.0f),
u32 viewFlag = 0xFFFFFFFF )

3Dマトリクス

Parameters
matrix[in] 行列
size[in] サイズ
fillMode[in] 塗りつぶしモード
material[in] マテリアル
arrowRate[in] 矢印の比率
arrowRadian[in] 矢印の半径
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DMatrix() [2/2]

void GxPrimitiveContext::draw3DMatrix ( const GxVector3 & position,
f32 size,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
f32 arrowRate = 0.2f,
f32 arrowRadius = DEGREE_TO_RADIAN(30.0f),
u32 viewFlag = 0xFFFFFFFF )

3Dマトリクス(ポジションのみ)

Parameters
position[in] 座標
size[in] サイズ
fillMode[in] 塗りつぶしモード
material[in] マテリアル
arrowRate[in] 矢印の比率
arrowRadian[in] 矢印の半径
viewFlag[in] 描画フラグ
Here is the call graph for this function:

◆ draw3DPoint()

void GxPrimitiveContext::draw3DPoint ( const GxVector3 & position,
const GxColor color,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D点

Parameters
position[in] 座標
color[in] 色
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DQuadF()

void GxPrimitiveContext::draw3DQuadF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxVector3 & position3,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D四角形(Flat)

Parameters
position0[in] 座標
position1[in] 座標
position2[in] 座標
position3[in] 座標
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DQuadG()

void GxPrimitiveContext::draw3DQuadG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxVector3 & position3,
const GxColor color0,
const GxColor color1,
const GxColor color2,
const GxColor color3,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D四角形(Gradation)

Parameters
position0[in] 頂点
position1[in] 頂点
position2[in] 頂点
position3[in] 頂点
color0[in] 色
color1[in] 色
color2[in] 色
color3[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DQuadList()

GxPrimitiveVertex * GxPrimitiveContext::draw3DQuadList ( u32 vertexCount,
const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

3Dクアッドリストリスト

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] 描画するビューフラグ
Returns
頂点バッファ配列のポインタ
Here is the caller graph for this function:

◆ draw3DQuadTextureF()

void GxPrimitiveContext::draw3DQuadTextureF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxVector3 & position3,
const GxColor color,
GxFloat2 * pUvArray,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
GxFloat2 * pUvArraySecond = nullptr,
u32 viewFlag = 0xFFFFFFFF )

3Dテクスチャ付き四角形(Flat)

Parameters
position0[in] 座標
position1[in] 座標
position2[in] 座標
position3[in] 座標
pUvArray[in] UV配列
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
pUvArraySecond[in] セカンドUV配列
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DQuadTextureG()

void GxPrimitiveContext::draw3DQuadTextureG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxVector3 & position3,
GxColor * pColorArray,
GxFloat2 * pUvArray,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
GxFloat2 * pUvArraySecond = nullptr,
u32 viewFlag = 0xFFFFFFFF )

3Dテクスチャ付き四角形(Gradation)

Parameters
position0[in] 頂点
position1[in] 頂点
position2[in] 頂点
position3[in] 頂点
pColorArray[in] 色配列[4]
pUvArray[in] UV配列[2]
fillMode[in] 塗りつぶしモード
material[in] マテリアル
pUvArraySecond[in] 第2UV配列[2]
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DSphere() [1/3]

void GxPrimitiveContext::draw3DSphere ( const GxMatrixAffine & coord,
f32 radius,
const GxColor color,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D球(行列指定)

Parameters
coord[in] 姿勢マトリクス
radius[in] 半径
color[in] 色
divide[in] 分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:

◆ draw3DSphere() [2/3]

void GxPrimitiveContext::draw3DSphere ( const GxShapeSphere & sphere,
const GxColor color,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D球(形状指定)

Parameters
sphere[in] 球
color[in] 色
divide[in] 分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DSphere() [3/3]

void GxPrimitiveContext::draw3DSphere ( const GxVector3 & center,
f32 radius,
const GxColor color,
u32 divide,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D球(ポジション指定)

Parameters
center[in] 中心
radius[in] 半径
color[in] 色
divide[in] 分割数
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:

◆ draw3DTriangleF()

void GxPrimitiveContext::draw3DTriangleF ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxColor color,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D三角形(Flat)

Parameters
position0[in] 座標
position1[in] 座標
position2[in] 座標
color[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画フラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DTriangleFan()

GxPrimitiveVertex * GxPrimitiveContext::draw3DTriangleFan ( u32 vertexCount,
const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

3Dトライアングルファン

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] 描画するビューフラグ
Returns
頂点バッファ配列のポインタ
Here is the caller graph for this function:

◆ draw3DTriangleG()

void GxPrimitiveContext::draw3DTriangleG ( const GxVector3 & position0,
const GxVector3 & position1,
const GxVector3 & position2,
const GxColor color0,
const GxColor color1,
const GxColor color2,
PRIMITIVE_FILL_MODE fillMode,
const GxPrimitiveMaterial & material,
u32 viewFlag = 0xFFFFFFFF )

3D三角形(Gradation)

Parameters
position0[in] 頂点
position1[in] 頂点
position2[in] 頂点
color0[in] 色
color1[in] 色
color2[in] 色
fillMode[in] 塗りつぶしモード
material[in] マテリアル
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw3DTriangleList()

GxPrimitiveVertex * GxPrimitiveContext::draw3DTriangleList ( u32 vertexCount,
const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

3Dトライアングルリスト

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] 描画するビューフラグ
Returns
頂点バッファ配列のポインタ
Here is the caller graph for this function:

◆ draw3DTriangleStrip()

GxPrimitiveVertex * GxPrimitiveContext::draw3DTriangleStrip ( u32 vertexCount,
const GxPrimitiveMaterial & material,
const GxVector3 & priorityPoint,
u32 viewFlag = 0xFFFFFFFF )

3Dトライアングルストリップ

Parameters
vertexCount[in] 頂点数
material[in] マテリアル
priorityPoint[in] 描画優先度に使うポイント(ワールド座標系)
viewFlag[in] 描画するビューフラグ
Returns
頂点バッファ配列のポインタ
Here is the caller graph for this function:

◆ setRenderTarget()

void GxPrimitiveContext::setRenderTarget ( GxRenderTexture * pRenderTarget,
f32 priority,
u32 viewFlag = 0xFFFFFFFF )

レンダーターゲットの設定

Parameters
pRenderTarget[in] レンダーターゲット
priority[in] 優先度
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:

◆ setScissorRect()

void GxPrimitiveContext::setScissorRect ( const GxRect & rect,
f32 priority,
u32 viewFlag = 0xFFFFFFFF )

シザリング矩形の設定

Parameters
rect[in] シザリング矩形
priority[in] 優先度
viewFlag[in] 描画するビューフラグ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setScreenSize()

void GxPrimitiveContext::setScreenSize ( const GxSize & size,
f32 priority )

スクリーンサイズを設定

Parameters
size[in] サイズ(0の場合はデフォルトに戻す)
priority[in] 優先度
Here is the call graph for this function:

The documentation for this class was generated from the following files: