mirror of https://github.com/axmolengine/axmol.git
Update CCRenderer.h
This commit is contained in:
parent
3a06a6438f
commit
1bb6439d5f
|
@ -1,6 +1,7 @@
|
|||
/****************************************************************************
|
||||
Copyright (c) 2013-2016 Chukong Technologies Inc.
|
||||
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
||||
Copyright (c) 2022 Bytedance Inc.
|
||||
|
||||
https://axmolengine.github.io/
|
||||
|
||||
|
@ -407,6 +408,8 @@ public:
|
|||
bool getScissorTest() const; ///< Get whether scissor test is enabled or not.
|
||||
const ScissorRect& getScissorRect() const; ///< Get scissor rectangle.
|
||||
|
||||
backend::CommandBuffer* getCommandBuffer() const { return _commandBuffer ; }
|
||||
|
||||
/** returns whether or not a rectangle is visible or not */
|
||||
bool checkVisibility(const Mat4& transform, const Vec2& size);
|
||||
|
||||
|
|
Loading…
Reference in New Issue