Uses of Enum Class
com.mojang.blaze3d.shaders.ShaderType
Packages that use ShaderType
Package
Description
-
Uses of ShaderType in com.mojang.blaze3d.opengl
Fields in com.mojang.blaze3d.opengl declared as ShaderTypeModifier and TypeFieldDescriptionprivate final ShaderTypeGlDevice.ShaderCompilationKey.typeThe field for thetyperecord component.private final ShaderTypeGlShaderModule.typeFields in com.mojang.blaze3d.opengl with type parameters of type ShaderTypeModifier and TypeFieldDescriptionprivate final BiFunction<ResourceLocation, ShaderType, String> GlDevice.defaultShaderSourceMethods in com.mojang.blaze3d.opengl that return ShaderTypeModifier and TypeMethodDescriptionGlDevice.ShaderCompilationKey.type()Returns the value of thetyperecord component.Methods in com.mojang.blaze3d.opengl with parameters of type ShaderTypeModifier and TypeMethodDescriptionprotected GlShaderModuleGlDevice.getOrCompileShader(ResourceLocation pShader, ShaderType pType, ShaderDefines pDefines, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) static intGlConst.toGl(ShaderType pShaderType) Method parameters in com.mojang.blaze3d.opengl with type arguments of type ShaderTypeModifier and TypeMethodDescriptionprivate GlRenderPipelineGlDevice.compilePipeline(RenderPipeline pPipeline, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) private GlShaderModuleGlDevice.compileShader(GlDevice.ShaderCompilationKey pKey, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) protected GlShaderModuleGlDevice.getOrCompileShader(ResourceLocation pShader, ShaderType pType, ShaderDefines pDefines, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) GlDevice.precompilePipeline(RenderPipeline p_410489_, BiFunction<ResourceLocation, ShaderType, String> p_410134_) Constructors in com.mojang.blaze3d.opengl with parameters of type ShaderTypeModifierConstructorDescriptionGlShaderModule(int pShaderId, ResourceLocation pId, ShaderType pType) (package private)ShaderCompilationKey(ResourceLocation id, ShaderType type, ShaderDefines defines) Creates an instance of aShaderCompilationKeyrecord class.Constructor parameters in com.mojang.blaze3d.opengl with type arguments of type ShaderTypeModifierConstructorDescriptionGlDevice(long pWindow, int pDebugVerbosity, boolean pSynchronous, BiFunction<ResourceLocation, ShaderType, String> pDefaultShaderSource, boolean pRenderDebugLabels) -
Uses of ShaderType in com.mojang.blaze3d.shaders
Fields in com.mojang.blaze3d.shaders declared as ShaderTypeMethods in com.mojang.blaze3d.shaders that return ShaderTypeModifier and TypeMethodDescriptionstatic ShaderTypeShaderType.byLocation(ResourceLocation pLocation) static ShaderTypeReturns the enum constant of this class with the specified name.static ShaderType[]ShaderType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ShaderType in com.mojang.blaze3d.systems
Method parameters in com.mojang.blaze3d.systems with type arguments of type ShaderTypeModifier and TypeMethodDescriptionstatic voidRenderSystem.initRenderer(long pWindow, int pGlDebugVerbosity, boolean pSynchronous, BiFunction<ResourceLocation, ShaderType, String> pDefaultShaderSource, boolean pRenderDebugLabels) GpuDevice.precompilePipeline(RenderPipeline pRenderPipeline, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) -
Uses of ShaderType in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as ShaderTypeModifier and TypeFieldDescriptionprivate final ShaderTypeShaderManager.ShaderSourceKey.typeThe field for thetyperecord component.Methods in net.minecraft.client.renderer that return ShaderTypeModifier and TypeMethodDescriptionShaderManager.ShaderSourceKey.type()Returns the value of thetyperecord component.Methods in net.minecraft.client.renderer with parameters of type ShaderTypeModifier and TypeMethodDescriptionShaderManager.getShader(ResourceLocation pId, ShaderType pType) ShaderManager.CompilationCache.getShaderSource(ResourceLocation pId, ShaderType pType) private static voidShaderManager.loadShader(ResourceLocation pLocation, Resource pShader, ShaderType pType, Map<ResourceLocation, Resource> pShaderResources, ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> pOutput) Constructors in net.minecraft.client.renderer with parameters of type ShaderTypeModifierConstructorDescription(package private)ShaderSourceKey(ResourceLocation id, ShaderType type) Creates an instance of aShaderSourceKeyrecord class. -
Uses of ShaderType in net.neoforged.neoforge.client
Method parameters in net.neoforged.neoforge.client with type arguments of type ShaderTypeModifier and TypeMethodDescriptionstatic GpuDeviceClientHooks.createGpuDevice(long window, int debugLevel, boolean syncDebug, BiFunction<ResourceLocation, ShaderType, String> defaultShaderSource, boolean enableDebugLabels) -
Uses of ShaderType in net.neoforged.neoforge.client.blaze3d.validation
Method parameters in net.neoforged.neoforge.client.blaze3d.validation with type arguments of type ShaderTypeModifier and TypeMethodDescriptionValidationGpuDevice.precompilePipeline(RenderPipeline pipeline, @Nullable BiFunction<ResourceLocation, ShaderType, String> shaderSourceProvider)