當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。