Effekseer
公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
EffekseerRendererGL::Renderer クラスabstract
EffekseerRendererGL::Renderer の継承関係図
EffekseerRenderer::Renderer

公開メンバ関数

virtual int32_t GetSquareMaxCount () const =0
 最大描画スプライト数を取得する。
 
virtual void SetSquareMaxCount (int32_t count)=0
 最大描画スプライト数を設定する。 [詳解]
 
virtual void SetBackground (GLuint background, bool hasMipmap=false)=0
 背景を設定する。
 
virtual OpenGLDeviceType GetDeviceType () const =0
 デバイスの種類を取得する。
 
virtual bool IsVertexArrayObjectSupported () const =0
 VAOがサポートされているか取得する。
 
- 基底クラス EffekseerRenderer::Renderer に属する継承公開メンバ関数
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it.
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light
 
virtual const ::Effekseer::Color & GetLightColor () const
 Get the color of light
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light
 
virtual const ::Effekseer::Color & GetLightAmbientColor () const
 Get the color of ambient
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix
 
virtual ::Effekseer::Vector3D GetCameraFrontDirection () const
 Get a front direction of camera [詳解]
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera [詳解]
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually [詳解]
 
virtual ::Effekseer::SpriteRendererRef CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。
 
virtual ::Effekseer::RibbonRendererRef CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。
 
virtual ::Effekseer::RingRendererRef CreateRingRenderer ()=0
 リングレンダラーを生成する。
 
virtual ::Effekseer::ModelRendererRef CreateModelRenderer ()=0
 モデルレンダラーを生成する。
 
virtual ::Effekseer::TrackRendererRef CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。
 
virtual ::Effekseer::TextureLoaderRef CreateTextureLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のテクスチャ読込クラスを生成する。
 
virtual ::Effekseer::ModelLoaderRef CreateModelLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のモデル読込クラスを生成する。
 
virtual ::Effekseer::MaterialLoaderRef CreateMaterialLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のマテリアル読込クラスを生成する。 [詳解]
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 ドローコールの回数を取得する
 
virtual int32_t GetDrawVertexCount () const
 描画された頂点数をリセットする
 
virtual void ResetDrawCallCount ()
 ドローコールの回数をリセットする
 
virtual void ResetDrawVertexCount ()
 描画された頂点数をリセットする
 
virtual Effekseer::RenderMode GetRenderMode () const
 描画モードを取得する。
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 描画モードを設定する。
 
virtual UVStyle GetTextureUVStyle () const
 パーティクルを描画するときのUVの状態を取得する。
 
virtual void SetTextureUVStyle (UVStyle style)
 パーティクルを描画するときのUVの状態を設定する。
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 パーティクルを描画するときの背景のUVの状態を取得する。
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 パーティクルを描画するときの背景のUVの状態を設定する。
 
virtual float GetTime () const
 現在の時間を取得する。(秒)
 
virtual void SetTime (float time)
 現在の時間を設定する。(秒)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 描画に使用するコマンドリストを設定する。この関数はDirectX9、DirectX11、OpenGL以外で使用できる。
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 背景を取得する。 [詳解]
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 背景のテクスチャを設定する。
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 代替のテクスチャを生成する
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 代替のテクスチャを削除する
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを取得する。
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを設定する。
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 リニア空間でもガンマカラーを維持するようにするか、を設定する。 [詳解]
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
グラフィクスデバイスを取得する。
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings [詳解]
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings [詳解]
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it.
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light
 
virtual const ::Effekseer::Color & GetLightColor () const
 Get the color of light
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light
 
virtual const ::Effekseer::Color & GetLightAmbientColor () const
 Get the color of ambient
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix
 
virtual ::Effekseer::Vector3D GetCameraFrontDirection () const
 Get a front direction of camera [詳解]
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera [詳解]
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually [詳解]
 
virtual ::Effekseer::SpriteRendererRef CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。
 
virtual ::Effekseer::RibbonRendererRef CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。
 
virtual ::Effekseer::RingRendererRef CreateRingRenderer ()=0
 リングレンダラーを生成する。
 
virtual ::Effekseer::ModelRendererRef CreateModelRenderer ()=0
 モデルレンダラーを生成する。
 
virtual ::Effekseer::TrackRendererRef CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。
 
virtual ::Effekseer::TextureLoaderRef CreateTextureLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のテクスチャ読込クラスを生成する。
 
virtual ::Effekseer::ModelLoaderRef CreateModelLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のモデル読込クラスを生成する。
 
