mirror of https://github.com/axmolengine/axmol.git
add CC_DLL in Renderer folder
This commit is contained in:
parent
190264c090
commit
952ca0eb75
|
@ -33,7 +33,7 @@ NS_CC_BEGIN
|
|||
|
||||
class TextureAtlas;
|
||||
|
||||
class BatchCommand : public RenderCommand
|
||||
class CC_DLL BatchCommand : public RenderCommand
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class CustomCommand : public RenderCommand
|
||||
class CC_DLL CustomCommand : public RenderCommand
|
||||
{
|
||||
public:
|
||||
CustomCommand();
|
||||
|
|
|
@ -47,7 +47,7 @@ class EventCustom;
|
|||
// UniformValue
|
||||
//
|
||||
//
|
||||
class UniformValue
|
||||
class CC_DLL UniformValue
|
||||
{
|
||||
friend class GLProgram;
|
||||
friend class GLProgramState;
|
||||
|
@ -99,7 +99,7 @@ protected:
|
|||
// VertexAttribValue
|
||||
//
|
||||
//
|
||||
class VertexAttribValue
|
||||
class CC_DLL VertexAttribValue
|
||||
{
|
||||
friend class GLProgram;
|
||||
friend class GLProgramState;
|
||||
|
@ -143,7 +143,7 @@ protected:
|
|||
A GLProgram can be used by thousands of Nodes, but if different uniform values
|
||||
are going to be used, then each node will need its own GLProgramState
|
||||
*/
|
||||
class GLProgramState : public Ref
|
||||
class CC_DLL GLProgramState : public Ref
|
||||
{
|
||||
friend class GLProgramStateCache;
|
||||
public:
|
||||
|
|
|
@ -43,7 +43,7 @@ class GLProgramState;
|
|||
// GLProgramStateCache
|
||||
//
|
||||
//
|
||||
class GLProgramStateCache
|
||||
class CC_DLL GLProgramStateCache
|
||||
{
|
||||
public:
|
||||
static GLProgramStateCache* getInstance();
|
||||
|
|
|
@ -48,7 +48,7 @@ protected:
|
|||
std::unordered_map<int, bool> _groupMapping;
|
||||
};
|
||||
|
||||
class GroupCommand : public RenderCommand
|
||||
class CC_DLL GroupCommand : public RenderCommand
|
||||
{
|
||||
public:
|
||||
GroupCommand();
|
||||
|
|
|
@ -40,7 +40,7 @@ class EventListenerCustom;
|
|||
class EventCustom;
|
||||
|
||||
//it is a common mesh
|
||||
class MeshCommand : public RenderCommand
|
||||
class CC_DLL MeshCommand : public RenderCommand
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
NS_CC_BEGIN
|
||||
|
||||
/** Command used to render one or more Quads */
|
||||
class QuadCommand : public RenderCommand
|
||||
class CC_DLL QuadCommand : public RenderCommand
|
||||
{
|
||||
public:
|
||||
static const int MATERIAL_ID_DO_NOT_BATCH = 0;
|
||||
|
|
|
@ -37,7 +37,7 @@ NS_CC_BEGIN
|
|||
*
|
||||
The `Renderer` knows how to render `RenderCommands` objects.
|
||||
*/
|
||||
class RenderCommand
|
||||
class CC_DLL RenderCommand
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ class GroupCommandManager;
|
|||
|
||||
Whenever possible prefer to use `QuadCommand` objects since the renderer will automatically batch them.
|
||||
*/
|
||||
class Renderer
|
||||
class CC_DLL Renderer
|
||||
{
|
||||
public:
|
||||
static const int VBO_SIZE = 65536 / 6;
|
||||
|
|
Loading…
Reference in New Issue