Property | Type | Description | |
---|---|---|---|
DiscardContents | void | ||
GetColorBuffer | void | ||
GetDepthBuffer | void | ||
GetTemporary | |||
GetTemporary | |||
GetTemporary | |||
GetTemporary | |||
GetTemporary | |||
GetTexelOffset | |||
INTERNAL_CALL_Create | bool | ||
INTERNAL_CALL_DiscardContents | void | ||
INTERNAL_CALL_GenerateMips | void | ||
INTERNAL_CALL_GetNativeDepthBufferPtr | void | ||
INTERNAL_CALL_IsCreated | bool | ||
INTERNAL_CALL_MarkRestoreExpected | void | ||
INTERNAL_CALL_Release | void | ||
Internal_CreateRenderTexture | void | ||
Internal_GetDimension | TextureDimension | ||
Internal_GetHeight | int | ||
Internal_GetWidth | int | ||
Internal_SetDimension | void | ||
Internal_SetHeight | void | ||
Internal_SetSRGBReadWrite | void | ||
Internal_SetWidth | void | ||
ReleaseTemporary | void | ||
SetBorderColor | void | ||
SetGlobalShaderProperty | void | ||
SupportsStencil | bool |
Method | Description | |
---|---|---|
Create ( ) : bool |
Actually creates the RenderTexture.
|
|
DiscardContents ( ) : void |
Discards the contents of the RenderTexture.
|
|
GenerateMips ( ) : void |
Generate mipmap levels of a render texture.
|
|
GetNativeDepthBufferPtr ( ) : IntPtr |
Retrieve a native (underlying graphics API) pointer to the depth buffer resource.
|
|
IsCreated ( ) : bool |
Is the render texture actually created?
|
|
MarkRestoreExpected ( ) : void |
Indicate that there's a RenderTexture restore operation expected.
|
|
Release ( ) : void |
Releases the RenderTexture.
|
|
RenderTexture ( int width, int height, int depth ) : System |
Creates a new RenderTexture object.
|
|
RenderTexture ( int width, int height, int depth, RenderTextureFormat format ) : System |
Creates a new RenderTexture object.
|
|
RenderTexture ( int width, int height, int depth, RenderTextureFormat format, RenderTextureReadWrite readWrite ) : System |
Creates a new RenderTexture object.
|
Method | Description | |
---|---|---|
DiscardContents ( bool discardColor, bool discardDepth ) : void | ||
GetColorBuffer ( |
||
GetDepthBuffer ( |
||
GetTemporary ( int width, int height ) : |
||
GetTemporary ( int width, int height, [ depthBuffer, [ format, [ readWrite, [ antiAliasing ) : |
||
GetTemporary ( int width, int height, int depthBuffer ) : |
||
GetTemporary ( int width, int height, int depthBuffer, RenderTextureFormat format ) : |
||
GetTemporary ( int width, int height, int depthBuffer, RenderTextureFormat format, RenderTextureReadWrite readWrite ) : |
||
GetTexelOffset ( ) : |
||
INTERNAL_CALL_Create ( |
||
INTERNAL_CALL_DiscardContents ( |
||
INTERNAL_CALL_GenerateMips ( |
||
INTERNAL_CALL_GetNativeDepthBufferPtr ( |
||
INTERNAL_CALL_IsCreated ( |
||
INTERNAL_CALL_MarkRestoreExpected ( |
||
INTERNAL_CALL_Release ( |
||
Internal_CreateRenderTexture ( [ rt ) : void | ||
Internal_GetDimension ( |
||
Internal_GetHeight ( |
||
Internal_GetWidth ( |
||
Internal_SetDimension ( |
||
Internal_SetHeight ( |
||
Internal_SetSRGBReadWrite ( |
||
Internal_SetWidth ( |
||
ReleaseTemporary ( |
||
SetBorderColor ( |
||
SetGlobalShaderProperty ( string propertyName ) : void | ||
SupportsStencil ( |
public RenderTexture ( int width, int height, int depth ) : System | ||
width | int | Texture width in pixels. |
height | int | Texture height in pixels. |
depth | int | Number of bits in depth buffer (0, 16 or 24). Note that only 24 bit depth has stencil buffer. |
return | System |
public RenderTexture ( int width, int height, int depth, RenderTextureFormat format ) : System | ||
width | int | Texture width in pixels. |
height | int | Texture height in pixels. |
depth | int | Number of bits in depth buffer (0, 16 or 24). Note that only 24 bit depth has stencil buffer. |
format | RenderTextureFormat | Texture color format. |
return | System |
public RenderTexture ( int width, int height, int depth, RenderTextureFormat format, RenderTextureReadWrite readWrite ) : System | ||
width | int | Texture width in pixels. |
height | int | Texture height in pixels. |
depth | int | Number of bits in depth buffer (0, 16 or 24). Note that only 24 bit depth has stencil buffer. |
format | RenderTextureFormat | Texture color format. |
readWrite | RenderTextureReadWrite | How or if color space conversions should be done on texture read/write. |
return | System |