virtual ::Effekseer::MaterialLoaderRef CreateMaterialLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のマテリアル読込クラスを生成する。 [詳解]
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 ドローコールの回数を取得する
 
virtual int32_t GetDrawVertexCount () const
 描画された頂点数をリセットする
 
virtual void ResetDrawCallCount ()
 ドローコールの回数をリセットする
 
virtual void ResetDrawVertexCount ()
 描画された頂点数をリセットする
 
virtual Effekseer::RenderMode GetRenderMode () const
 描画モードを取得する。
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 描画モードを設定する。
 
virtual UVStyle GetTextureUVStyle () const
 パーティクルを描画するときのUVの状態を取得する。
 
virtual void SetTextureUVStyle (UVStyle style)
 パーティクルを描画するときのUVの状態を設定する。
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 パーティクルを描画するときの背景のUVの状態を取得する。
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 パーティクルを描画するときの背景のUVの状態を設定する。
 
virtual float GetTime () const
 現在の時間を取得する。(秒)
 
virtual void SetTime (float time)
 現在の時間を設定する。(秒)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 描画に使用するコマンドリストを設定する。この関数はDirectX9、DirectX11、OpenGL以外で使用できる。
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 背景を取得する。 [詳解]
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 背景のテクスチャを設定する。
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 代替のテクスチャを生成する
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 代替のテクスチャを削除する
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを取得する。
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを設定する。
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 リニア空間でもガンマカラーを維持するようにするか、を設定する。 [詳解]
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
グラフィクスデバイスを取得する。
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings [詳解]
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings [詳解]
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it.
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light
 
virtual const ::Effekseer::Color & GetLightColor () const
 Get the color of light
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light
 
virtual const ::Effekseer::Color & GetLightAmbientColor () const
 Get the color of ambient
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix
 
virtual ::Effekseer::Vector3D GetCameraFrontDirection () const
 Get a front direction of camera [詳解]
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera [詳解]
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually [詳解]
 
virtual ::Effekseer::SpriteRendererRef CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。
 
virtual ::Effekseer::RibbonRendererRef CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。
 
virtual ::Effekseer::RingRendererRef CreateRingRenderer ()=0
 リングレンダラーを生成する。
 
virtual ::Effekseer::ModelRendererRef CreateModelRenderer ()=0
 モデルレンダラーを生成する。
 
virtual ::Effekseer::TrackRendererRef CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。
 
virtual ::Effekseer::TextureLoaderRef CreateTextureLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のテクスチャ読込クラスを生成する。
 
virtual ::Effekseer::ModelLoaderRef CreateModelLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のモデル読込クラスを生成する。
 
virtual ::Effekseer::MaterialLoaderRef CreateMaterialLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のマテリアル読込クラスを生成する。 [詳解]
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 ドローコールの回数を取得する
 
virtual int32_t GetDrawVertexCount () const
 描画された頂点数をリセットする
 
virtual void ResetDrawCallCount ()
 ドローコールの回数をリセットする
 
virtual void ResetDrawVertexCount ()
 描画された頂点数をリセットする
 
virtual Effekseer::RenderMode GetRenderMode () const
 描画モードを取得する。
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 描画モードを設定する。
 
virtual UVStyle GetTextureUVStyle () const
 パーティクルを描画するときのUVの状態を取得する。
 
virtual void SetTextureUVStyle (UVStyle style)
 パーティクルを描画するときのUVの状態を設定する。
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 パーティクルを描画するときの背景のUVの状態を取得する。
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 パーティクルを描画するときの背景のUVの状態を設定する。
 
virtual float GetTime () const
 現在の時間を取得する。(秒)
 
virtual void SetTime (float time)
 現在の時間を設定する。(秒)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 描画に使用するコマンドリストを設定する。この関数はDirectX9、DirectX11、OpenGL以外で使用できる。
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 背景を取得する。 [詳解]
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 背景のテクスチャを設定する。
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 代替のテクスチャを生成する
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 代替のテクスチャを削除する
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを取得する。
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを設定する。
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 リニア空間でもガンマカラーを維持するようにするか、を設定する。 [詳解]
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
グラフィクスデバイスを取得する。
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings [詳解]
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings [詳解]
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it.
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light
 
virtual const ::Effekseer::Color & GetLightColor () const
 Get the color of light
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light
 
virtual const ::Effekseer::Color & GetLightAmbientColor () const
 Get the color of ambient
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix
 
virtual ::Effekseer::Vector3D GetCameraFrontDirection () const
 Get a front direction of camera [詳解]
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera [詳解]
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually [詳解]
 
