Package icyllis.arc3d.opengl
Class GLSampler
java.lang.Object
icyllis.arc3d.engine.Resource
icyllis.arc3d.engine.Sampler
icyllis.arc3d.opengl.GLSampler
- All Implemented Interfaces:
RefCounted
Represents OpenGL sampler objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @SharedPtr GLSampler
create
(Context context, SamplerDesc desc) void
discard()
int
protected void
Subclass should override this method to free GPU resources in the backend API.Methods inherited from class icyllis.arc3d.engine.Resource
getContext, getDevice, getKey, getLabel, getMemorySize, getUniqueID, hasAnyRefs, hasCacheRef, hasCommandBufferRef, hasUsageRef, isBudgeted, isDestroyed, isPurgeable, isWrapped, onSetLabel, ref, refCommandBuffer, setKey, setLabel, setNonCacheable, unref, unrefCommandBuffer