arsa  2.7
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
EffekseerRendererGL::Renderer Class Referenceabstract

描画クラス More...

#include <EffekseerRendererGL.h>

Inheritance diagram for EffekseerRendererGL::Renderer:
EffekseerRenderer::Renderer Effekseer::IReference Effekseer::IReference Effekseer::IReference

Public Member Functions

virtual int32_t GetSquareMaxCount () const =0
 最大描画スプライト数を取得する。 More...
 
virtual void SetSquareMaxCount (int32_t count)=0
 最大描画スプライト数を設定する。 More...
 
virtual Effekseer::TextureDataGetBackground ()=0
 Get a background. More...
 
virtual void SetBackground (GLuint background, bool hasMipmap=false)=0
 Specify a background. More...
 
virtual OpenGLDeviceType GetDeviceType () const =0
 get a device type More...
 
virtual bool IsVertexArrayObjectSupported () const =0
 get whether VAO is supported More...
 
- Public Member Functions inherited from EffekseerRenderer::Renderer
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it. More...
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。 More...
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。 More...
 
virtual void Destroy ()=0
 このインスタンスを破棄する。 More...
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。 More...
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。 More...
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。 More...
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light. More...
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light. More...
 
virtual const ::Effekseer::ColorGetLightColor () const
 Get the color of light. More...
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light. More...
 
virtual const ::Effekseer::ColorGetLightAmbientColor () const
 Get the color of ambient. More...
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient. More...
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix. More...
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix. More...
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix. More...
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix. More...
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix. More...
 
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::SpriteRenderer * CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。 More...
 
virtual ::Effekseer::RibbonRenderer * CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。 More...
 
virtual ::Effekseer::RingRenderer * CreateRingRenderer ()=0
 リングレンダラーを生成する。 More...
 
virtual ::Effekseer::ModelRenderer * CreateModelRenderer ()=0
 モデルレンダラーを生成する。 More...
 
virtual ::Effekseer::TrackRenderer * CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。 More...
 
virtual ::Effekseer::TextureLoaderCreateTextureLoader (::Effekseer::FileInterface *fileInterface=NULL)=0
 標準のテクスチャ読込クラスを生成する。 More...
 
virtual ::Effekseer::ModelLoaderCreateModelLoader (::Effekseer::FileInterface *fileInterface=NULL)=0
 標準のモデル読込クラスを生成する。 More...
 
virtual ::Effekseer::MaterialLoaderCreateMaterialLoader (::Effekseer::FileInterface *fileInterface=nullptr)=0
 Create default material loader. More...
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。 More...
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。 More...
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。 More...
 
virtual int32_t GetDrawCallCount () const
 Get draw call count. More...
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn. More...
 
virtual void ResetDrawCallCount ()
 Reset draw call count. More...
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn. More...
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode. More...
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode. More...
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered. More...
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered. More...
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered. More...
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered. More...
 
virtual float GetTime () const
 Get a current time (s) More...
 
virtual void SetTime (float time)
 Set a current time (s) More...
 
