AllocateMemory Method (TextureBase)
In This Topic
Allocates memory for a texture.
Syntax
Parameters
- context
- The render context
- renderTarget
- In true, the texture is used as a render target
- width
- The texture width
- height
- The texture height
- minFilter
- The minification filter
- magFilter
- The magnification filter
- repeatS
- If true the texture is repeated in the S direction, else it is clamped
- repeatT
- If true the texture is repeated in the T direction, else it is clamped
- pixels
- The pixels data pointer. If not null, they are copied to the texture memory.
- multisample
See Also