Uses of Record Class
com.mojang.blaze3d.buffers.GpuBufferSlice
Packages that use GpuBufferSlice
Package
Description
-
Uses of GpuBufferSlice in com.mojang.blaze3d.buffers
Fields in com.mojang.blaze3d.buffers declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSliceGpuBuffer.defaultSliceprivate final GpuBufferSliceGpuBufferSlice.MappedView.sliceThe field for theslicerecord component.Methods in com.mojang.blaze3d.buffers that return GpuBufferSliceModifier and TypeMethodDescriptionGpuBuffer.slice()GpuBuffer.slice(long offset, long length) GpuBufferSlice.MappedView.slice()Returns the value of theslicerecord component.GpuBufferSlice.slice(long offset, long length) Constructors in com.mojang.blaze3d.buffers with parameters of type GpuBufferSliceModifierConstructorDescriptionMappedView(GpuBufferSlice slice, ByteBuffer data, Runnable onClose) Creates an instance of aMappedViewrecord class. -
Uses of GpuBufferSlice in com.mojang.blaze3d.opengl
Fields in com.mojang.blaze3d.opengl declared as GpuBufferSliceModifier and TypeFieldDescriptionprotected final @Nullable GpuBufferSlice[]GlRenderPass.vertexBuffersFields in com.mojang.blaze3d.opengl with type parameters of type GpuBufferSliceModifier and TypeFieldDescriptionprotected final HashMap<String, GpuBufferSlice> GlRenderPass.uniformsMethods in com.mojang.blaze3d.opengl that return GpuBufferSliceModifier and TypeMethodDescriptionGlTransientMemory.Fallback.allocateGpu(long size, long alignment, int usage, long minimumAllocation, long elementSize) GlTransientMemory.PersistentMapping.allocateGpu(long size, long alignment, int usage, long minimumAllocation, long elementSize) GlTransientMemory.TransientGpuBuffer.slice()GlTransientMemory.TransientGpuBuffer.slice(long offset, long length) GlTransientMemory.PersistentMapping.upload(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize, boolean staging) GlTransientMemory.Fallback.uploadGpu(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) GlTransientMemory.PersistentMapping.uploadGpu(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) GlTransientMemory.Fallback.uploadStaging(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) GlTransientMemory.PersistentMapping.uploadStaging(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) Methods in com.mojang.blaze3d.opengl that return types with arguments of type GpuBufferSliceModifier and TypeMethodDescriptionGlTransientMemory.PersistentMapping.multiUpload(List<ByteBuffer> data, long alignment, int usage, boolean staging) GlTransientMemory.Fallback.multiUploadGpu(List<ByteBuffer> data, long alignment, int usage) GlTransientMemory.PersistentMapping.multiUploadGpu(List<ByteBuffer> data, long alignment, int usage) GlTransientMemory.Fallback.multiUploadStaging(List<ByteBuffer> data, long alignment, int usage) GlTransientMemory.PersistentMapping.multiUploadStaging(List<ByteBuffer> data, long alignment, int usage) Methods in com.mojang.blaze3d.opengl with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionabstract VertexArrayCache.VertexArrayVertexArrayCache.bindVertexArray(@Nullable VertexFormat[] vertexBindings, @Nullable GpuBufferSlice[] vertexBuffers, @Nullable VertexArrayCache.VertexArray lastBoundVertexArray) VertexArrayCache.Emulated.bindVertexArray(VertexFormat[] vertexBindings, GpuBufferSlice[] vertexBuffers, VertexArrayCache.VertexArray lastBoundVertexArray) VertexArrayCache.Separate.bindVertexArray(VertexFormat[] vertexBindings, GpuBufferSlice[] vertexBuffers, VertexArrayCache.VertexArray lastBoundVertexArray) voidGlCommandEncoder.copyBufferToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture destination, int destinationX, int destinationY, int copyWidth, int copyHeight, int mipLevel, int arrayLayer) voidGlCommandEncoder.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidGlRenderPass.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidGlRenderPass.drawIndirect(GpuBufferSlice commands, int drawCount) voidGlRenderPass.setUniform(String name, GpuBufferSlice value) private static voidVertexArrayCache.Emulated.setupCombinedAttributes(@Nullable VertexFormat[] vertexBindings, boolean enable, @Nullable GpuBufferSlice[] vertexBuffers) voidGlRenderPass.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidGlCommandEncoder.writeToBuffer(GpuBufferSlice slice, ByteBuffer data) -
Uses of GpuBufferSlice in com.mojang.blaze3d.systems
Fields in com.mojang.blaze3d.systems declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate static @Nullable GpuBufferSliceRenderSystem.projectionMatrixBufferprivate static @Nullable GpuBufferSliceRenderSystem.savedProjectionMatrixBufferprivate static @Nullable GpuBufferSliceRenderSystem.shaderFogprivate static @Nullable GpuBufferSliceRenderSystem.shaderLightDirectionsMethods in com.mojang.blaze3d.systems that return GpuBufferSliceModifier and TypeMethodDescriptiondefault GpuBufferSliceTransientMemory.allocateGpu(long size, long alignment, int usage) TransientMemory.allocateGpu(long size, long alignment, int usage, long minimumAllocation, long elementSize) static @Nullable GpuBufferSliceRenderSystem.getProjectionMatrixBuffer()static @Nullable GpuBufferSliceRenderSystem.getShaderFog()static @Nullable GpuBufferSliceRenderSystem.getShaderLights()default GpuBufferSliceTransientMemory.uploadGpu(ByteBuffer data, long alignment, int usage) default GpuBufferSliceTransientMemory.uploadGpu(ByteBuffer data, long alignment, int usage, long minimumAllocation, long elementSize) default GpuBufferSliceTransientMemory.uploadGpu(List<ByteBuffer> data, long alignment, int usage) TransientMemory.uploadGpu(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) default GpuBufferSliceTransientMemory.uploadStaging(ByteBuffer data, long alignment, int usage) default GpuBufferSliceTransientMemory.uploadStaging(ByteBuffer data, long alignment, int usage, long minimumAllocation, long elementSize) default GpuBufferSliceTransientMemory.uploadStaging(List<ByteBuffer> data, long alignment, int usage) TransientMemory.uploadStaging(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) Methods in com.mojang.blaze3d.systems that return types with arguments of type GpuBufferSliceModifier and TypeMethodDescriptionTransientMemory.multiUploadGpu(List<ByteBuffer> data, long alignment, int usage) TransientMemory.multiUploadStaging(List<ByteBuffer> data, long alignment, int usage) Methods in com.mojang.blaze3d.systems with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionvoidCommandEncoder.copyBufferToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture destination, int destinationX, int destinationY, int copyWidth, int copyHeight, int mipLevel, int arrayLayer) voidCommandEncoderBackend.copyBufferToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture destination, int destinationX, int destinationY, int copyWidth, int copyHeight, int mipLevel, int arrayLayer) voidCommandEncoder.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidCommandEncoderBackend.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidRenderPass.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidRenderPassBackend.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidRenderPass.drawIndirect(GpuBufferSlice commands, int drawCount) voidRenderPassBackend.drawIndirect(GpuBufferSlice commands, int drawCount) static voidRenderSystem.setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType type) static voidRenderSystem.setShaderFog(GpuBufferSlice fog) static voidRenderSystem.setShaderLights(GpuBufferSlice buffer) voidRenderPass.setUniform(String name, GpuBufferSlice value) voidRenderPassBackend.setUniform(String name, GpuBufferSlice value) voidRenderPass.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidRenderPassBackend.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidRenderPass.UniformUploader.upload(String name, GpuBufferSlice buffer) voidCommandEncoder.writeToBuffer(GpuBufferSlice destination, ByteBuffer data) voidCommandEncoderBackend.writeToBuffer(GpuBufferSlice destination, ByteBuffer data) -
Uses of GpuBufferSlice in com.mojang.blaze3d.vulkan
Fields in com.mojang.blaze3d.vulkan with type parameters of type GpuBufferSliceModifier and TypeFieldDescriptionprotected final HashMap<String, GpuBufferSlice> VulkanRenderPass.uniformsMethods in com.mojang.blaze3d.vulkan that return GpuBufferSliceModifier and TypeMethodDescriptionVulkanTransientMemory.allocateGpu(long size, long alignment, int usage, long minimumAllocation, long elementSize) VulkanTransientMemory.TransientGpuBuffer.slice()VulkanTransientMemory.TransientGpuBuffer.slice(long offset, long length) VulkanTransientMemory.upload(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize, boolean staging) VulkanTransientMemory.uploadGpu(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) VulkanTransientMemory.uploadStaging(List<ByteBuffer> data, long alignment, int usage, long minimumAllocation, long elementSize) Methods in com.mojang.blaze3d.vulkan that return types with arguments of type GpuBufferSliceModifier and TypeMethodDescriptionVulkanTransientMemory.multiUpload(List<ByteBuffer> data, long alignment, int usage, boolean staging) VulkanTransientMemory.multiUploadGpu(List<ByteBuffer> data, long alignment, int usage) VulkanTransientMemory.multiUploadStaging(List<ByteBuffer> data, long alignment, int usage) Methods in com.mojang.blaze3d.vulkan with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionvoidVulkanCommandEncoder.copyBufferToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture destination, int destinationX, int destinationY, int copyWidth, int copyHeight, int mipLevel, int arrayLayer) voidVulkanCommandEncoder.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidVulkanRenderPass.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidVulkanRenderPass.drawIndirect(GpuBufferSlice commands, int drawCount) voidVulkanRenderPass.setUniform(String name, GpuBufferSlice value) voidVulkanRenderPass.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidVulkanCommandEncoder.writeToBuffer(GpuBufferSlice destination, ByteBuffer data) -
Uses of GpuBufferSlice in net.minecraft.client.gui.render
Methods in net.minecraft.client.gui.render with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionprivate voidGuiRenderer.executeDrawRange(Supplier<String> label, RenderTarget mainRenderTarget, GpuBufferSlice dynamicTransforms, int startIndex, int endIndex) -
Uses of GpuBufferSlice in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as GpuBufferSliceMethods in net.minecraft.client.renderer that return GpuBufferSliceModifier and TypeMethodDescriptionProjectionMatrixBuffer.getBuffer(Projection projection) private GpuBufferSliceProjectionMatrixBuffer.writeBuffer(Matrix4f projectionMatrix) DynamicUniforms.writeChunkSections(DynamicUniforms.ChunkSectionInfo... infos) DynamicUniforms.writeTransform(DynamicUniforms.Transform uniform) DynamicUniforms.writeTransform(Matrix4f modelView) DynamicUniforms.writeTransform(Matrix4f modelView, Matrix4f textureMatrix) DynamicUniforms.writeTransform(Matrix4f modelView, Vector4f colorModulator) DynamicUniforms.writeTransform(Matrix4f modelView, Vector4f colorModulator, Vector3f modelOffset, Matrix4f textureMatrix) DynamicUniforms.writeTransforms(DynamicUniforms.Transform... transforms) DynamicUniformStorage.writeUniform(T uniform) DynamicUniformStorage.writeUniforms(T[] uniforms) Methods in net.minecraft.client.renderer with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionprivate voidLevelRenderer.addAlwaysOnTopPass(FrameGraphBuilder frame, FeatureRenderDispatcher.PreparedFrame featureFrame, GpuBufferSlice fog) private voidLevelRenderer.addMainPass(FrameGraphBuilder frame, FeatureRenderDispatcher.PreparedFrame featureFrame, GpuBufferSlice terrainFog, LevelRenderState levelRenderState, ProfilerFiller profiler, ChunkSectionsToRender chunkSectionsToRender) Deprecated.private voidLevelRenderer.addMainPass(FrameGraphBuilder frame, FeatureRenderDispatcher.PreparedFrame featureFrame, GpuBufferSlice terrainFog, LevelRenderState levelRenderState, ProfilerFiller profiler, ChunkSectionsToRender chunkSectionsToRender, Matrix4fc modelViewMatrix) private voidLevelRenderer.addSkyPass(FrameGraphBuilder frame, CameraRenderState cameraState, GpuBufferSlice skyFog) Deprecated.private voidLevelRenderer.addSkyPass(FrameGraphBuilder frame, CameraRenderState cameraState, GpuBufferSlice skyFog, Matrix4fc modelViewMatrix) voidPostPass.addToFrame(FrameGraphBuilder frame, Map<Identifier, ResourceHandle<RenderTarget>> targets, GpuBufferSlice shaderOrthoMatrix) private voidLevelRenderer.addWeatherPass(FrameGraphBuilder frame, GpuBufferSlice fog) Deprecated.private voidLevelRenderer.addWeatherPass(FrameGraphBuilder frame, GpuBufferSlice fog, Matrix4fc modelViewMatrix) voidLevelRenderer.render(GraphicsResourceAllocator resourceAllocator, DeltaTracker deltaTracker, boolean renderOutline, CameraRenderState cameraState, Matrix4fc modelViewMatrix, GpuBufferSlice terrainFog, Vector4f fogColor, boolean shouldRenderSky) -
Uses of GpuBufferSlice in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSlice[]ChunkSectionsToRender.chunkSectionInfosThe field for thechunkSectionInfosrecord component.Methods in net.minecraft.client.renderer.chunk that return GpuBufferSliceModifier and TypeMethodDescriptionChunkSectionsToRender.chunkSectionInfos()Returns the value of thechunkSectionInfosrecord component.Constructors in net.minecraft.client.renderer.chunk with parameters of type GpuBufferSliceModifierConstructorDescriptionChunkSectionsToRender(GpuTextureView textureView, EnumMap<ChunkSectionLayer, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<List<RenderPass.Draw<GpuBufferSlice[]>>>> drawGroupsPerLayer, int maxIndicesRequired, GpuBufferSlice[] chunkSectionInfos) Creates an instance of aChunkSectionsToRenderrecord class. -
Uses of GpuBufferSlice in net.minecraft.client.renderer.feature
Fields in net.minecraft.client.renderer.feature declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate @Nullable GpuBufferSliceQuadParticleFeatureRenderer.dynamicTransforms -
Uses of GpuBufferSlice in net.minecraft.client.renderer.fog
Methods in net.minecraft.client.renderer.fog that return GpuBufferSlice -
Uses of GpuBufferSlice in net.minecraft.client.renderer.rendertype
Fields in net.minecraft.client.renderer.rendertype declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSlicePreparedRenderType.dynamicTransformsThe field for thedynamicTransformsrecord component.Methods in net.minecraft.client.renderer.rendertype that return GpuBufferSliceModifier and TypeMethodDescriptionPreparedRenderType.dynamicTransforms()Returns the value of thedynamicTransformsrecord component.private GpuBufferSliceRenderType.writeDynamicTransforms(Matrix4f modelViewMatrix) Constructors in net.minecraft.client.renderer.rendertype with parameters of type GpuBufferSliceModifierConstructorDescriptionPreparedRenderType(RenderPipeline pipeline, OutputTarget outputTarget, GpuBufferSlice dynamicTransforms, ScissorState scissorState, List<PreparedRenderType.Texture> textures) Creates an instance of aPreparedRenderTyperecord class. -
Uses of GpuBufferSlice in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSlice[]SpriteContents.AnimationState.spriteUbosByMipMethods in net.minecraft.client.renderer.texture that return GpuBufferSliceMethods in net.minecraft.client.renderer.texture with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionSpriteContents.AnimatedTexture.createAnimationState(GpuBufferSlice uboSlice, int spriteUboSize) SpriteContents.createAnimationState(GpuBufferSlice uboSlice, int spriteUboSize) TextureAtlasSprite.createAnimationState(GpuBufferSlice uboSlice, int spriteUboSize) voidSpriteContents.AnimationState.drawToAtlas(RenderPass renderPass, GpuBufferSlice ubo) Constructors in net.minecraft.client.renderer.texture with parameters of type GpuBufferSliceModifierConstructorDescriptionprivateAnimationState(SpriteContents.AnimatedTexture animationInfo, it.unimi.dsi.fastutil.ints.Int2ObjectMap<GpuTextureView> frameTexturesByIndex, GpuBufferSlice[] spriteUbosByMip)
LevelRenderer.addMainPass(FrameGraphBuilder, FeatureRenderDispatcher.PreparedFrame, GpuBufferSlice, LevelRenderState, ProfilerFiller, ChunkSectionsToRender, Matrix4fc)instead