Uses of Record Class
com.mojang.renderpearl.api.buffers.GpuBufferSlice
Packages that use GpuBufferSlice
Package
Description
-
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 TypeMethodDescriptionstatic @Nullable GpuBufferSliceRenderSystem.getProjectionMatrixBuffer()static @Nullable GpuBufferSliceRenderSystem.getShaderFog()static @Nullable GpuBufferSliceRenderSystem.getShaderLights()Methods in com.mojang.blaze3d.systems with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionstatic voidRenderSystem.setProjectionMatrix(GpuBufferSlice projectionMatrixBuffer, ProjectionType type) static voidRenderSystem.setShaderFog(GpuBufferSlice fog) static voidRenderSystem.setShaderLights(GpuBufferSlice buffer) -
Uses of GpuBufferSlice in com.mojang.renderpearl.api.buffers
Fields in com.mojang.renderpearl.api.buffers declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSliceGpuBufferSlice.MappedView.sliceThe field for theslicerecord component.Methods in com.mojang.renderpearl.api.buffers 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) default GpuBufferSliceGpuBuffer.slice()default GpuBufferSliceGpuBuffer.slice(long offset, long length) GpuBufferSlice.MappedView.slice()Returns the value of theslicerecord component.GpuBufferSlice.slice(long offset, long length) 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.renderpearl.api.buffers 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) Constructors in com.mojang.renderpearl.api.buffers with parameters of type GpuBufferSliceModifierConstructorDescriptionMappedView(GpuBufferSlice slice, ByteBuffer data, Runnable onClose) Creates an instance of aMappedViewrecord class. -
Uses of GpuBufferSlice in com.mojang.renderpearl.api.commands
Methods in com.mojang.renderpearl.api.commands 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) voidCommandEncoder.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidRenderPass.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidRenderPass.drawIndirect(GpuBufferSlice commands, int drawCount) voidRenderPass.setUniform(String name, GpuBufferSlice value) voidRenderPass.UniformUploader.setUniform(String name, GpuBufferSlice buffer) voidRenderPass.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidCommandEncoder.writeToBuffer(GpuBufferSlice destination, ByteBuffer data) -
Uses of GpuBufferSlice in com.mojang.renderpearl.backend.api
Methods in com.mojang.renderpearl.backend.api with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionvoidCommandEncoderBackend.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.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidRenderPassBackend.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidRenderPassBackend.drawIndirect(GpuBufferSlice commands, int drawCount) voidRenderPassBackend.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidCommandEncoderBackend.writeToBuffer(GpuBufferSlice destination, ByteBuffer data) -
Uses of GpuBufferSlice in com.mojang.renderpearl.backend.opengl
Fields in com.mojang.renderpearl.backend.opengl declared as GpuBufferSliceModifier and TypeFieldDescriptionprotected @Nullable GpuBufferSliceGlRenderPass.pushConstantsprotected final @Nullable GpuBufferSlice[]GlRenderPass.vertexBuffersMethods in com.mojang.renderpearl.backend.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.renderpearl.backend.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.renderpearl.backend.opengl with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionabstract voidVertexArray.bind(@Nullable GpuBufferSlice[] vertexBuffers) voidVertexArray.Emulated.bind(@Nullable GpuBufferSlice[] vertexBuffers) voidVertexArray.Separate.bind(@Nullable GpuBufferSlice[] vertexBuffers) 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.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidGlCommandEncoder.writeToBuffer(GpuBufferSlice slice, ByteBuffer data) -
Uses of GpuBufferSlice in com.mojang.renderpearl.backend.vulkan
Methods in com.mojang.renderpearl.backend.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.renderpearl.backend.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.renderpearl.backend.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.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidVulkanCommandEncoder.writeToBuffer(GpuBufferSlice destination, ByteBuffer data) -
Uses of GpuBufferSlice in com.mojang.renderpearl.frontend
Fields in com.mojang.renderpearl.frontend declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final @Nullable GpuBufferSlice[]FrontendRenderPass.vertexBuffersMethods in com.mojang.renderpearl.frontend with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionvoidFrontendCommandEncoder.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) voidFrontendCommandEncoder.copyToBuffer(GpuBufferSlice source, GpuBufferSlice target) voidFrontendRenderPass.drawIndexedIndirect(GpuBufferSlice commands, int drawCount) voidFrontendRenderPass.drawIndirect(GpuBufferSlice commands, int drawCount) voidFrontendRenderPass.setUniform(String name, GpuBufferSlice value) voidFrontendRenderPass.setVertexBuffer(int slot, @Nullable GpuBufferSlice vertexBuffer) voidFrontendCommandEncoder.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 GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSliceProjectionMatrixBuffer.bufferSliceprivate final @Nullable GpuBufferSliceLevelRenderer.ChunkDrawGroup.indexBufferThe field for theindexBufferrecord component.private final GpuBufferSliceLevelRenderer.ChunkDrawGroup.vertexBufferThe field for thevertexBufferrecord component.Methods in net.minecraft.client.renderer that return GpuBufferSliceModifier and TypeMethodDescriptionProjectionMatrixBuffer.getBuffer(Projection projection) LevelRenderer.ChunkDrawGroup.indexBuffer()Returns the value of theindexBufferrecord component.private GpuBufferSliceWorldBorderRenderer.prepareDynamicTransforms(WorldBorderRenderState state, Vec3 cameraPos) LevelRenderer.ChunkDrawGroup.vertexBuffer()Returns the value of thevertexBufferrecord component.private GpuBufferSliceProjectionMatrixBuffer.writeBuffer(Matrix4f projectionMatrix) DynamicGpuData.writeChunkSectionCommands(List<List<DynamicGpuData.IndexedDraw>> draws) DynamicGpuData.writeChunkSections(DynamicGpuData.ChunkSectionInfo... infos) DynamicGpuData.writeChunkSectionsInstanced(List<DynamicGpuData.ChunkSectionInfo> infos) DynamicGpuDataStorage.writeDataBatched(List<T> dataList) DynamicGpuDataStorageMapped.writeDataBatched(List<T> dataList) DynamicGpuDataStorageNonMapped.writeDataBatched(List<T> dataList) DynamicGpuDataStorage.writeDataBatchedMultiple(List<List<T>> dataLists) DynamicGpuDataStorageMapped.writeDataBatchedMultiple(List<List<T>> dataLists) DynamicGpuDataStorageNonMapped.writeDataBatchedMultiple(List<List<T>> dataLists) DynamicGpuData.writeTerrainTransform(Matrix4fc modelView, int textureAtlasWidth, int textureAtlasHeight) DynamicGpuData.writeTransform(DynamicGpuData.Transform transform) DynamicGpuData.writeTransform(Matrix4f modelView) DynamicGpuData.writeTransform(Matrix4f modelView, Matrix4f textureMatrix) DynamicGpuData.writeTransform(Matrix4f modelView, Vector4f colorModulator) DynamicGpuData.writeTransform(Matrix4f modelView, Vector4f colorModulator, Vector3f modelOffset, Matrix4f textureMatrix) DynamicGpuData.writeTransforms(DynamicGpuData.Transform... transforms) Methods in net.minecraft.client.renderer with parameters of type GpuBufferSliceModifier and TypeMethodDescriptionprivate voidLevelRenderer.addMainPass(FrameGraphBuilder frame, FeatureRenderDispatcher.PreparedFrame featureFrame, GpuBufferSlice terrainFog, ChunkSectionsToRender chunkSectionsToRender, boolean consistentDepthRequired) private voidLevelRenderer.addSkyPass(FrameGraphBuilder frame, CameraRenderState cameraState, GpuBufferSlice skyFog) voidPostPass.addToFrame(FrameGraphBuilder frame, Map<Identifier, ResourceHandle<RenderTarget>> targets, GpuBufferSlice shaderOrthoMatrix) private voidSkyRenderer.drawCelestialBody(Supplier<String> label, RenderPass renderPass, GpuBufferSlice dynamicTransforms, GpuBuffer indexBuffer, GpuBuffer vertexBuffer, int baseVertex) private voidWorldBorderRenderer.prepareRenderPass(RenderPass renderPass, GpuBufferSlice dynamicTransforms, GpuBuffer indexBuffer, AbstractTexture abstractTexture) voidLevelRenderer.render(GraphicsResourceAllocator resourceAllocator, boolean renderOutline, CameraRenderState cameraState, GpuBufferSlice terrainFog, Vector4f fogColor, boolean shouldRenderSky, boolean consistentDepthRequired) voidSkyRenderer.render(GpuBufferSlice skyFog, SkyRenderState state) Constructors in net.minecraft.client.renderer with parameters of type GpuBufferSliceModifierConstructorDescriptionprivateChunkDrawGroup(GpuBufferSlice vertexBuffer, @Nullable GpuBufferSlice indexBuffer, @Nullable IndexType indexType, List<DynamicGpuData.IndexedDraw> draws) Creates an instance of aChunkDrawGrouprecord class. -
Uses of GpuBufferSlice in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as GpuBufferSliceModifier and TypeFieldDescriptionprivate final GpuBufferSliceChunkSectionsToRender.DrawIndirect.chunkSectionInfosprivate final GpuBufferSlice[]ChunkSectionsToRender.DrawSeparate.chunkSectionInfosprivate final @Nullable GpuBufferSliceChunkSectionsToRender.GpuMultiDrawIndexedIndirect.indexBufferThe field for theindexBufferrecord component.private final GpuBufferSliceChunkSectionsToRender.GpuMultiDrawIndexedIndirect.indirectCommandBufferThe field for theindirectCommandBufferrecord component.private final GpuBufferSliceChunkSectionsToRender.terrainTransformUBOprivate final GpuBufferSliceChunkSectionsToRender.GpuMultiDrawIndexedIndirect.vertexBufferThe field for thevertexBufferrecord component.Methods in net.minecraft.client.renderer.chunk that return GpuBufferSliceModifier and TypeMethodDescriptionChunkSectionsToRender.GpuMultiDrawIndexedIndirect.indexBuffer()Returns the value of theindexBufferrecord component.ChunkSectionsToRender.GpuMultiDrawIndexedIndirect.indirectCommandBuffer()Returns the value of theindirectCommandBufferrecord component.ChunkSectionsToRender.GpuMultiDrawIndexedIndirect.vertexBuffer()Returns the value of thevertexBufferrecord component.Constructors in net.minecraft.client.renderer.chunk with parameters of type GpuBufferSliceModifierConstructorDescriptionprivateChunkSectionsToRender(GpuBufferSlice terrainTransformUBO, int maxIndicesRequired) DrawIndirect(GpuBufferSlice terrainTransformUBO, EnumMap<ChunkSectionLayer, List<ChunkSectionsToRender.GpuMultiDrawIndexedIndirect>> drawGroupsPerLayer, int maxIndicesRequired, GpuBufferSlice chunkSectionInfos) DrawSeparate(GpuBufferSlice terrainTransformUBO, Map<ChunkSectionLayer, List<RenderPass.Draw<GpuBufferSlice[]>>> drawsPerLayer, int maxIndicesRequired, GpuBufferSlice[] chunkSectionInfos) GpuMultiDrawIndexedIndirect(GpuBufferSlice vertexBuffer, @Nullable GpuBufferSlice indexBuffer, @Nullable IndexType indexType, GpuBufferSlice indirectCommandBuffer, int drawCount) Creates an instance of aGpuMultiDrawIndexedIndirectrecord 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(String name, RenderPipeline pipeline, @Nullable OitPipelineSet oitPipelineSet, 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) -
Uses of GpuBufferSlice in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type GpuBufferSliceModifier and TypeMethodDescriptiondefault booleanCustomSkyboxRenderer.renderSky(LevelRenderState levelRenderState, SkyRenderState skyRenderState, Matrix4fc modelViewMatrix, GpuBufferSlice skyFog) Renders the sky of this dimension.