MCPcopy Index your code
hub / github.com/HumbleUI/Skija / makeDirect3D

Method makeDirect3D

shared/java/BackendRenderTarget.java:32–36  ·  view source on GitHub ↗

Creates Direct3D backend render target object from D3D12 texture resource. For more information refer to skia GrBackendRenderTarget class. @param width width of the render target in pixels @param height height of the render target in pixels @param texturePtr pointer

(int width, int height, long texturePtr, int format, int sampleCnt, int levelCnt)

Source from the content-addressed store, hash-verified

30 * @param levelCnt sampling quality level for texture resource
31 */
32 @NotNull @Contract("_, _, _, _, _, _ -> new")
33 public static BackendRenderTarget makeDirect3D(int width, int height, long texturePtr, int format, int sampleCnt, int levelCnt) {
34 Stats.onNativeCall();
35 return new BackendRenderTarget(_nMakeDirect3D(width, height, texturePtr, format, sampleCnt, levelCnt));
36 }
37
38 @NotNull @Contract("_, _, _, _, _, _, _, _, _ -> new")
39 public static BackendRenderTarget makeVulkan(int width, int height, long imagePtr, int imageTiling, int imageLayout, int format, int imageUsageFlags, int sampleCnt, int levelCnt) {

Callers

nothing calls this directly

Calls 2

onNativeCallMethod · 0.95
_nMakeDirect3DMethod · 0.95

Tested by

no test coverage detected