Skip to content

Package com.mojang.blaze3d.framegraph

Part 1/1


FrameGraphBuilder

  • Full name: com.mojang.blaze3d.framegraph.FrameGraphBuilder
  • Package: com.mojang.blaze3d.framegraph
  • Source: clientOnlycom/mojang/blaze3d/framegraph/FrameGraphBuilder.java
  • Type: class
  • Modifiers: public

com.mojang.blaze3d.framegraph.FrameGraphBuilder#addPass(String)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:24
  • Modifiers: public
  • Return: FramePass

คืออะไร

เพิ่ม Pass

ทำงานยังไง

เรียกต่อ: Pass(), size(), add(). สร้างออบเจ็กต์: FrameGraphBuilder.Pass. คืนค่า: pass.

Parameters

  • String string

ตัวอย่างใช้งาน

FrameGraphBuilder instance = ...;
FramePass result = instance.addPass("value");

com.mojang.blaze3d.framegraph.FrameGraphBuilder#createInternal(String,ResourceDescriptor<T>)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:36
  • Modifiers: public
  • Return: ResourceHandle<T>

คืออะไร

สร้าง Internal

ทำงานยังไง

เรียกต่อ: createInternalResource(). คืนค่า: this.createInternalResource(string, resourceDescriptor, null).handle.

Parameters

  • String string
  • ResourceDescriptor<T> resourceDescriptor

ตัวอย่างใช้งาน

FrameGraphBuilder instance = ...;
ResourceDescriptor<T> resourceDescriptor = ...;
ResourceHandle<T> result = instance.createInternal("value", resourceDescriptor);

com.mojang.blaze3d.framegraph.FrameGraphBuilder#execute(GraphicsResourceAllocator)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:49
  • Modifiers: public
  • Return: void

คืออะไร

สั่งทำงาน execute

ทำงานยังไง

ทำงานตาม body โดยตรง (ประมาณ 1 statement).

Parameters

  • GraphicsResourceAllocator graphicsResourceAllocator

ตัวอย่างใช้งาน

FrameGraphBuilder instance = ...;
GraphicsResourceAllocator graphicsResourceAllocator = ...;
instance.execute(graphicsResourceAllocator);

com.mojang.blaze3d.framegraph.FrameGraphBuilder#execute(GraphicsResourceAllocator,FrameGraphBuilder.Inspector)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:53
  • Modifiers: public
  • Return: void

คืออะไร

สั่งทำงาน execute

ทำงานยังไง

มีการวนลูป. เรียกต่อ: identifyPassesToKeep(), cardinality(), size(), resolvePassOrder(), assignResourceLifetimes(), acquireResource(), acquire(), beforeExecutePass(). สร้างออบเจ็กต์: ArrayList<>, BitSet.

Parameters

  • GraphicsResourceAllocator graphicsResourceAllocator
  • FrameGraphBuilder.Inspector inspector

ตัวอย่างใช้งาน

FrameGraphBuilder instance = ...;
GraphicsResourceAllocator graphicsResourceAllocator = ...;
FrameGraphBuilder.Inspector inspector = ...;
instance.execute(graphicsResourceAllocator, inspector);

com.mojang.blaze3d.framegraph.FrameGraphBuilder#importExternal(String,T)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:30
  • Modifiers: public
  • Return: ResourceHandle<T>

คืออะไร

ดำเนินการ importExternal ตาม implementation ของ FrameGraphBuilder

ทำงานยังไง

เรียกต่อ: add(). สร้างออบเจ็กต์: FrameGraphBuilder.ExternalResource<>. คืนค่า: externalResource.handle.

Parameters

  • String string
  • T object

ตัวอย่างใช้งาน

FrameGraphBuilder instance = ...;
T object = ...;
ResourceHandle<T> result = instance.importExternal("value", object);

FrameGraphBuilder$Inspector

  • Full name: com.mojang.blaze3d.framegraph.FrameGraphBuilder$Inspector
  • Package: com.mojang.blaze3d.framegraph
  • Source: clientOnlycom/mojang/blaze3d/framegraph/FrameGraphBuilder.java
  • Type: interface
  • Modifiers: public

com.mojang.blaze3d.framegraph.FrameGraphBuilder$Inspector#acquireResource(String)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:220
  • Modifiers: default
  • Return: void

คืออะไร

ดำเนินการ acquireResource ตาม implementation ของ FrameGraphBuilder$Inspector

ทำงานยังไง

ทำงานตาม body โดยตรง (ประมาณ 1 statement).

Parameters

  • String string

ตัวอย่างใช้งาน

