Package com.raylib.jextract


package com.raylib.jextract
  • Class
    Description
    struct {
        int __val[2];
    }
    
    typedef void (*AudioCallback)(void *, unsigned int)
    
    The function pointer signature, expressed as a functional interface
    struct AudioStream {
        rAudioBuffer *buffer;
        rAudioProcessor *processor;
        unsigned int sampleRate;
        unsigned int sampleSize;
        unsigned int channels;
    }
    
    struct AutomationEvent {
        unsigned int frame;
        unsigned int type;
        int params[4];
    }
    
    struct AutomationEventList {
        unsigned int capacity;
        unsigned int count;
        AutomationEvent *events;
    }
    
    struct BoneInfo {
        char name[32];
        int parent;
    }
    
    struct BoundingBox {
        Vector3 min;
        Vector3 max;
    }
    
    typedef Camera3D Camera
    
    struct Camera2D {
        Vector2 offset;
        Vector2 target;
        float rotation;
        float zoom;
    }
    
    struct Camera3D {
        Vector3 position;
        Vector3 target;
        Vector3 up;
        float fovy;
        int projection;
    }
    
    struct Color {
        unsigned char r;
        unsigned char g;
        unsigned char b;
        unsigned char a;
    }
    
    struct FilePathList {
        unsigned int capacity;
        unsigned int count;
        char **paths;
    }
    
    struct float16 {
        float v[16];
    }
    
    struct float3 {
        float v[3];
    }
    
    struct Font {
        int baseSize;
        int glyphCount;
        int glyphPadding;
        Texture2D texture;
        Rectangle *recs;
        GlyphInfo *glyphs;
    }
    
    struct GlyphInfo {
        int value;
        int offsetX;
        int offsetY;
        int advanceX;
        Image image;
    }
    
    struct Image {
        void *data;
        int width;
        int height;
        int mipmaps;
        int format;
    }
    
    typedef unsigned char *(*LoadFileDataCallback)(const char *, int *)
    
    The function pointer signature, expressed as a functional interface
    typedef char *(*LoadFileTextCallback)(const char *)
    
    The function pointer signature, expressed as a functional interface
    struct Material {
        Shader shader;
        MaterialMap *maps;
        float params[4];
    }
    
    struct MaterialMap {
        Texture2D texture;
        Color color;
        float value;
    }
    
    struct Matrix {
        float m0;
        float m4;
        float m8;
        float m12;
        float m1;
        float m5;
        float m9;
        float m13;
        float m2;
        float m6;
        float m10;
        float m14;
        float m3;
        float m7;
        float m11;
        float m15;
    }
    
    struct Mesh {
        int vertexCount;
        int triangleCount;
        float *vertices;
        float *texcoords;
        float *texcoords2;
        float *normals;
        float *tangents;
        unsigned char *colors;
        unsigned short *indices;
        float *animVertices;
        float *animNormals;
        unsigned char *boneIds;
        float *boneWeights;
        Matrix *boneMatrices;
        int boneCount;
        unsigned int vaoId;
        unsigned int *vboId;
    }
    
    struct Model {
        Matrix transform;
        int meshCount;
        int materialCount;
        Mesh *meshes;
        Material *materials;
        int *meshMaterial;
        int boneCount;
        BoneInfo *bones;
        Transform *bindPose;
    }
    
    struct ModelAnimation {
        int boneCount;
        int frameCount;
        BoneInfo *bones;
        Transform **framePoses;
        char name[32];
    }
    
    struct Music {
        AudioStream stream;
        unsigned int frameCount;
        bool looping;
        int ctxType;
        void *ctxData;
    }
    
    struct NPatchInfo {
        Rectangle source;
        int left;
        int top;
        int right;
        int bottom;
        int layout;
    }
    
    typedef Vector4 Quaternion
    
    struct Ray {
        Vector3 position;
        Vector3 direction;
    }
    
    struct RayCollision {
        bool hit;
        float distance;
        Vector3 point;
        Vector3 normal;
    }
    
     
     
    Variadic invoker class for:
    const char *TextFormat(const char *text, ...)
    
    Variadic invoker class for:
    void TraceLog(int logLevel, const char *text, ...)
    
    struct Rectangle {
        float x;
        float y;
        float width;
        float height;
    }
    
    struct RenderTexture {
        unsigned int id;
        Texture texture;
        Texture depth;
    }
    
    typedef RenderTexture RenderTexture2D
    
    struct rlDrawCall {
        int mode;
        int vertexCount;
        int vertexAlignment;
        unsigned int textureId;
    }
    
    struct rlRenderBatch {
        int bufferCount;
        int currentBuffer;
        rlVertexBuffer *vertexBuffer;
        rlDrawCall *draws;
        int drawCounter;
        float currentDepth;
    }
    
    struct rlVertexBuffer {
        int elementCount;
        float *vertices;
        float *texcoords;
        float *normals;
        unsigned char *colors;
        unsigned int *indices;
        unsigned int vaoId;
        unsigned int vboId[5];
    }
    
    typedef bool (*SaveFileDataCallback)(const char *, void *, int)
    
    The function pointer signature, expressed as a functional interface
    typedef bool (*SaveFileTextCallback)(const char *, char *)
    
    The function pointer signature, expressed as a functional interface
    struct Shader {
        unsigned int id;
        int *locs;
    }
    
    struct Sound {
        AudioStream stream;
        unsigned int frameCount;
    }
    
    struct Texture {
        unsigned int id;
        int width;
        int height;
        int mipmaps;
        int format;
    }
    
    typedef Texture Texture2D
    
    typedef Texture TextureCubemap
    
    typedef void (*TraceLogCallback)(int, const char *, struct __va_list_tag {
        unsigned int gp_offset;
        unsigned int fp_offset;
        void *overflow_arg_area;
        void *reg_save_area;
    } *)
    
    The function pointer signature, expressed as a functional interface
    struct Transform {
        Vector3 translation;
        Quaternion rotation;
        Vector3 scale;
    }
    
    struct Vector2 {
        float x;
        float y;
    }
    
    struct Vector3 {
        float x;
        float y;
        float z;
    }
    
    struct Vector4 {
        float x;
        float y;
        float z;
        float w;
    }
    
    struct VrDeviceInfo {
        int hResolution;
        int vResolution;
        float hScreenSize;
        float vScreenSize;
        float eyeToScreenDistance;
        float lensSeparationDistance;
        float interpupillaryDistance;
        float lensDistortionValues[4];
        float chromaAbCorrection[4];
    }
    
    struct VrStereoConfig {
        Matrix projection[2];
        Matrix viewOffset[2];
        float leftLensCenter[2];
        float rightLensCenter[2];
        float leftScreenCenter[2];
        float rightScreenCenter[2];
        float scale[2];
        float scaleIn[2];
    }
    
    struct Wave {
        unsigned int frameCount;
        unsigned int sampleRate;
        unsigned int sampleSize;
        unsigned int channels;
        void *data;
    }