Effekseer
Public Member Functions | Static Public Member Functions | List of all members
EffekseerRendererGL::Renderer Class Referenceabstract
Inheritance diagram for EffekseerRendererGL::Renderer:
EffekseerRenderer::Renderer

Public Member Functions

virtual int32_t GetSquareMaxCount () const =0
 最大描画スプライト数を取得する。
 
virtual void SetSquareMaxCount (int32_t count)=0
 最大描画スプライト数を設定する。 More...
 
virtual void SetBackground (GLuint background, bool hasMipmap=false)=0
 Specify a background.
 
virtual OpenGLDeviceType GetDeviceType () const =0
 get a device type
 
virtual bool IsVertexArrayObjectSupported () const =0
 get whether VAO is supported
 
- Public Member Functions inherited from 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. More...
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera. More...
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually. More...
 
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
 Create default material loader.
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 Get draw call count.
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn.
 
virtual void ResetDrawCallCount ()
 Reset draw call count.
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn.
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode.
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode.
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered.
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered.
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered.
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered.
 
virtual float GetTime () const
 Get a current time (s)
 
virtual void SetTime (float time)
 Set a current time (s)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL.
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 Get a background texture. Textures are generated by a function specific to each backend or SetBackground.
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 Specify a background texture.
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 Create a proxy texture.
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 Delete a proxy texture.
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
Get a depth texture and parameters to reconstruct from z to depth
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
Specify a depth texture and parameters to reconstruct from z to depth
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 Specify whether maintain gamma color in a linear color space.
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
Get the graphics device
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings. More...
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings. More...
 
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. More...
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera. More...
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually. More...
 
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
 Create default material loader.
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 Get draw call count.
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn.
 
virtual void ResetDrawCallCount ()
 Reset draw call count.
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn.
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode.
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode.
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered.
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered.
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered.
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered.
 
virtual float GetTime () const
 Get a current time (s)
 
virtual void SetTime (float time)
 Set a current time (s)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL.
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 Get a background texture. Textures are generated by a function specific to each backend or SetBackground.
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 Specify a background texture.
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 Create a proxy texture.
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 Delete a proxy texture.
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
Get a depth texture and parameters to reconstruct from z to depth
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
Specify a depth texture and parameters to reconstruct from z to depth
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 Specify whether maintain gamma color in a linear color space.
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
Get the graphics device
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings. More...
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings. More...
 
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. More...
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera. More...
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually. More...
 
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
 Create default material loader.
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 Get draw call count.
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn.
 
virtual void ResetDrawCallCount ()
 Reset draw call count.
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn.
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode.
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode.
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered.
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered.
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered.
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered.
 
virtual float GetTime () const
 Get a current time (s)
 
virtual void SetTime (float time)
 Set a current time (s)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL.
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 Get a background texture. Textures are generated by a function specific to each backend or SetBackground.
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 Specify a background texture.
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 Create a proxy texture.
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 Delete a proxy texture.
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
Get a depth texture and parameters to reconstruct from z to depth
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
Specify a depth texture and parameters to reconstruct from z to depth
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 Specify whether maintain gamma color in a linear color space.
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
Get the graphics device
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings. More...
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings. More...
 
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. More...
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera. More...
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually. More...
 
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
 Create default material loader.
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 Get draw call count.
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn.
 
virtual void ResetDrawCallCount ()
 Reset draw call count.
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn.
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode.
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode.
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered.
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered.
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered.
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered.
 
virtual float GetTime () const
 Get a current time (s)
 
virtual void SetTime (float time)
 Set a current time (s)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL.
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 Get a background texture. Textures are generated by a function specific to each backend or SetBackground.
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 Specify a background texture.
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 Create a proxy texture.
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 Delete a proxy texture.
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
Get a depth texture and parameters to reconstruct from z to depth
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
Specify a depth texture and parameters to reconstruct from z to depth
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 Specify whether maintain gamma color in a linear color space.
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
Get the graphics device
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings. More...
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings. More...
 
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. More...
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera. More...
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually. More...
 
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
 Create default material loader.
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 Get draw call count.
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn.
 
virtual void ResetDrawCallCount ()
 Reset draw call count.
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn.
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode.
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode.
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered.
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered.
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered.
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered.
 
virtual float GetTime () const
 Get a current time (s)
 
virtual void SetTime (float time)
 Set a current time (s)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL.
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 Get a background texture. Textures are generated by a function specific to each backend or SetBackground.
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 Specify a background texture.
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 Create a proxy texture.
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 Delete a proxy texture.
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
Get a depth texture and parameters to reconstruct from z to depth
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
Specify a depth texture and parameters to reconstruct from z to depth
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 Specify whether maintain gamma color in a linear color space.
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
Get the graphics device
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings. More...
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings. More...
 
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. More...
 
virtual ::Effekseer::Vector3D GetCameraPosition () const
 Get a position of camera. More...
 
virtual void SetCameraParameter (const ::Effekseer::Vector3D &front, const ::Effekseer::Vector3D &position)
 Set a front direction and position of camera manually. More...
 
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
 Create default material loader.
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。
 
virtual int32_t GetDrawCallCount () const
 Get draw call count.
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn.
 
virtual void ResetDrawCallCount ()
 Reset draw call count.
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn.
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode.
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode.
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered.
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered.
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered.
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered.
 
virtual float GetTime () const
 Get a current time (s)
 
virtual void SetTime (float time)
 Set a current time (s)
 
virtual void SetCommandList (Effekseer::RefPtr< CommandList > commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL.
 
virtual const ::Effekseer::Backend::TextureRef & GetBackground ()
 Get a background texture. Textures are generated by a function specific to each backend or SetBackground.
 
virtual void SetBackground (::Effekseer::Backend::TextureRef texture)
 Specify a background texture.
 
virtual ::Effekseer::Backend::TextureRef CreateProxyTexture (ProxyTextureType type)
 Create a proxy texture.
 
virtual void DeleteProxyTexture (Effekseer::Backend::TextureRef &texture)
 Delete a proxy texture.
 
virtual void GetDepth (::Effekseer::Backend::TextureRef &texture, DepthReconstructionParameter &reconstructionParam)
 
Get a depth texture and parameters to reconstruct from z to depth
 
virtual void SetDepth (::Effekseer::Backend::TextureRef texture, const DepthReconstructionParameter &reconstructionParam)
 
Specify a depth texture and parameters to reconstruct from z to depth
 
virtual void SetMaintainGammaColorInLinearColorSpace (bool value)
 Specify whether maintain gamma color in a linear color space.
 
virtual Effekseer::Backend::GraphicsDeviceRef GetGraphicsDevice () const
 
Get the graphics device
 
virtual std::shared_ptr< ExternalShaderSettingsGetExternalShaderSettings () const
 Get external shader settings. More...
 
virtual void SetExternalShaderSettings (const std::shared_ptr< ExternalShaderSettings > &settings)
 Specify external shader settings. More...
 

Static Public Member Functions

static RendererRef Create (int32_t squareMaxCount, OpenGLDeviceType deviceType=OpenGLDeviceType::OpenGL2, bool isExtensionsEnabled=true)
 Create an instance the number of maximum sprites device type of opengl whether does make extensions enabled. instance.
 
static RendererRef Create (Effekseer::Backend::GraphicsDeviceRef graphicsDevice, int32_t squareMaxCount)
 

Additional Inherited Members

- Protected Attributes inherited from EffekseerRenderer::Renderer
std::unique_ptr< Impl > impl
 

Member Function Documentation

◆ SetSquareMaxCount()

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

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

Note
描画している時は使用できない。

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