Package icyllis.arc3d.vulkan
Class VulkanResourceProvider
java.lang.Object
icyllis.arc3d.engine.ResourceProvider
icyllis.arc3d.vulkan.VulkanResourceProvider
-
Field Summary
Fields inherited from class icyllis.arc3d.engine.ResourceProvider
mContext, mResourceCache
-
Constructor Summary
ModifierConstructorDescriptionprotected
VulkanResourceProvider
(VulkanDevice device, Context context, long maxResourceBudget) -
Method Summary
Modifier and TypeMethodDescriptionprotected Sampler
createSampler
(SamplerDesc desc) protected Buffer
onCreateNewBuffer
(long size, int usage) protected Image
onCreateNewImage
(ImageDesc desc, boolean budgeted) Overridden by backend-specific derived class to create objects.Methods inherited from class icyllis.arc3d.engine.ResourceProvider
assignUniqueKeyToResource, createGraphicsPipeline, createImage, createNewBuffer, createNewImage, createRenderTarget, createRenderTarget, createRenderTarget, createTexture, destroy, findAndRefScratchImage, findAndRefScratchImage, findAndRefScratchRenderTarget, findAndRefScratchRenderTarget, findOrCreateBuffer, findOrCreateCompatibleSampler, findOrCreateGraphicsPipeline, findOrCreateImage, freeGpuResources, getResourceCache, getResourceCacheBudgetedBytes, getResourceCacheLimit, getResourceCachePurgeableBytes, purgeResourcesNotUsedSince, wrapBackendRenderTarget, wrapGLDefaultFramebuffer, wrapRenderableBackendTexture
-
Constructor Details
-
VulkanResourceProvider
-
-
Method Details
-
onCreateNewImage
Description copied from class:ResourceProvider
Overridden by backend-specific derived class to create objects.Image size and format support will have already been validated in base class before onCreateImage is called.
- Specified by:
onCreateNewImage
in classResourceProvider
-
createSampler
- Specified by:
createSampler
in classResourceProvider
-
onCreateNewBuffer
- Specified by:
onCreateNewBuffer
in classResourceProvider
-