The TextureUtils type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Copy32BitTexToArray |
Copy texture pixels to an array.
|
![]() ![]() | CopyBitmapToTexture |
Copies all pixels of the bitmap into the texture.
no checks are done, make sure the pixel count of the bitmap and texture matches
|
![]() ![]() | CreateColoredTexture |
Create a texture of width
and height on device
and fill it with argbColor.
|
![]() ![]() | CreateTexture |
Create a texture of width
and height on device.
|
![]() ![]() | CreateTextureNoAlpha |
Create a texture without an alpha channel of width
and height on device.
|
![]() ![]() | Fill32BitTex(Texture, array<UInt32>[]()[][], TextureFillFunction) |
Fill a 32 bit texture with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTex<(Of <<'(TMetadata>)>>)(Texture, array<UInt32>[]()[][], TMetadata, TextureFillFunction<(Of <<'(TMetadata>)>>)) |
Fill a 32 bit texture with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTexInPlace(Texture, TextureFillFunctionInPlace) |
Fill a 32 bit texture in place with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTexInPlace<(Of <<'(TMetadata>)>>)(Texture, TMetadata, TextureFillFunctionInPlace<(Of <<'(TMetadata>)>>)) |
Fill a 32 bit texture in place with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTexInPlaceParallel(Texture, TextureFillFunctionInPlace) |
Fill a 32 bit texture parallel in place with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTexInPlaceParallel<(Of <<'(TMetadata>)>>)(Texture, TMetadata, TextureFillFunctionInPlace<(Of <<'(TMetadata>)>>)) |
Fill a 32 bit texture parallel in place with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTexParallel(Texture, array<UInt32>[]()[][], TextureFillFunction) |
Fill a 32 bit texture in parallel with values retrieved from the function fillFunc.
|
![]() ![]() | Fill32BitTexParallel<(Of <<'(TMetadata>)>>)(Texture, array<UInt32>[]()[][], TMetadata, TextureFillFunction<(Of <<'(TMetadata>)>>)) |
Fill a 32 bit texture in parallel with values retrieved from the function fillFunc.
|
![]() ![]() | GetArrayVal2D |
Retrievies the value at position row, col
from a data array of width width.
|
![]() ![]() | GetPtrVal2D |
Retrievies the value at position row, col
from a data buffer of width width.
|
![]() ![]() | SetArrayVal2D |
Sets the value at position row, col in a data array of
width width.
|
![]() ![]() | SetPtrVal2D |
Sets the value at position row, col
in a data buffer of width width.
|