virtual ::Effekseer::SpriteRendererRef CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。
 
virtual ::Effekseer::RibbonRendererRef CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。
 
virtual ::Effekseer::RingRendererRef CreateRingRenderer ()=0
 リングレンダラーを生成する。
 
virtual ::Effekseer::ModelRendererRef CreateModelRenderer ()=0
 モデルレンダラーを生成する。
 
virtual ::Effekseer::TrackRendererRef CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。
 
virtual ::Effekseer::TextureLoaderRef CreateTextureLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のテクスチャ読込クラスを生成する。
 
virtual ::Effekseer::ModelLoaderRef CreateModelLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のモデル読込クラスを生成する。
 
virtual ::Effekseer::MaterialLoaderRef CreateMaterialLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のマテリアル読込クラスを生成する。 [詳解]
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 ドローコールの回数を取得する
 
virtual int32_t GetDrawVertexCount () const
 描画された頂点数をリセットする
 
virtual void ResetDrawCallCount ()
 ドローコールの回数をリセットする
 
virtual void ResetDrawVertexCount ()
 描画された頂点数をリセットする
 
virtual Effekseer::RenderMode GetRenderMode () const
 描画モードを取得する。
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 描画モードを設定する。
 
virtual UVStyle GetTextureUVStyle () const
 パーティクルを描画するときのUVの状態を取得する。
 
virtual void SetTextureUVStyle (UVStyle style)
 パーティクルを描画するときのUVの状態を設定する。
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 パーティクルを描画するときの背景のUVの状態を取得する。
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 パーティクルを描画するときの背景のUVの状態を設定する。
 
virtual float GetTime () const
 現在の時間を取得する。(秒)
 
virtual void SetTime (float time)
 現在の時間を設定する。(秒)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 描画に使用するコマンドリストを設定する。この関数はDirectX9、DirectX11、OpenGL以外で使用できる。
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 背景を取得する。 [詳解]
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 背景のテクスチャを設定する。
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 代替のテクスチャを生成する
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 代替のテクスチャを削除する
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを取得する。
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを設定する。
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 リニア空間でもガンマカラーを維持するようにするか、を設定する。 [詳解]
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
グラフィクスデバイスを取得する。
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings [詳解]
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings [詳解]
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it.
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light
 
virtual const ::Effekseer::Color & GetLightColor () const
 Get the color of light
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light
 
virtual const ::Effekseer::Color & GetLightAmbientColor () const
 Get the color of ambient
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix
 
virtual ::Effekseer::Vector3D GetCameraFrontDirection () const
 Get a front direction of camera [詳解]
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera [詳解]
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually [詳解]
 
virtual ::Effekseer::SpriteRendererRef CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。
 
virtual ::Effekseer::RibbonRendererRef CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。
 
virtual ::Effekseer::RingRendererRef CreateRingRenderer ()=0
 リングレンダラーを生成する。
 
virtual ::Effekseer::ModelRendererRef CreateModelRenderer ()=0
 モデルレンダラーを生成する。
 
virtual ::Effekseer::TrackRendererRef CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。
 
virtual ::Effekseer::TextureLoaderRef CreateTextureLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のテクスチャ読込クラスを生成する。
 
virtual ::Effekseer::ModelLoaderRef CreateModelLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のモデル読込クラスを生成する。
 
virtual ::Effekseer::MaterialLoaderRef CreateMaterialLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のマテリアル読込クラスを生成する。 [詳解]
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 ドローコールの回数を取得する
 
virtual int32_t GetDrawVertexCount () const
 描画された頂点数をリセットする
 
virtual void ResetDrawCallCount ()
 ドローコールの回数をリセットする
 
virtual void ResetDrawVertexCount ()
 描画された頂点数をリセットする
 
virtual Effekseer::RenderMode GetRenderMode () const
 描画モードを取得する。
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 描画モードを設定する。
 
virtual UVStyle GetTextureUVStyle () const
 パーティクルを描画するときのUVの状態を取得する。
 
virtual void SetTextureUVStyle (UVStyle style)
 パーティクルを描画するときのUVの状態を設定する。
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 パーティクルを描画するときの背景のUVの状態を取得する。
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 パーティクルを描画するときの背景のUVの状態を設定する。
 
virtual float GetTime () const
 現在の時間を取得する。(秒)
 
