imasiprojects / ImasiEngine

3D Engine Library, by Imasi
2 stars 1 forks source link

Improve GpuObject #34

Closed ivancea closed 8 years ago

ivancea commented 8 years ago

Original report by Iván Sanz (Bitbucket: ivansanz, GitHub: isc30).


Add methods such as

    void setGpuId(unsigned int gpuId);
    void unsetGpuId();

    virtual void createGpuObject() = 0;
    virtual void destroyGpuObject() = 0;
    virtual void resetGpuObject();

    unsigned int getGpuId() const;
    virtual bool isValidGpuId() const;