Click or drag to resize

TextureCreate3D Method

Creates a new 3D texture.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Texture Create3D(
	int width,
	int height,
	int depth,
	bool hasMips,
	TextureFormat format,
	TextureFlags flags = TextureFlags.None,
	MemoryBlock? memory = null
)

Parameters

width  Int32
The width of the texture.
height  Int32
The height of the texture.
depth  Int32
The depth of the texture.
hasMips  Boolean
Indicates that texture contains full mip-map chain.
format  TextureFormat
The format of the texture data.
flags  TextureFlags  (Optional)
Flags that control texture behavior.
memory  NullableMemoryBlock  (Optional)
If not null, contains the texture's image data.

Return Value

Texture
The newly created texture handle.
See Also