Package gaiasky.util.gdx.shader.provider
Class TessellationShaderProgramProvider
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<TessellationShaderProgram,TessellationShaderProgramProvider.ShaderProgramParameter>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TessellationShaderProgram,TessellationShaderProgramProvider.ShaderProgramParameter>
gaiasky.util.gdx.shader.provider.TessellationShaderProgramProvider
public class TessellationShaderProgramProvider
extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TessellationShaderProgram,TessellationShaderProgramProvider.ShaderProgramParameter>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionTessellationShaderProgramProvider
(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) TessellationShaderProgramProvider
(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver, String vertexFileSuffix, String controlFileSuffix, String evaluationFileSuffix, String fragmentFileSuffix) -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.utils.Array
<com.badlogic.gdx.assets.AssetDescriptor> getDependencies
(String fileName, com.badlogic.gdx.files.FileHandle file, TessellationShaderProgramProvider.ShaderProgramParameter parameter) static String
getShaderCode
(String prefix, String code) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TessellationShaderProgramProvider.ShaderProgramParameter parameter) loadSync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TessellationShaderProgramProvider.ShaderProgramParameter parameter) Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Constructor Details
-
TessellationShaderProgramProvider
public TessellationShaderProgramProvider(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) -
TessellationShaderProgramProvider
-
-
Method Details
-
getShaderCode
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, TessellationShaderProgramProvider.ShaderProgramParameter parameter) - Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<TessellationShaderProgram,
TessellationShaderProgramProvider.ShaderProgramParameter>
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TessellationShaderProgramProvider.ShaderProgramParameter parameter) - Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TessellationShaderProgram,
TessellationShaderProgramProvider.ShaderProgramParameter>
-
loadSync
public TessellationShaderProgram loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, TessellationShaderProgramProvider.ShaderProgramParameter parameter) - Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<TessellationShaderProgram,
TessellationShaderProgramProvider.ShaderProgramParameter>
-