virtual void SetTime (float time)
 現在の時間を設定する。(秒)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 描画に使用するコマンドリストを設定する。この関数はDirectX9、DirectX11、OpenGL以外で使用できる。
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 背景を取得する。 [詳解]
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 背景のテクスチャを設定する。
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 代替のテクスチャを生成する
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 代替のテクスチャを削除する
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを取得する。
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを設定する。
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 リニア空間でもガンマカラーを維持するようにするか、を設定する。 [詳解]
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
グラフィクスデバイスを取得する。
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings [詳解]
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings [詳解]
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it.
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light
 
virtual const ::Effekseer::Color & GetLightColor () const
 Get the color of light
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light
 
virtual const ::Effekseer::Color & GetLightAmbientColor () const
 Get the color of ambient
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix
 
virtual ::Effekseer::Vector3D GetCameraFrontDirection () const
 Get a front direction of camera [詳解]
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera [詳解]
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually [詳解]
 
virtual ::Effekseer::SpriteRendererRef CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。
 
virtual ::Effekseer::RibbonRendererRef CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。
 
virtual ::Effekseer::RingRendererRef CreateRingRenderer ()=0
 リングレンダラーを生成する。
 
virtual ::Effekseer::ModelRendererRef CreateModelRenderer ()=0
 モデルレンダラーを生成する。
 
virtual ::Effekseer::TrackRendererRef CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。
 
virtual ::Effekseer::TextureLoaderRef CreateTextureLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のテクスチャ読込クラスを生成する。
 
virtual ::Effekseer::ModelLoaderRef CreateModelLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のモデル読込クラスを生成する。
 
virtual ::Effekseer::MaterialLoaderRef CreateMaterialLoader (::Effekseer::FileInterfaceRef fileInterface=nullptr)=0
 標準のマテリアル読込クラスを生成する。 [詳解]
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 ドローコールの回数を取得する
 
virtual int32_t GetDrawVertexCount () const
 描画された頂点数をリセットする
 
virtual void ResetDrawCallCount ()
 ドローコールの回数をリセットする
 
virtual void ResetDrawVertexCount ()
 描画された頂点数をリセットする
 
virtual Effekseer::RenderMode GetRenderMode () const
 描画モードを取得する。
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 描画モードを設定する。
 
virtual UVStyle GetTextureUVStyle () const
 パーティクルを描画するときのUVの状態を取得する。
 
virtual void SetTextureUVStyle (UVStyle style)
 パーティクルを描画するときのUVの状態を設定する。
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 パーティクルを描画するときの背景のUVの状態を取得する。
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 パーティクルを描画するときの背景のUVの状態を設定する。
 
virtual float GetTime () const
 現在の時間を取得する。(秒)
 
virtual void SetTime (float time)
 現在の時間を設定する。(秒)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 描画に使用するコマンドリストを設定する。この関数はDirectX9、DirectX11、OpenGL以外で使用できる。
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 背景を取得する。 [詳解]
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 背景のテクスチャを設定する。
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 代替のテクスチャを生成する
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 代替のテクスチャを削除する
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを取得する。
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
深度画像とZから深度を復元するためのパラメーターを設定する。
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 リニア空間でもガンマカラーを維持するようにするか、を設定する。 [詳解]
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
グラフィクスデバイスを取得する。
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings [詳解]
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings [詳解]
 

静的公開メンバ関数

static RendererRef Create (int32_t squareMaxCount, OpenGLDeviceType deviceType=OpenGLDeviceType::OpenGL2, bool isExtensionsEnabled=true)
 インスタンスを生成する。 [詳解]
 
static RendererRef Create (Effekseer::Backend::GraphicsDeviceRef graphicsDevice, int32_t squareMaxCount)
 

その他の継承メンバ

- 基底クラス EffekseerRenderer::Renderer に属する継承限定公開変数類
std::unique_ptr< Impl > impl
 

関数詳解

◆ Create()

static RendererRef EffekseerRendererGL::Renderer::Create ( int32_t  squareMaxCount,
OpenGLDeviceType  deviceType = OpenGLDeviceType::OpenGL2,
bool  isExtensionsEnabled = true 
)
static

インスタンスを生成する。

引数
squareMaxCount最大描画スプライト数
deviceTypeデバイスの種類
isExtensionsEnabled拡張を有効にするかどうか
戻り値
インスタンス

◆ SetSquareMaxCount()

virtual void EffekseerRendererGL::Renderer::SetSquareMaxCount ( int32_t  count)
pure virtual

最大描画スプライト数を設定する。

覚え書き
描画している時は使用できない。

このクラス詳解は次のファイルから抽出されました: