Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial TextureArray wrapper #3807

Merged
merged 1 commit into from Jan 30, 2016
Merged

Conversation

Tom-Ski
Copy link
Member

@Tom-Ski Tom-Ski commented Jan 30, 2016

Adds support for TextureArray objects with LibGDX.

This requires GLES 3.0+ compatibility, and has been tested on android/lwjgl and lwjgl3 backends.
A few tweaks were needed to the android and lwjgl graphics interfaces to correctly create an uninitialized 3D texture.

See the sample test case provided for usecase.

@Tom-Ski Tom-Ski force-pushed the texturearray branch 2 times, most recently from 0167adf to 5b73979 Compare January 30, 2016 13:56
data.consumeTextureArrayData();

setFilter(minFilter, magFilter);
setWrap(uWrap, vWrap);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use unsafeSetFilter, unsafeSetWrap here

@xoppa
Copy link
Member

xoppa commented Jan 30, 2016

Looks good! I'd say merge it (and update CHANGES)

Tom-Ski added a commit that referenced this pull request Jan 30, 2016
Add initial TextureArray wrapper
@Tom-Ski Tom-Ski merged commit 248bb6d into libgdx:master Jan 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants