RenderContextBase.CreateTexture2D (Size, Boolean, textureFilteringFunctionType, textureFilteringFunctionType) Method
Public MustOverride Function CreateTexture2D( _
ByVal size As Size, _
ByVal depthTexture As Boolean, _
Optional ByVal minFilterFunc As textureFilteringFunctionType = textureFilteringFunctionType.Nearest, _
Optional ByVal magFilterFunc As textureFilteringFunctionType = textureFilteringFunctionType.Nearest _
) As TextureBase
This language is not supported or no code example is available.
public abstract TextureBase CreateTexture2D(
Size size,
bool depthTexture,
textureFilteringFunctionType minFilterFunc = textureFilteringFunctionType.Nearest,
textureFilteringFunctionType magFilterFunc = textureFilteringFunctionType.Nearest
)
This language is not supported or no code example is available.
Parameters
- size
- Size
The size of the texture
- depthTexture
- bool
If true, it's a depth texture
- minFilterFunc
- textureFilteringFunctionType
The minification filtering function
- magFilterFunc
- textureFilteringFunctionType
The magnification filtering function