GraphicsBuffer
UnityObjectLink
GraphicsBuffer

class:/TYPE/UnityEngine.GraphicsBuffer//, can be loaded from an assetbundle using GraphicsBuffer::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
count
readonly System.Int32 count
graphicsbuffer::​target::​append
static readonly graphicsbuffer::target::append

enum constant number 6

graphicsbuffer::​target::​constant
static readonly graphicsbuffer::target::constant

enum constant number 9

graphicsbuffer::​target::​copydestination
static readonly graphicsbuffer::target::copydestination

enum constant number 3

graphicsbuffer::​target::​copysource
static readonly graphicsbuffer::target::copysource

enum constant number 2

graphicsbuffer::​target::​counter
static readonly graphicsbuffer::target::counter

enum constant number 7

graphicsbuffer::​target::​index
static readonly graphicsbuffer::target::index

enum constant number 1

graphicsbuffer::​target::​indirectarguments
static readonly graphicsbuffer::target::indirectarguments

enum constant number 8

graphicsbuffer::​target::​raw
static readonly graphicsbuffer::target::raw

enum constant number 5

graphicsbuffer::​target::​structured
static readonly graphicsbuffer::target::structured

enum constant number 4

graphicsbuffer::​target::​vertex
static readonly graphicsbuffer::target::vertex

enum constant number 0

name
System.String name
stride
readonly System.Int32 stride
target
readonly UnityEngine.GraphicsBuffer.Target target
Functions
dispose
System.Void Dispose()
Returns

System.Void

getnativebufferptr
System.IntPtr GetNativeBufferPtr()
Returns

System.IntPtr

graphicsbuffer::​copycount
static System.Void CopyCount(
UnityEngine.ComputeBuffer src,
UnityEngine.GraphicsBuffer dst,
System.Int32 dstOffsetBytes
)

UnityEngine.ComputeBuffer src-no documentation

Parameters
src
UnityEngine.ComputeBuffer

no documentation

dst
UnityEngine.GraphicsBuffer

no documentation dstOffsetBytes -

Returns

System.Void

graphicsbuffer::​copycount
static System.Void CopyCount(
UnityEngine.ComputeBuffer src,
UnityEngine.ComputeBuffer dst,
System.Int32 dstOffsetBytes
)

UnityEngine.ComputeBuffer src-no documentation

Parameters
src
UnityEngine.ComputeBuffer

no documentation

dst
UnityEngine.ComputeBuffer

no documentation dstOffsetBytes -

Returns

System.Void

graphicsbuffer::​copycount
static System.Void CopyCount(
UnityEngine.GraphicsBuffer src,
UnityEngine.ComputeBuffer dst,
System.Int32 dstOffsetBytes
)

UnityEngine.GraphicsBuffer src-no documentation

Parameters
src
UnityEngine.GraphicsBuffer

no documentation

dst
UnityEngine.ComputeBuffer

no documentation dstOffsetBytes -

Returns

System.Void

graphicsbuffer::​copycount
static System.Void CopyCount(
UnityEngine.GraphicsBuffer src,
UnityEngine.GraphicsBuffer dst,
System.Int32 dstOffsetBytes
)

UnityEngine.GraphicsBuffer src-no documentation

Parameters
src
UnityEngine.GraphicsBuffer

no documentation

dst
UnityEngine.GraphicsBuffer

no documentation dstOffsetBytes -

Returns

System.Void

graphicsbuffer::​create
static UnityEngine.GraphicsBuffer Create (
UnityEngine.GraphicsBuffer.Target target,
System.Int32 count,
System.Int32 stride
)

Constructor replaces new;

Parameters
target
UnityEngine.GraphicsBuffer.Target

no description

count
System.Int32

no description

stride
System.Int32

no description

Returns

UnityEngine.GraphicsBuffer

graphicsbuffer::​fromassetbundle
static UnityEngine.GraphicsBuffer CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.GraphicsBuffer

graphicsbuffer::​target::​count
static System.Int32 GetEnumCount()

no documentation

Returns

System.Int32

graphicsbuffer::​target::​enumtoint
static System.Int32 EnumToInt(
UnityEngine.GraphicsBuffer+Target enum
)

no documentation

Parameters
enum
UnityEngine.GraphicsBuffer Target

an enum of type GraphicsBuffer::Target

Returns

System.Int32

graphicsbuffer::​target::​inttoenum
static UnityEngine.GraphicsBuffer+Target IntToEnum(
System.Int32 enumnumber
)

no documentation

Parameters
enumnumber
System.Int32

an int lower than UnityEngine::GraphicsBuffer::Target::Count()

Returns

UnityEngine.GraphicsBuffer+Target

isvalid
System.Boolean IsValid()
Returns

System.Boolean

release
System.Void Release()
Returns

System.Void

setcountervalue
System.Void SetCounterValue(
System.UInt32 counterValue
)

System.UInt32 counterValue-no documentation

Parameters

counterValue -

Returns

System.Void