Uses of Class
com.raylib.Texture
Packages that use Texture
-
Uses of Texture in com.raylib
Methods in com.raylib that return TextureModifier and TypeMethodDescriptionstatic Texture
Texture.allocateArray
(long elementCount) Allocate an array of Texturestatic Texture
Texture.allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of TextureRenderTexture.depth()
Depth buffer attachment textureTexture.format
(int value) Data format (PixelFormat type)Texture.getArrayElement
(int index) RenderTexture.getDepth()
Depth buffer attachment texturestatic Texture
Raylib.getShapesTexture()
Get texture that is used for shapes drawingstatic Texture
Raylib.getShapesTexture
(Arena arena) Get texture that is used for shapes drawingFont.getTexture()
Texture atlas containing the glyphsMaterialMap.getTexture()
Material map textureRenderTexture.getTexture()
Color buffer attachment textureTexture.height
(int value) Texture base heightTexture.id
(int value) OpenGL texture idstatic Texture
Raylib.loadTexture
(Arena arena, String fileName) Load texture from file into GPU memory (VRAM)static Texture
Raylib.loadTexture
(String fileName) Load texture from file into GPU memory (VRAM)static Texture
Raylib.loadTextureCubemap
(Image image, int layout) Load cubemap from image, multiple image cubemap layouts supportedstatic Texture
Raylib.loadTextureCubemap
(Arena arena, Image image, int layout) Load cubemap from image, multiple image cubemap layouts supportedstatic Texture
Raylib.loadTextureFromImage
(Image image) Load texture from image datastatic Texture
Raylib.loadTextureFromImage
(Arena arena, Image image) Load texture from image dataTexture.mipmaps
(int value) Mipmap levels, 1 by defaultFont.texture()
Texture atlas containing the glyphsMaterialMap.texture()
Material map textureRenderTexture.texture()
Color buffer attachment textureTexture.width
(int value) Texture base widthMethods in com.raylib with parameters of type TextureModifier and TypeMethodDescriptionDepth buffer attachment texturestatic void
Raylib.drawBillboard
(Camera3D camera, Texture texture, Vector3 position, float scale, Color tint) Draw a billboard texturestatic void
Raylib.drawBillboardPro
(Camera3D camera, Texture texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint) Draw a billboard texture defined by source and rotationstatic void
Raylib.drawBillboardRec
(Camera3D camera, Texture texture, Rectangle source, Vector3 position, Vector2 size, Color tint) Draw a billboard texture defined by sourcestatic void
Raylib.drawTexture
(Texture texture, int posX, int posY, Color tint) Draw a Texture2Dstatic void
Raylib.drawTextureEx
(Texture texture, Vector2 position, float rotation, float scale, Color tint) Draw a Texture2D with extended parametersstatic void
Raylib.drawTextureNPatch
(Texture texture, NPatchInfo nPatchInfo, Rectangle dest, Vector2 origin, float rotation, Color tint) Draws a texture (or part of it) that stretches or shrinks nicelystatic void
Raylib.drawTexturePro
(Texture texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint) Draw a part of a texture defined by a rectangle with 'pro' parametersstatic void
Raylib.drawTextureRec
(Texture texture, Rectangle source, Vector2 position, Color tint) Draw a part of a texture defined by a rectanglestatic void
Raylib.drawTextureV
(Texture texture, Vector2 position, Color tint) Draw a Texture2D with position defined as Vector2static void
Raylib.genTextureMipmaps
(Texture texture) Generate GPU mipmaps for a texturestatic boolean
Raylib.isTextureValid
(Texture texture) Check if a texture is valid (loaded in GPU)static Image
Raylib.loadImageFromTexture
(Texture texture) Load image from GPU texture datastatic Image
Raylib.loadImageFromTexture
(Arena arena, Texture texture) Load image from GPU texture datavoid
Depth buffer attachment texturestatic void
Raylib.setMaterialTexture
(Material material, int mapType, Texture texture) Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)static void
Raylib.setShaderValueTexture
(Shader shader, int locIndex, Texture texture) Set shader uniform value for texture (sampler2d)static void
Raylib.setShapesTexture
(Texture texture, Rectangle source) Set texture and rectangle to be used on shapes drawingvoid
Font.setTexture
(Texture value) Texture atlas containing the glyphsvoid
MaterialMap.setTexture
(Texture value) Material map texturevoid
RenderTexture.setTexture
(Texture value) Color buffer attachment texturestatic void
Raylib.setTextureFilter
(Texture texture, int filter) Set texture scaling filter modestatic void
Raylib.setTextureWrap
(Texture texture, int wrap) Set texture wrapping modeTexture atlas containing the glyphsMaterial map textureColor buffer attachment texturestatic void
Raylib.unloadTexture
(Texture texture) Unload texture from GPU memory (VRAM)static void
Raylib.updateTexture
(Texture texture, MemorySegment pixels) Update GPU texture with new datastatic void
Raylib.updateTextureRec
(Texture texture, Rectangle rec, MemorySegment pixels) Update GPU texture rectangle with new dataConstructors in com.raylib with parameters of type TextureModifierConstructorDescriptionFont
(int baseSize, int glyphCount, int glyphPadding, Texture texture, Rectangle recs, GlyphInfo glyphs) Construct with auto memory allocator and fields initialized as specifiedFont
(SegmentAllocator arena, int baseSize, int glyphCount, int glyphPadding, Texture texture, Rectangle recs, GlyphInfo glyphs) Construct with your own memory allocator and fields initialized as specifiedMaterialMap
(Texture texture, Color color, float value) Construct with auto memory allocator and fields initialized as specifiedMaterialMap
(SegmentAllocator arena, Texture texture, Color color, float value) Construct with your own memory allocator and fields initialized as specifiedRenderTexture
(int id, Texture texture, Texture depth) Construct with auto memory allocator and fields initialized as specifiedRenderTexture
(SegmentAllocator arena, int id, Texture texture, Texture depth) Construct with your own memory allocator and fields initialized as specified