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

change: Add new render target types for 3D and array textures #183

Merged
merged 2 commits into from Mar 1, 2022

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented Mar 1, 2022

Why

To catch up with r138

Description

See: mrdoob/three.js#23498

  • Add new classes:
    • WebGL3DRenderTarget
    • WebGLArrayRenderTarget
    • Data3DTexture
    • DataArrayTexture
  • Made them deprecated:
    • DataTexture2DArray
    • DataTexture3D
  • Removed WebGLRenderTarget.setTexture
  • Fixed related classes
  • Fixed related examples

What I didn't do

  • changes applied to examples/jsm/renderers/webgpu/WebGPUTextures , since it does not exist in this repository.

Points need review

  • The syntax of DataTexture2DArray.d.ts and DataTexture3D.d.ts
    • these are deprecated. does the syntax look good?

Checklist

  • Checked the target branch (current goes master, next goes dev)
  • Added myself to contributors table
  • Ready to be merged

See: mrdoob/three.js#23498

### Description

- Add new classes:
  - `WebGL3DRenderTarget`
  - `WebGLArrayRenderTarget`
  - `Data3DTexture`
  - `DataArrayTexture`
- Made them deprecated:
  - `DataTexture2DArray`
  - `DataTexture3D`
- Removed `WebGLRenderTarget.setTexture`
- Fixed related classes
- Fixed related examples

### What I didn't do

- changes applied to `examples/jsm/renderers/webgpu/WebGPUTextures` , since it does not exist in this repository.
@0b5vr
Copy link
Contributor Author

0b5vr commented Mar 1, 2022

fixing a test ready

@0b5vr 0b5vr mentioned this pull request Mar 1, 2022
16 tasks
@joshuaellis joshuaellis merged commit 64cf6f3 into three-types:dev Mar 1, 2022
@0b5vr 0b5vr deleted the render-target-3d branch March 1, 2022 10:12
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