virtual void SetCommandList (CommandList *commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL. More...
 
virtual void SetBackgroundTexture (::Effekseer::TextureData *textureData)
 Specify a background texture. Specified texture is not deleted by the renderer. This function is available except DirectX9, DirectX11. More...
 
virtual Effekseer::TextureDataCreateProxyTexture (ProxyTextureType type)
 Create a proxy texture. More...
 
virtual void DeleteProxyTexture (Effekseer::TextureData *data)
 Delete a proxy texture. More...
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it. More...
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。 More...
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。 More...
 
virtual void Destroy ()=0
 このインスタンスを破棄する。 More...
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。 More...
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。 More...
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。 More...
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light. More...
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light. More...
 
virtual const ::Effekseer::ColorGetLightColor () const
 Get the color of light. More...
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light. More...
 
virtual const ::Effekseer::ColorGetLightAmbientColor () const
 Get the color of ambient. More...
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient. More...
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix. More...
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix. More...
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix. More...
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix. More...
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix. More...
 
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::SpriteRenderer * CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。 More...
 
virtual ::Effekseer::RibbonRenderer * CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。 More...
 
virtual ::Effekseer::RingRenderer * CreateRingRenderer ()=0
 リングレンダラーを生成する。 More...
 
virtual ::Effekseer::ModelRenderer * CreateModelRenderer ()=0
 モデルレンダラーを生成する。 More...
 
virtual ::Effekseer::TrackRenderer * CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。 More...
 
virtual ::Effekseer::TextureLoaderCreateTextureLoader (::Effekseer::FileInterface *fileInterface=NULL)=0
 標準のテクスチャ読込クラスを生成する。 More...
 
virtual ::Effekseer::ModelLoaderCreateModelLoader (::Effekseer::FileInterface *fileInterface=NULL)=0
 標準のモデル読込クラスを生成する。 More...
 
virtual ::Effekseer::MaterialLoaderCreateMaterialLoader (::Effekseer::FileInterface *fileInterface=nullptr)=0
 Create default material loader. More...
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。 More...
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。 More...
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。 More...
 
virtual int32_t GetDrawCallCount () const
 Get draw call count. More...
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn. More...
 
virtual void ResetDrawCallCount ()
 Reset draw call count. More...
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn. More...
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode. More...
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode. More...
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered. More...
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered. More...
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered. More...
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered. More...
 
virtual float GetTime () const
 Get a current time (s) More...
 
virtual void SetTime (float time)
 Set a current time (s) More...
 
virtual void SetCommandList (CommandList *commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL. More...
 
virtual void SetBackgroundTexture (::Effekseer::TextureData *textureData)
 Specify a background texture. Specified texture is not deleted by the renderer. This function is available except DirectX9, DirectX11. More...
 
virtual Effekseer::TextureDataCreateProxyTexture (ProxyTextureType type)
 Create a proxy texture. More...
 
virtual void DeleteProxyTexture (Effekseer::TextureData *data)
 Delete a proxy texture. More...
 
Impl * GetImpl ()
 only for Effekseer backend developer. Effekseer User doesn't need it. More...
 
virtual void OnLostDevice ()=0
 デバイスロストが発生した時に実行する。 More...
 
virtual void OnResetDevice ()=0
 デバイスがリセットされた時に実行する。 More...
 
virtual void Destroy ()=0
 このインスタンスを破棄する。 More...
 
virtual void SetRestorationOfStatesFlag (bool flag)=0
 ステートを復帰するかどうかのフラグを設定する。 More...
 
virtual bool BeginRendering ()=0
 描画を開始する時に実行する。 More...
 
virtual bool EndRendering ()=0
 描画を終了する時に実行する。 More...
 
virtual ::Effekseer::Vector3D GetLightDirection () const
 Get the direction of light. More...
 
virtual void SetLightDirection (const ::Effekseer::Vector3D &direction)
 Specifiy the direction of light. More...
 
virtual const ::Effekseer::ColorGetLightColor () const
 Get the color of light. More...
 
virtual void SetLightColor (const ::Effekseer::Color &color)
 Specify the color of light. More...
 
virtual const ::Effekseer::ColorGetLightAmbientColor () const
 Get the color of ambient. More...
 
virtual void SetLightAmbientColor (const ::Effekseer::Color &color)
 Specify the color of ambient. More...
 
virtual ::Effekseer::Matrix44 GetProjectionMatrix () const
 Get a projection matrix. More...
 
virtual void SetProjectionMatrix (const ::Effekseer::Matrix44 &mat)
 Set a projection matrix. More...
 
virtual ::Effekseer::Matrix44 GetCameraMatrix () const
 Get a camera matrix. More...
 
virtual void SetCameraMatrix (const ::Effekseer::Matrix44 &mat)
 Set a camera matrix. More...
 
virtual ::Effekseer::Matrix44 GetCameraProjectionMatrix () const
 Get a camera projection matrix. More...
 
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::SpriteRenderer * CreateSpriteRenderer ()=0
 スプライトレンダラーを生成する。 More...
 
virtual ::Effekseer::RibbonRenderer * CreateRibbonRenderer ()=0
 リボンレンダラーを生成する。 More...
 
virtual ::Effekseer::RingRenderer * CreateRingRenderer ()=0
 リングレンダラーを生成する。 More...
 
virtual ::Effekseer::ModelRenderer * CreateModelRenderer ()=0
 モデルレンダラーを生成する。 More...
 
virtual ::Effekseer::TrackRenderer * CreateTrackRenderer ()=0
 軌跡レンダラーを生成する。 More...
 
virtual ::Effekseer::TextureLoaderCreateTextureLoader (::Effekseer::FileInterface *fileInterface=NULL)=0
 標準のテクスチャ読込クラスを生成する。 More...
 
virtual ::Effekseer::ModelLoaderCreateModelLoader (::Effekseer::FileInterface *fileInterface=NULL)=0
 標準のモデル読込クラスを生成する。 More...
 
virtual ::Effekseer::MaterialLoaderCreateMaterialLoader (::Effekseer::FileInterface *fileInterface=nullptr)=0
 Create default material loader. More...
 
virtual void ResetRenderState ()=0
 レンダーステートを強制的にリセットする。 More...
 
virtual DistortingCallbackGetDistortingCallback ()=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを取得する。 More...
 
virtual void SetDistortingCallback (DistortingCallback *callback)=0
 背景を歪ませるエフェクトが描画される前に呼ばれるコールバックを設定する。 More...
 
virtual int32_t GetDrawCallCount () const
 Get draw call count. More...
 
virtual int32_t GetDrawVertexCount () const
 Get the number of vertex drawn. More...
 
virtual void ResetDrawCallCount ()
 Reset draw call count. More...
 
virtual void ResetDrawVertexCount ()
 Reset the number of vertex drawn. More...
 
virtual Effekseer::RenderMode GetRenderMode () const
 Get a render mode. More...
 
virtual void SetRenderMode (Effekseer::RenderMode renderMode)
 Specify a render mode. More...
 
virtual UVStyle GetTextureUVStyle () const
 Get an UV Style of texture when particles are rendered. More...
 
virtual void SetTextureUVStyle (UVStyle style)
 Set an UV Style of texture when particles are rendered. More...
 
virtual UVStyle GetBackgroundTextureUVStyle () const
 Get an UV Style of background when particles are rendered. More...
 
virtual void SetBackgroundTextureUVStyle (UVStyle style)
 Set an UV Style of background when particles are rendered. More...
 
virtual float GetTime () const
 Get a current time (s) More...
 
virtual void SetTime (float time)
 Set a current time (s) More...
 
virtual void SetCommandList (CommandList *commandList)
 specify a command list to render. This function is available except DirectX9, DirectX11 and OpenGL. More...
 
virtual void SetBackgroundTexture (::Effekseer::TextureData *textureData)
 Specify a background texture. Specified texture is not deleted by the renderer. This function is available except DirectX9, DirectX11. More...
 
virtual Effekseer::TextureDataCreateProxyTexture (ProxyTextureType type)
 Create a proxy texture. More...
 
virtual void DeleteProxyTexture (Effekseer::TextureData *data)
 Delete a proxy texture. More...
 
- Public Member Functions inherited from Effekseer::IReference
virtual int AddRef ()=0
 参照カウンタを加算する。 More...
 
virtual int GetRef ()=0
 参照カウンタを取得する。 More...
 
virtual int Release ()=0
 参照カウンタを減算する。0になった時、インスタンスを削除する。 More...
 

Static Public Member Functions

static RendererCreate (int32_t squareMaxCount, OpenGLDeviceType deviceType=OpenGLDeviceType::OpenGL2, DeviceObjectCollection *deviceObjectCollection=nullptr)
 Create an instance the number of maximum sprites device type of opengl for a middleware. it should be nullptr. instance. More...
 

Protected Member Functions

 Renderer ()
 
virtual ~Renderer ()
 
- Protected Member Functions inherited from EffekseerRenderer::Renderer
 Renderer ()
 
 Renderer ()
 
 Renderer ()
 

Additional Inherited Members

- Protected Attributes inherited from EffekseerRenderer::Renderer
Impl * impl = nullptr
 

Detailed Description

描画クラス

Definition at line 573 of file EffekseerRendererGL.h.

Constructor & Destructor Documentation

◆ Renderer()

EffekseerRendererGL::Renderer::Renderer ( )
inlineprotected

Definition at line 577 of file EffekseerRendererGL.h.

577 {}

◆ ~Renderer()

virtual EffekseerRendererGL::Renderer::~Renderer ( )
inlineprotectedvirtual

Reimplemented from EffekseerRenderer::Renderer.

Definition at line 578 of file EffekseerRendererGL.h.

578 {}

Member Function Documentation

◆ Create()

static Renderer* EffekseerRendererGL::Renderer::Create ( int32_t  squareMaxCount,
OpenGLDeviceType  deviceType = OpenGLDeviceType::OpenGL2,
DeviceObjectCollection deviceObjectCollection = nullptr 
)
static

Create an instance the number of maximum sprites device type of opengl for a middleware. it should be nullptr. instance.

◆ GetBackground()

virtual Effekseer::TextureData* EffekseerRendererGL::Renderer::GetBackground ( )
pure virtual

Get a background.

◆ GetDeviceType()

virtual OpenGLDeviceType EffekseerRendererGL::Renderer::GetDeviceType ( ) const
pure virtual

get a device type

◆ GetSquareMaxCount()

virtual int32_t EffekseerRendererGL::Renderer::GetSquareMaxCount ( ) const
pure virtual

最大描画スプライト数を取得する。

Implements EffekseerRenderer::Renderer.

◆ IsVertexArrayObjectSupported()

virtual bool EffekseerRendererGL::Renderer::IsVertexArrayObjectSupported ( ) const
pure virtual

get whether VAO is supported

◆ SetBackground()

virtual void EffekseerRendererGL::Renderer::SetBackground ( GLuint  background,
bool  hasMipmap = false 
)
pure virtual

Specify a background.

◆ SetSquareMaxCount()

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

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

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

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