Class TransmissionSource
java.lang.Object
gaiasky.util.gdx.model.gltf.scene3d.scene.TransmissionSource
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Field Summary
Modifier and TypeFieldDescriptionfinal PBRTextureAttribute
attribute to be added to the environment in the final render pass. -
Constructor Summary
ConstructorDescriptionTransmissionSource
(IntShaderProvider shaderProvider) TransmissionSource
(IntShaderProvider shaderProvider, IntRenderableSorter sorter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
begin
(com.badlogic.gdx.graphics.Camera camera) protected com.badlogic.gdx.graphics.glutils.FrameBuffer
createFrameBuffer
(int width, int height) void
dispose()
void
end()
void
render
(IntRenderableProvider provider) void
render
(IntRenderableProvider provider, Environment environment) void
render
(Iterable<IntRenderableProvider> providers, Environment environment) void
setSize
(int width, int height) Set transmission source frame buffer size (usually the same as the final render resolution).
-
Field Details
-
attribute
attribute to be added to the environment in the final render pass.
-
-
Constructor Details
-
TransmissionSource
-
TransmissionSource
-
-
Method Details
-
createFrameBuffer
protected com.badlogic.gdx.graphics.glutils.FrameBuffer createFrameBuffer(int width, int height) -
setSize
public void setSize(int width, int height) Set transmission source frame buffer size (usually the same as the final render resolution).- Parameters:
width
- when set to zero, default back buffer width will be used.height
- when set to zero, default back buffer height will be used.
-
begin
public void begin(com.badlogic.gdx.graphics.Camera camera) -
render
-
render
-
render
-
end
public void end() -
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-