TextureTemplate2D Constructor |
Initializes a 2D texture template with no mipmapping.
Namespace:
AGI.Foundation.Graphics.Renderer
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public TextureTemplate2D(
InternalTextureFormat internalFormat,
int width,
int height
)
Public Sub New (
internalFormat As InternalTextureFormat,
width As Integer,
height As Integer
)
public:
TextureTemplate2D(
InternalTextureFormat internalFormat,
int width,
int height
)
new :
internalFormat : InternalTextureFormat *
width : int *
height : int -> TextureTemplate2D
Parameters
- internalFormat
- Type: AGI.Foundation.Graphics.RendererInternalTextureFormat
The InternalFormat of the texture. - width
- Type: SystemInt32
The width of the texture in texels. - height
- Type: SystemInt32
The height of the texture in texels.
See Also