public class ES2Pipeline extends GraphicsPipeline
GraphicsPipeline.ShaderModel, GraphicsPipeline.ShaderType| Modifier and Type | Field and Description |
|---|---|
static com.sun.prism.es2.GLFactory |
glFactory |
static com.sun.prism.es2.GLPixelFormat.Attributes |
pixelFormatAttributes |
deviceDetails| Constructor and Description |
|---|
ES2Pipeline() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
int |
getAdapterOrdinal(Screen screen) |
ResourceFactory |
getDefaultResourceFactory(List<Screen> screens) |
static ES2Pipeline |
getInstance() |
ResourceFactory |
getResourceFactory(Screen screen) |
boolean |
init() |
boolean |
is3DSupported() |
boolean |
isMSAASupported() |
boolean |
isVsyncSupported() |
boolean |
supportsShaderModel(GraphicsPipeline.ShaderModel model)
Returns true iff the graphics objects from this pipeline support
the indicated
GraphicsPipeline.ShaderModel. |
boolean |
supportsShaderType(GraphicsPipeline.ShaderType type)
Returns true iff the graphics objects from this pipeline support
the indicated
GraphicsPipeline.ShaderType. |
createPipeline, getDefaultResourceFactory, getDeviceDetails, getFontFactory, getPipeline, isEffectSupported, isUploading, setDeviceDetails, supportsShaderpublic static final com.sun.prism.es2.GLFactory glFactory
public static final com.sun.prism.es2.GLPixelFormat.Attributes pixelFormatAttributes
public static ES2Pipeline getInstance()
public boolean init()
init in class GraphicsPipelinepublic int getAdapterOrdinal(Screen screen)
getAdapterOrdinal in class GraphicsPipelinepublic ResourceFactory getDefaultResourceFactory(List<Screen> screens)
getDefaultResourceFactory in class GraphicsPipelinepublic ResourceFactory getResourceFactory(Screen screen)
getResourceFactory in class GraphicsPipelinepublic void dispose()
dispose in class GraphicsPipelinepublic boolean is3DSupported()
is3DSupported in class GraphicsPipelinepublic final boolean isMSAASupported()
isMSAASupported in class GraphicsPipelinepublic boolean isVsyncSupported()
isVsyncSupported in class GraphicsPipelinepublic boolean supportsShaderType(GraphicsPipeline.ShaderType type)
GraphicsPipelineGraphicsPipeline.ShaderType.supportsShaderType in class GraphicsPipelinetype - the desired GraphicsPipeline.ShaderType to be usedShaderType is supportedpublic boolean supportsShaderModel(GraphicsPipeline.ShaderModel model)
GraphicsPipelineGraphicsPipeline.ShaderModel. Generally, the pipeline will
also support all older or lower-numbered ShaderModels as well.supportsShaderModel in class GraphicsPipelinemodel - the desired GraphicsPipeline.ShaderModel to be usedShaderModel is supportedCopyright © 2025. All rights reserved.