public abstract class GraphicsPipeline extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphicsPipeline.ShaderModel |
static class |
GraphicsPipeline.ShaderType |
Modifier and Type | Field and Description |
---|---|
protected Map |
deviceDetails |
Constructor and Description |
---|
GraphicsPipeline() |
protected Map deviceDetails
public abstract boolean init()
public void dispose()
public abstract int getAdapterOrdinal(Screen screen)
public abstract ResourceFactory getResourceFactory(Screen screen)
public abstract ResourceFactory getDefaultResourceFactory(List<Screen> screens)
public abstract boolean is3DSupported()
public boolean isMSAASupported()
public abstract boolean isVsyncSupported()
public abstract boolean supportsShaderType(GraphicsPipeline.ShaderType type)
GraphicsPipeline.ShaderType
.type
- the desired GraphicsPipeline.ShaderType
to be usedShaderType
is supportedpublic abstract boolean supportsShaderModel(GraphicsPipeline.ShaderModel model)
GraphicsPipeline.ShaderModel
. Generally, the pipeline will
also support all older or lower-numbered ShaderModel
s as well.model
- the desired GraphicsPipeline.ShaderModel
to be usedShaderModel
is supportedpublic boolean supportsShader(GraphicsPipeline.ShaderType type, GraphicsPipeline.ShaderModel model)
GraphicsPipeline.ShaderType
and GraphicsPipeline.ShaderModel
. Generally,
the pipeline will also support all older or lower-numbered
ShaderModel
s as well.type
- the desired GraphicsPipeline.ShaderType
to be usedmodel
- the desired GraphicsPipeline.ShaderModel
to be usedShaderType
and ShaderModel
are supportedpublic static ResourceFactory getDefaultResourceFactory()
public FontFactory getFontFactory()
public Map getDeviceDetails()
protected void setDeviceDetails(Map details)
public static GraphicsPipeline createPipeline()
public static GraphicsPipeline getPipeline()
public boolean isEffectSupported()
public boolean isUploading()
Copyright © 2020. All rights reserved.