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 @Nullable @SharedPtr GLSamplercreate(Context context, SamplerDesc desc) voiddiscard()intprotected voidSubclass 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, isShareable, isWrapped, onSetLabel, ref, refCommandBuffer, setLabel, setNonCacheable, unref, unrefCommandBuffer