Giter Site home page Giter Site logo

crysuperluminal's Introduction

Cryengine Superluminal Plugin

An implementation for the Superluminal Performance API for Cryengine.

Usage

Prerequisites

The Performance API files need to be copied from your local Superluminal installation into your engines SDK folder at Code/SDKs/Superluminal .

Preparation

Clone this project into your engines Plugin folder at Code/CryPlugins .

Add the Plugin to your engines CMake build script and copy the correct PerformanceAPI.dll from the sdk folder to your target binary folder.

Optionally you can add the dll to CopyFilesToBin.cmake to have it copied on CMake generation.

Add CrySuperluminal to your projects loaded plugins in your .cryproject

Include the code

To use ther Superluminal API in your cryengine project you just need to add this snippet to your project CMakeLists.txt:

include(${CRYENGINE_DIR}/Code/CryPlugins/CrySuperluminal/IncludeSuperluminal.cmake)

From there on, you can use the API like described in the documentation.

Should you not want the profiling code to be generated, just set the USE_SUPERLUMINAL cmake option to false. This will replace all the calls to the API with empty instructions.

Keep in mind that the CrySuperluminal Plugin needs to be loaded for this to work.

Result

Profiling Example

Todo

Add some functionality to trigger intrumentation events without the need to add to the code directly.

crysuperluminal's People

Contributors

sunnlok avatar

Watchers

James Cloos avatar richmondx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.