FrameGraphBuilder.Inspector instance = ...;
instance.acquireResource("value");

com.mojang.blaze3d.framegraph.FrameGraphBuilder$Inspector#afterExecutePass(String)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:229
  • Modifiers: default
  • Return: void

คืออะไร

ดำเนินการ afterExecutePass ตาม implementation ของ FrameGraphBuilder$Inspector

ทำงานยังไง

ทำงานตาม body โดยตรง (ประมาณ 1 statement).

Parameters

  • String string

ตัวอย่างใช้งาน

FrameGraphBuilder.Inspector instance = ...;
instance.afterExecutePass("value");

com.mojang.blaze3d.framegraph.FrameGraphBuilder$Inspector#beforeExecutePass(String)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:226
  • Modifiers: default
  • Return: void

คืออะไร

ดำเนินการ beforeExecutePass ตาม implementation ของ FrameGraphBuilder$Inspector

ทำงานยังไง

ทำงานตาม body โดยตรง (ประมาณ 1 statement).

Parameters

  • String string

ตัวอย่างใช้งาน

FrameGraphBuilder.Inspector instance = ...;
instance.beforeExecutePass("value");

com.mojang.blaze3d.framegraph.FrameGraphBuilder$Inspector#releaseResource(String)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FrameGraphBuilder.java:223
  • Modifiers: default
  • Return: void

คืออะไร

ดำเนินการ releaseResource ตาม implementation ของ FrameGraphBuilder$Inspector

ทำงานยังไง

ทำงานตาม body โดยตรง (ประมาณ 1 statement).

Parameters

  • String string

ตัวอย่างใช้งาน

FrameGraphBuilder.Inspector instance = ...;
instance.releaseResource("value");

FramePass

  • Full name: com.mojang.blaze3d.framegraph.FramePass
  • Package: com.mojang.blaze3d.framegraph
  • Source: clientOnlycom/mojang/blaze3d/framegraph/FramePass.java
  • Type: interface
  • Modifiers: public

com.mojang.blaze3d.framegraph.FramePass#createsInternal(String,ResourceDescriptor<T>)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FramePass.java:10
  • Modifiers: ``
  • Return: ResourceHandle<T>

คืออะไร

ดำเนินการ createsInternal ตาม implementation ของ FramePass

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • String string
  • ResourceDescriptor<T> resourceDescriptor

ตัวอย่างใช้งาน

FramePass instance = ...;
ResourceDescriptor<T> resourceDescriptor = ...;
ResourceHandle<T> result = instance.createsInternal("value", resourceDescriptor);

com.mojang.blaze3d.framegraph.FramePass#disableCulling()

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FramePass.java:18
  • Modifiers: ``
  • Return: void

คืออะไร

ดำเนินการ disableCulling ตาม implementation ของ FramePass

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

FramePass instance = ...;
instance.disableCulling();

com.mojang.blaze3d.framegraph.FramePass#executes(Runnable)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FramePass.java:20
  • Modifiers: ``
  • Return: void

คืออะไร

ดำเนินการ executes ตาม implementation ของ FramePass

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • Runnable runnable

ตัวอย่างใช้งาน

FramePass instance = ...;
Runnable runnable = ...;
instance.executes(runnable);

com.mojang.blaze3d.framegraph.FramePass#reads(ResourceHandle<T>)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FramePass.java:12
  • Modifiers: ``
  • Return: void

คืออะไร

ดำเนินการ reads ตาม implementation ของ FramePass

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • ResourceHandle<T> resourceHandle

ตัวอย่างใช้งาน

FramePass instance = ...;
ResourceHandle<T> resourceHandle = ...;
instance.reads(resourceHandle);

com.mojang.blaze3d.framegraph.FramePass#readsAndWrites(ResourceHandle<T>)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FramePass.java:14
  • Modifiers: ``
  • Return: ResourceHandle<T>

คืออะไร

ดำเนินการ readsAndWrites ตาม implementation ของ FramePass

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • ResourceHandle<T> resourceHandle

ตัวอย่างใช้งาน

FramePass instance = ...;
ResourceHandle<T> resourceHandle = ...;
ResourceHandle<T> result = instance.readsAndWrites(resourceHandle);

com.mojang.blaze3d.framegraph.FramePass#requires(FramePass)

  • Origin: clientOnly
  • Source: com/mojang/blaze3d/framegraph/FramePass.java:16
  • Modifiers: ``
  • Return: void

คืออะไร

ดำเนินการ requires ตาม implementation ของ FramePass

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • FramePass framePass

ตัวอย่างใช้งาน

FramePass instance = ...;
FramePass framePass = ...;
instance.requires(framePass);