当前位置: 首页>>代码示例>>C++>>正文


C++ CSFML_CALL函数代码示例

本文整理汇总了C++中CSFML_CALL函数的典型用法代码示例。如果您正苦于以下问题:C++ CSFML_CALL函数的具体用法?C++ CSFML_CALL怎么用?C++ CSFML_CALL使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了CSFML_CALL函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: sfMutex_unlock

void sfMutex_unlock(sfMutex* mutex)
{
    CSFML_CALL(mutex, unlock());
}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,代码来源:Mutex.cpp

示例2: sfRenderTexture_PushGLStates

CSFML_GRAPHICS_API void sfRenderTexture_PushGLStates(sfRenderTexture* renderTexture)
{
    CSFML_CALL(renderTexture, PushGLStates());
}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,代码来源:RenderTexture.cpp

示例3: sfRenderTexture_SetSmooth

void sfRenderTexture_SetSmooth(sfRenderTexture* renderTexture, sfBool smooth)
{
    CSFML_CALL(renderTexture, SetSmooth(smooth == sfTrue));
}
开发者ID:deadalnix,项目名称:CSFML,代码行数:4,代码来源:RenderTexture.cpp

示例4: sfSoundBufferRecorder_start

void sfSoundBufferRecorder_start(sfSoundBufferRecorder* soundBufferRecorder, unsigned int sampleRate)
{
    CSFML_CALL(soundBufferRecorder, start(sampleRate));
}
开发者ID:Jebbs,项目名称:CSFML,代码行数:4,代码来源:SoundBufferRecorder.cpp

示例5: sfRenderTexture_DrawRectangleShape

void sfRenderTexture_DrawRectangleShape(sfRenderTexture* renderTexture, const sfRectangleShape* object, const sfRenderStates* states)
{
    CSFML_CHECK(object);
    CSFML_CALL(renderTexture, Draw(object->This, ConvertRenderStates(states)));
}
开发者ID:deadalnix,项目名称:CSFML,代码行数:5,代码来源:RenderTexture.cpp

示例6: sfCircleShape_setPosition

void sfCircleShape_setPosition(sfCircleShape* shape, sfVector2f position)
{
    CSFML_CALL(shape, setPosition(position.x, position.y));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp

示例7: sfCircleShape_setScale

void sfCircleShape_setScale(sfCircleShape* shape, sfVector2f scale)
{
    CSFML_CALL(shape, setScale(scale.x, scale.y));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp

示例8: sfSocketSelector_removeUdpSocket

void sfSocketSelector_removeUdpSocket(sfSocketSelector* selector, sfUdpSocket* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, remove(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp

示例9: sfSocketSelector_clear

void sfSocketSelector_clear(sfSocketSelector* selector)
{
    CSFML_CALL(selector, clear());
}
开发者ID:SFML,项目名称:CSFML,代码行数:4,代码来源:SocketSelector.cpp

示例10: sfSocketSelector_addUdpSocket

void sfSocketSelector_addUdpSocket(sfSocketSelector* selector, sfUdpSocket* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, add(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp

示例11: sfSocketSelector_removeTcpListener

void sfSocketSelector_removeTcpListener(sfSocketSelector* selector, sfTcpListener* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, remove(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp

示例12: sfSocketSelector_addTcpListener

void sfSocketSelector_addTcpListener(sfSocketSelector* selector, sfTcpListener* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, add(socket->This));
}
开发者ID:SFML,项目名称:CSFML,代码行数:5,代码来源:SocketSelector.cpp

示例13: sfUdpSocket_unbind

void sfUdpSocket_unbind(sfUdpSocket* socket)
{
    CSFML_CALL(socket, unbind());
}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,代码来源:UdpSocket.cpp

示例14: sfUdpSocket_setBlocking

void sfUdpSocket_setBlocking(sfUdpSocket* socket, sfBool blocking)
{
    CSFML_CALL(socket, setBlocking(blocking == sfTrue));
}
开发者ID:dabbertorres,项目名称:CSFML,代码行数:4,代码来源:UdpSocket.cpp

示例15: sfCircleShape_setRadius

void sfCircleShape_setRadius(sfCircleShape* shape, float radius)
{
    CSFML_CALL(shape, setRadius(radius));
}
开发者ID:JeromeOrtali,项目名称:pbSFML,代码行数:4,代码来源:CircleShape.cpp


注:本文中的CSFML_CALL函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。