差分

ナビゲーションに移動 検索に移動

GraphicsContext クラス (Sce.Pss.Core.Graphics)

2,478 バイト追加, 2012年5月14日 (月) 02:26
| public
|
| [[GraphicsContext.GraphicsContext () コンストラクタ (Sce.Pss.Core.Graphics)|GraphicsContext ()]]
| 標準的なグラフィクスコンテキストを作成する。
|-
| public
|
| [[GraphicsContext.GraphicsContext (int, int, PixelFormat, PixelFormat, MultiSampleMode) コンストラクタ (Sce.Pss.Core.Graphics)|GraphicsContext (int, int, PixelFormat, PixelFormat, MultiSampleMode)]]
| 解像度などを指定してグラフィクスコンテキストを作成する。[[PlayStation Suite Simulator]]で解像度を変更したい場合は、これを使う。
|}
|
| GraphicsCaps
| [[GraphicsContext.Caps プロパティ (Sce.Pss.Core.Graphics)|Caps]]
| get
| 各パラメータの許容範囲やサポートする拡張機能などを取得する
|
| FrameBuffer
| [[GraphicsContext.Screen プロパティ (Sce.Pss.Core.Graphics)|Screen]]
| get
| デフォルトのスクリーンを表すフレームバッファを取得する
| static
| ImageSize[]
| [[GraphicsContext.ScreenSizes プロパティ (Sce.Pss.Core.Graphics)|ScreenSizes]]
| get
| グラフィクスコンテキストを作成する時に指定できるスクリーンサイズの配列を取得する
|
| void
| [[GraphicsContext.Dispose () メソッド (Sce.Pss.Core.Graphics)|Dispose ()]]
| グラフィクスコンテキストの[[アンマネージド]]な[[リソース]]([[ガーベジコレクター]]対象外の[[リソース]])を解放する。
|-
|
| void
| [[GraphicsContext.Clear () メソッド (Sce.Pss.Core.Graphics)|Clear ()]]
| すべての[[フレームバッファー]]をクリアする。
|-
|
| void
| [[GraphicsContext.Clear (ClearMask) メソッド (Sce.Pss.Core.Graphics)|Clear (ClearMask)]]
| 指定した[[フレームバッファー]]をクリアする。
|-
|
| void
| [[GraphicsContext.Disable (EnableMode) メソッド (Sce.Pss.Core.Graphics)|Disable (EnableMode)]]
| 指定したグラフィクス機能を無効にする。[[アルファブレンド]]などを切りたい場合などに使う。
|-
|
| void
| [[GraphicsContext.DrawArrays (Primitive[]) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (Primitive[])]]
| プリミティブを描画する (プリミティブ配列用)
|-
|
| void
| [[GraphicsContext.DrawArrays (Primitive[], int, int) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (Primitive[], int, int)]]
| プリミティブを描画する (プリミティブ配列用、範囲あり)
|-
|
| void
| [[GraphicsContext.DrawArrays (DrawMode, int, int) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (DrawMode, int, int)]]
| プリミティブを描画する
|-
|
| void
| [[GraphicsContext.DrawArrays (DrawMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|DrawArrays (DrawMode, int, int, int)]]
| プリミティブを描画する (複数プリミティブ用)
|-
|
| void
| [[GraphicsContext.Enable (EnableMode) メソッド (Sce.Pss.Core.Graphics)|Enable (EnableMode)]]
| 指定したグラフィクス機能を有効にする
|-
|
| void
| [[GraphicsContext.Enable (EnableMode, bool) メソッド (Sce.Pss.Core.Graphics)|Enable (EnableMode, bool)]]
| 指定したグラフィクス機能を有効または無効にする
|-
|
| BlendFunc
| [[GraphicsContext.GetBlendFunc () メソッド (Sce.Pss.Core.Graphics)|GetBlendFunc ()]]
| アルファブレンド関数を取得する
|-
|
| BlendFunc
| [[GraphicsContext.GetBlendFuncAlpha () メソッド (Sce.Pss.Core.Graphics)|GetBlendFuncAlpha ()]]
| アルファブレンド関数を取得する (アルファチャンネル用)
|-
|
| BlendFunc
| [[GraphicsContext.GetBlendFuncRgb () メソッド (Sce.Pss.Core.Graphics)|GetBlendFuncRgb ()]]
| アルファブレンド関数を取得する (RGBチャンネル用)
|-
|
| Vector4
| [[GraphicsContext.GetClearColor () メソッド (Sce.Pss.Core.Graphics)|GetClearColor ()]]
| フレームバッファーのクリア時に塗りつぶされる色を取得する
|-
|
| float
| [[GraphicsContext.GetClearDepth () メソッド (Sce.Pss.Core.Graphics)|GetClearDepth ()]]
| フレームバッファーのクリア時に設定されるデプス値を取得する
|-
|
| int
| [[GraphicsContext.GetClearStencil () メソッド (Sce.Pss.Core.Graphics)|GetClearStencil ()]]
| フレームバッファーのクリア時に設定されるステンシル値を取得する
|-
|
| ColorMask
| [[GraphicsContext.GetColorMask () メソッド (Sce.Pss.Core.Graphics)|GetColorMask ()]]
| カラーの書き込みマスクを取得する
|-
|
| CullFace
| [[GraphicsContext.GetCullFace () メソッド (Sce.Pss.Core.Graphics)|GetCullFace ()]]
| バックフェースカリングを取得する
|-
|
| DepthFunc
| [[GraphicsContext.GetDepthFunc () メソッド (Sce.Pss.Core.Graphics)|GetDepthFunc ()]]
| デプステスト関数を取得する
|-
|
| Vector2
| [[GraphicsContext.GetDepthRange () メソッド (Sce.Pss.Core.Graphics)|GetDepthRange ()]]
| デプス値の範囲を取得する
|-
|
| FrameBuffer
| [[GraphicsContext.GetFrameBuffer () メソッド (Sce.Pss.Core.Graphics)|GetFrameBuffer ()]]
| フレームバッファを取得する
|-
|
| float
| [[GraphicsContext.GetLineWidth () メソッド (Sce.Pss.Core.Graphics)|GetLineWidth ()]]
| ライン幅を取得する
|-
|
| PolygonOffset
| [[GraphicsContext.GetPolygonOffset () メソッド (Sce.Pss.Core.Graphics)|GetPolygonOffset ()]]
| ポリゴンオフセットを取得する
|-
|
| ImageRect
| [[GraphicsContext.GetScissor () メソッド (Sce.Pss.Core.Graphics)|GetScissor ()]]
| シザーテストの矩形を取得する
|-
|
| ShaderProgram
| [[GraphicsContext.GetShaderProgram () メソッド (Sce.Pss.Core.Graphics)|GetShaderProgram ()]]
| シェーダープログラムを取得する
|-
|
| StencilFunc
| [[GraphicsContext.GetStencilFunc () メソッド (Sce.Pss.Core.Graphics)|GetStencilFunc ()]]
| ステンシルテスト関数を取得する
|-
|
| StencilFunc
| [[GraphicsContext.GetStencilFuncBack () メソッド (Sce.Pss.Core.Graphics)|GetStencilFuncBack ()]]
| ステンシルテスト関数を取得する (裏面用)
|-
|
| StencilFunc
| [[GraphicsContext.GetStencilFuncFront () メソッド (Sce.Pss.Core.Graphics)|GetStencilFuncFront ()]]
| ステンシルテスト関数を取得する (表面用)
|-
|
| StencilOp
| [[GraphicsContext.GetStencilOp () メソッド (Sce.Pss.Core.Graphics)|GetStencilOp ()]]
| ステンシルテスト操作を取得する
|-
|
| StencilOp
| [[GraphicsContext.GetStencilOpBack () メソッド (Sce.Pss.Core.Graphics)|GetStencilOpBack ()]]
| ステンシルテスト操作を取得する (裏面用)
|-
|
| StencilOp
| [[GraphicsContext.GetStencilOpBack () メソッド (Sce.Pss.Core.Graphics)|GetStencilOpBack ()]]
| ステンシルテスト操作を取得する (表面用)
|-
|
| Texture
| [[GraphicsContext.GetTexture (int) メソッド (Sce.Pss.Core.Graphics)|GetTexture (int)]]
| テクスチャを取得する
|-
|
| VertexBuffer
| [[GraphicsContext.GetVertexBuffer (int) メソッド (Sce.Pss.Core.Graphics)|GetVertexBuffer (int)]]
| 頂点バッファを取得する
|-
|
| ImageRect
| [[GraphicsContext.GetViewport () メソッド (Sce.Pss.Core.Graphics)|GetViewport ()]]
| ビューポートの矩形を取得する
|-
|
| bool
| [[GraphicsContext.IsEnabled (EnableMode) メソッド (Sce.Pss.Core.Graphics)|IsEnabled (EnableMode)]]
| 指定されたグラフィクス機能が有効かどうかを取得する
|-
|
| void
| [[GraphicsContext.ReadPixels (byte[], PixelFormat, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|ReadPixels (byte[], PixelFormat, int, int, int, int)]]
| フレームバッファのピクセルを読み出す
|-
|
| void
| [[GraphicsContext.ReadPixels (Texture2D, int, int, int, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|ReadPixels (Texture2D, int, int, int, int, int, int, int)]]
| フレームバッファのピクセルを読み出す (2Dテクスチャにコピー)
|-
|
| void
| [[GraphicsContext.ReadPixels (TextureCube, int, TextureCubeFace, int, int, int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|ReadPixels (TextureCube, int, TextureCubeFace, int, int, int, int, int, int)]]
| フレームバッファのピクセルを読み出す (キューブテクスチャにコピー)
|-
|
| void
| [[GraphicsContext.SetBlendFunc (BlendFunc) メソッド (Sce.Pss.Core.Graphics)|SetBlendFunc (BlendFunc)]]
| アルファブレンド関数を設定する
|-
|
| void
| [[GraphicsContext.SetBlendFunc (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)|SetBlendFunc (BlendFuncMode, BlendFuncFactor, BlendFuncFactor)]]
| アルファブレンド関数を設定する
|-
|
| void
| [[GraphicsContext.SetBlendFuncAlpha (BlendFunc) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncAlpha (BlendFunc)]]
| アルファブレンド関数を設定する (アルファチャンネル用)
|-
|
| void
| [[GraphicsContext.SetBlendFuncAlpha (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncAlpha (BlendFuncMode, BlendFuncFactor, BlendFuncFactor)]]
| アルファブレンド関数を設定する (アルファチャンネル用)
|-
|
| void
| [[GraphicsContext.SetBlendFuncRgb (BlendFunc) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncRgb (BlendFunc)]]
| アルファブレンド関数を設定する (RGBチャンネル用)
|-
|
| void
| [[GraphicsContext.SetBlendFuncRgb (BlendFuncMode, BlendFuncFactor, BlendFuncFactor) メソッド (Sce.Pss.Core.Graphics)|SetBlendFuncRgb (BlendFuncMode, BlendFuncFactor, BlendFuncFactor)]]
| アルファブレンド関数を設定する (RGBチャンネル用)
|-
|
| void
| [[GraphicsContext.SetClearColor (Vector4) メソッド (Sce.Pss.Core.Graphics)|SetClearColor (Vector4)]]
| フレームバッファのクリアで使用されるカラーを設定する
|-
|
| void
| [[GraphicsContext.SetClearColor (float, float, float, float) メソッド (Sce.Pss.Core.Graphics)|SetClearColor (float, float, float, float)]]
| フレームバッファのクリアで使用されるカラーを設定する
|-
|
| void
| [[GraphicsContext.SetClearColor (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetClearColor (int, int, int, int)]]
| フレームバッファのクリアで使用されるカラーを設定する
|-
|
| void
| [[GraphicsContext.SetClearDepth (float) メソッド (Sce.Pss.Core.Graphics)|SetClearDepth (float)]]
| フレームバッファのクリアで使用されるデプス値を設定する
|-
|
| void
| [[GraphicsContext.SetClearStencil (int) メソッド (Sce.Pss.Core.Graphics)|SetClearStencil (int)]]
| フレームバッファのクリアで使用されるステンシル値を設定する
|-
|
| void
| [[GraphicsContext.SetColorMask (ColorMask) メソッド (Sce.Pss.Core.Graphics)|SetColorMask (ColorMask)]]
| カラーの書き込みマスクを設定する
|-
|
| void
| [[GraphicsContext.SetCullFace (CullFace) メソッド (Sce.Pss.Core.Graphics)|SetCullFace (CullFace)]]
| バックフェースカリングを設定する
|-
|
| void
| [[GraphicsContext.SetCullFace (CullFaceMode, CullFaceDirection) メソッド (Sce.Pss.Core.Graphics)|SetCullFace (CullFaceMode, CullFaceDirection)]]
| バックフェースカリングを設定する
|-
|
| void
| [[GraphicsContext.SetDepthFunc (DepthFunc) メソッド (Sce.Pss.Core.Graphics)|SetDepthFunc (DepthFunc)]]
| デプステスト関数を設定する
|-
|
| void
| [[GraphicsContext.SetDepthFunc (DepthFuncMode, bool) メソッド (Sce.Pss.Core.Graphics)|SetDepthFunc (DepthFuncMode, bool)]]
| デプステスト関数を設定する
|-
|
| void
| [[GraphicsContext.SetDepthRange (Vector2) メソッド (Sce.Pss.Core.Graphics)|SetDepthRange (Vector2)]]
| デプス値の範囲を設定する
|-
|
| void
| [[GraphicsContext.SetDepthRange (float, float) メソッド (Sce.Pss.Core.Graphics)|SetDepthRange (float, float)]]
| デプス値の範囲を設定する
|-
|
| void
| [[GraphicsContext.SetFrameBuffer (FrameBuffer) メソッド (Sce.Pss.Core.Graphics)|SetFrameBuffer (FrameBuffer)]]
| フレームバッファを設定する
|-
|
| void
| [[GraphicsContext.SetLineWidth (float) メソッド (Sce.Pss.Core.Graphics)|SetLineWidth (float)]]
| ライン幅を設定する
|-
|
| void
| [[GraphicsContext.SetPolygonOffset (float, float) メソッド (Sce.Pss.Core.Graphics)|SetPolygonOffset (float, float)]]
| ポリゴンオフセットを設定する
|-
|
| void
| [[GraphicsContext.SetPolygonOffset (PolygonOffset) メソッド (Sce.Pss.Core.Graphics)|SetPolygonOffset (PolygonOffset)]]
| ポリゴンオフセットを設定する
|-
|
| void
| [[GraphicsContext.SetScissor (ImageRect) メソッド (Sce.Pss.Core.Graphics)|SetScissor (ImageRect)]]
| シザーテストの矩形を設定する
|-
|
| void
| [[GraphicsContext.SetScissor (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetScissor (int, int, int, int)]]
| シザーテストの矩形を設定する
|-
|
| void
| [[GraphicsContext.SetShaderProgram (ShaderProgram) メソッド (Sce.Pss.Core.Graphics)|SetShaderProgram (ShaderProgram)]]
| シェーダープログラムを設定する
|-
|
| void
| [[GraphicsContext.SetStencilFunc (StencilFunc) メソッド (Sce.Pss.Core.Graphics)|SetStencilFunc (StencilFunc)]]
| ステンシルテスト関数を設定する
|-
|
| void
| [[GraphicsContext.SetStencilFunc (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetStencilFunc (StencilFuncMode, int, int, int)]]
| ステンシルテスト関数を設定する
|-
|
| void
| [[GraphicsContext.SetStencilFuncBack (StencilFunc) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncBack (StencilFunc)]]
| ステンシルテスト関数を設定する (裏面用)
|-
|
| void
| [[GraphicsContext.SetStencilFuncBack (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncBack (StencilFuncMode, int, int, int)]]
| ステンシルテスト関数を設定する (裏面用)
|-
|
| void
| [[GraphicsContext.SetStencilFuncFront (StencilFunc) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncFront (StencilFunc)]]
| ステンシルテスト関数を設定する (表面用)
|-
|
| void
| [[GraphicsContext.SetStencilFuncFront (StencilFuncMode, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetStencilFuncFront (StencilFuncMode, int, int, int)]]
| ステンシルテスト関数を設定する (表面用)
|-
|
| void
| [[GraphicsContext.SetStencilOp (StencilOp) メソッド (Sce.Pss.Core.Graphics)|SetStencilOp (StencilOp)]]
| ステンシルテスト操作を設定する
|-
|
| void
| [[GraphicsContext.SetStencilOp (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)|SetStencilOp (StencilOpMode, StencilOpMode, StencilOpMode)]]
| ステンシルテスト操作を設定する
|-
|
| void
| [[GraphicsContext.SetStencilOpBack (StencilOp) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpBack (StencilOp)]]
| ステンシルテスト操作を設定する (裏面用)
|-
|
| void
| [[GraphicsContext.SetStencilOpBack (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpBack (StencilOpMode, StencilOpMode, StencilOpMode)]]
| ステンシルテスト操作を設定する (裏面用)
|-
|
| void
| [[GraphicsContext.SetStencilOpFront (StencilOp) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpFront (StencilOp)]]
| ステンシルテスト操作を設定する (表面用)
|-
|
| void
| [[GraphicsContext.SetStencilOpFront (StencilOpMode, StencilOpMode, StencilOpMode) メソッド (Sce.Pss.Core.Graphics)|SetStencilOpFront (StencilOpMode, StencilOpMode, StencilOpMode)]]
| ステンシルテスト操作を設定する (表面用)
|-
|
| void
| [[GraphicsContext.SetTexture (int, Texture) メソッド (Sce.Pss.Core.Graphics)|SetTexture (int, Texture)]]
| テクスチャを設定する
|-
|
| void
| [[GraphicsContext.SetVertexBuffer (int, VertexBuffer) メソッド (Sce.Pss.Core.Graphics)|SetVertexBuffer (int, VertexBuffer)]]
| 頂点バッファを設定する
|-
|
| void
| [[GraphicsContext.SetViewport (int, int, int, int) メソッド (Sce.Pss.Core.Graphics)|SetViewport (int, int, int, int)]]
| ビューポートの矩形を設定する
|-
|
| void
| [[GraphicsContext.SetViewport (ImageRect) メソッド (Sce.Pss.Core.Graphics)|SetViewport (ImageRect)]]
| ビューポートの矩形を設定する
|}
匿名利用者

案内メニュー